Commit 60ca088e authored by Thomas Schlichter's avatar Thomas Schlichter

gNB: respect config value dl_max_mcs also in case of harq_round_max == 1

parent d9940b1b
......@@ -684,7 +684,7 @@ static void pf_dl(module_id_t module_id,
const int max_mcs_table = current_BWP->mcsTableIdx == 1 ? 27 : 28;
const int max_mcs = min(sched_ctrl->dl_max_mcs, max_mcs_table);
if (bo->harq_round_max == 1)
sched_pdsch->mcs = max_mcs;
sched_pdsch->mcs = min(bo->max_mcs, max_mcs);
else
sched_pdsch->mcs = get_mcs_from_bler(bo, stats, &sched_ctrl->dl_bler_stats, max_mcs, frame);
sched_pdsch->nrOfLayers = get_dl_nrOfLayers(sched_ctrl, current_BWP->dci_format);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment