ms: Fix GprsMs::current_cs_dl()
Currently the queue length is overwritten by the remaining chunk length, which should be added instead. This may result in a lower CS/MCS value than expected. Add the chunk length instead if the TBF is present. Sponsored-by: On-Waves ehf
This commit is contained in:
parent
2d2efb13e7
commit
14e26cbca3
|
@ -706,7 +706,7 @@ GprsCodingScheme GprsMs::current_cs_dl() const
|
|||
|
||||
/* If the DL TBF is active, add number of unencoded chunk octets */
|
||||
if (m_dl_tbf)
|
||||
unencoded_octets = m_dl_tbf->m_llc.chunk_size();
|
||||
unencoded_octets += m_dl_tbf->m_llc.chunk_size();
|
||||
|
||||
/* There are many unencoded octets, don't reduce */
|
||||
if (unencoded_octets >= m_bts->bts_data()->cs_downgrade_threshold)
|
||||
|
|
Loading…
Reference in New Issue