TODO: Revert this change after discussion with OAI

This commit is contained in:
Melissa Elkadi
2022-02-08 11:59:54 -08:00
parent b897287d1f
commit 62b525c579
@@ -1640,9 +1640,9 @@ void nr_generate_Msg4(module_id_t module_idP, int CC_id, frame_t frameP, sub_fra
}
}
if (rbStart > (BWPSize - rbSize)) {
LOG_E(NR_MAC, "%s(): cannot find free vrb_map for RNTI %04x!\n", __func__, ra->rnti);
return;
while (rbStart > (BWPSize - rbSize)) {
LOG_E(NR_MAC, "%s(): cannot find free vrb_map for RNTI %04x so decrament rbStart %d!\n", __func__, ra->rnti, rbStart);
rbStart--;
}
// Checking if the DCI allocation is feasible in current subframe