Commit 245a6da1 authored by Robert Schmidt's avatar Robert Schmidt

On resource depletion: do not abort ULSCH scheduling

parent 3c3712ef
...@@ -613,7 +613,7 @@ void pf_ul(module_id_t module_id, ...@@ -613,7 +613,7 @@ void pf_ul(module_id_t module_id,
if (rbStart + sched_pusch->rbSize >= bwpSize) { if (rbStart + sched_pusch->rbSize >= bwpSize) {
LOG_D(MAC, "cannot allocate retransmission of UE %d/RNTI %04x: no resources\n", LOG_D(MAC, "cannot allocate retransmission of UE %d/RNTI %04x: no resources\n",
UE_id, UE_info->rnti[UE_id]); UE_id, UE_info->rnti[UE_id]);
return; continue;
} }
sched_pusch->rbStart = rbStart; sched_pusch->rbStart = rbStart;
...@@ -670,7 +670,7 @@ void pf_ul(module_id_t module_id, ...@@ -670,7 +670,7 @@ void pf_ul(module_id_t module_id,
if (rbStart + min_rb >= bwpSize) { if (rbStart + min_rb >= bwpSize) {
LOG_D(MAC, "cannot allocate continuous data for UE %d/RNTI %04x: no resources\n", LOG_D(MAC, "cannot allocate continuous data for UE %d/RNTI %04x: no resources\n",
UE_id, UE_info->rnti[UE_id]); UE_id, UE_info->rnti[UE_id]);
return; continue;
} }
sched_pusch->rbStart = rbStart; sched_pusch->rbStart = rbStart;
sched_pusch->rbSize = min_rb; sched_pusch->rbSize = min_rb;
...@@ -752,7 +752,7 @@ void pf_ul(module_id_t module_id, ...@@ -752,7 +752,7 @@ void pf_ul(module_id_t module_id,
if (rbStart + min_rb >= bwpSize) { if (rbStart + min_rb >= bwpSize) {
LOG_D(MAC, "cannot allocate UL data for UE %d/RNTI %04x: no resources\n", LOG_D(MAC, "cannot allocate UL data for UE %d/RNTI %04x: no resources\n",
UE_id, UE_info->rnti[UE_id]); UE_id, UE_info->rnti[UE_id]);
return; continue;
} }
/* Calculate the current scheduling bytes */ /* Calculate the current scheduling bytes */
......
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