Adapted phytest scheduler to multiple LCs scheduling logic

This commit is contained in:
Guido Casati
2022-02-23 10:15:53 +01:00
committed by Robert Schmidt
parent 0df80e648a
commit f8d6677d4d
@@ -314,7 +314,9 @@ void nr_preprocessor_phytest(module_id_t module_id,
}
sched_ctrl->num_total_bytes = 0;
sched_ctrl->dl_lc_num = 1;
const int lcid = DL_SCH_LCID_DTCH;
sched_ctrl->dl_lc_ids[sched_ctrl->dl_lc_num - 1] = lcid;
const uint16_t rnti = UE_info->rnti[UE_id];
/* update sched_ctrl->num_total_bytes so that postprocessor schedules data,
* if available */