adding 256QAM in feature set, adding 256QAM test in ulsim and limit mcs according to table

This commit is contained in:
francescomani
2023-04-17 12:41:47 +02:00
parent 7455bae459
commit 26e469cbac
3 changed files with 19 additions and 14 deletions
@@ -1662,7 +1662,8 @@ void pf_ul(module_id_t module_id,
}
const NR_bler_options_t *bo = &nrmac->ul_bler;
const int max_mcs = bo->max_mcs; /* no per-user maximum MCS yet */
const int max_mcs_table = (current_BWP->mcs_table == 0 || current_BWP->mcs_table == 2) ? 28 : 27;
const int max_mcs = min(bo->max_mcs, max_mcs_table); /* no per-user maximum MCS yet */
if (bo->harq_round_max == 1)
sched_pusch->mcs = max_mcs;
else