mirror of https://github.com/PentHertz/srsLTE.git
bugfix, sched: ensure max_coderate is respected in scheduler
This commit is contained in:
parent
a8cccd7a10
commit
329cf02cd0
|
@ -402,7 +402,7 @@ uint32_t get_aggr_level(uint32_t nof_bits,
|
|||
uint32_t l = min_aggr_lvl;
|
||||
for (; l <= l_max; ++l) {
|
||||
coderate = srsran_pdcch_coderate(nof_bits, l);
|
||||
if (factor * coderate > max_coderate) {
|
||||
if (factor * coderate <= max_coderate) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue