diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-11 17:42:33 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-11 17:42:35 +0200 |
commit | e080808cfa64578fce183f034f453598c804314c (patch) | |
tree | 48ccfa7499d641cae220a2b8eba697b00b5e659c | |
parent | b5bad2073127c0d6cbbd089b2107ec2e2d9b2a0d (diff) |
sched: Rename function
Properly describe that function is aimed at selecting a DL data block.
Change-Id: Ic0680d15edf70449e66f40eab1ead97313631cbb
-rw-r--r-- | src/gprs_rlcmac_sched.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp index 405b7dbd..cdbf70dc 100644 --- a/src/gprs_rlcmac_sched.cpp +++ b/src/gprs_rlcmac_sched.cpp @@ -282,8 +282,9 @@ static bool can_produce_gmsk_data_block_next(struct gprs_rlcmac_dl_tbf *tbf, enu } } -static struct msgb *sched_select_downlink(struct gprs_rlcmac_bts *bts, struct gprs_rlcmac_pdch *pdch, uint32_t fn, - uint8_t block_nr, enum mcs_kind req_mcs_kind, bool *is_egprs) +static struct msgb *sched_select_dl_data_msg(struct gprs_rlcmac_bts *bts, struct gprs_rlcmac_pdch *pdch, + uint32_t fn, uint8_t block_nr, enum mcs_kind req_mcs_kind, + bool *is_egprs) { struct msgb *msg = NULL; struct gprs_rlcmac_dl_tbf *tbf, *prio_tbf = NULL; @@ -480,7 +481,7 @@ int gprs_rlcmac_rcv_rts_block(struct gprs_rlcmac_bts *bts, gsmtap_cat = PCU_GSMTAP_C_DL_CTRL; } /* Prio 2: select data message for downlink */ - else if((msg = sched_select_downlink(bts, pdch, fn, block_nr, req_mcs_kind, &tx_is_egprs))) { + else if((msg = sched_select_dl_data_msg(bts, pdch, fn, block_nr, req_mcs_kind, &tx_is_egprs))) { gsmtap_cat = tx_is_egprs ? PCU_GSMTAP_C_DL_DATA_EGPRS : PCU_GSMTAP_C_DL_DATA_GPRS; } |