Compute TBS and rbSize considering always MAC long header
This commit is contained in:
@@ -691,8 +691,7 @@ void pf_dl(module_id_t module_id,
|
|||||||
sched_pdsch->pucch_allocation = alloc;
|
sched_pdsch->pucch_allocation = alloc;
|
||||||
uint32_t TBS = 0;
|
uint32_t TBS = 0;
|
||||||
uint16_t rbSize;
|
uint16_t rbSize;
|
||||||
const int oh = 2 + (sched_ctrl->num_total_bytes >= 256)
|
const int oh = 3 + 2 * (frame == (sched_ctrl->ta_frame + 10) % 1024);
|
||||||
+ 2 * (frame == (sched_ctrl->ta_frame + 10) % 1024);
|
|
||||||
nr_find_nb_rb(sched_pdsch->Qm,
|
nr_find_nb_rb(sched_pdsch->Qm,
|
||||||
sched_pdsch->R,
|
sched_pdsch->R,
|
||||||
ps->nrOfSymbols,
|
ps->nrOfSymbols,
|
||||||
|
|||||||
Reference in New Issue
Block a user