dl tbf: calculate CPS only for EGPRS
Patch-by: Aravind Sirsikar <Arvind.Sirsikar@radisys.com> Change-Id: I81b8e1d10bfe9efba3a9f04bced66f87d93285dd
This commit is contained in:
parent
78ce59137f
commit
49b83ec3a3
|
@ -762,8 +762,11 @@ struct msgb *gprs_rlcmac_dl_tbf::create_dl_acked_block(
|
||||||
msg_data, block_data);
|
msg_data, block_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Calculate CPS only for EGPRS case */
|
||||||
|
if (cs.isEgprs()) {
|
||||||
OSMO_ASSERT(ARRAY_SIZE(punct) >= 2);
|
OSMO_ASSERT(ARRAY_SIZE(punct) >= 2);
|
||||||
rlc.cps = gprs_rlc_mcs_cps(cs, punct[0], punct[1], need_padding);
|
rlc.cps = gprs_rlc_mcs_cps(cs, punct[0], punct[1], need_padding);
|
||||||
|
}
|
||||||
|
|
||||||
/* If the TBF has just started, relate frames_since_last_poll to the
|
/* If the TBF has just started, relate frames_since_last_poll to the
|
||||||
* current fn */
|
* current fn */
|
||||||
|
|
Loading…
Reference in New Issue