tentative fix for wrong handling of ulsch decode failure

This commit is contained in:
francescomani
2024-07-08 11:46:43 +02:00
parent bfb6e407f2
commit ff0007cd94
2 changed files with 2 additions and 1 deletions
@@ -180,6 +180,7 @@ static void nr_processULSegment(void *arg)
LOG_E(PHY, "ulsch_decoding.c: Problem in rate_matching\n");
rdata->decodeIterations = max_ldpc_iterations + 1;
set_abort(&ulsch_harq->abort_decode, true);
return;
}
@@ -1935,7 +1935,7 @@ static void pf_ul(module_id_t module_id,
UEsched_t *iterator=UE_sched;
/* Loop UE_sched to find max coeff and allocate transmission */
while (remainUEs> 0 && n_rb_sched >= min_rb && iterator->UE != NULL) {
while (remainUEs > 0 && n_rb_sched >= min_rb && iterator->UE != NULL) {
NR_UE_sched_ctrl_t *sched_ctrl = &iterator->UE->UE_sched_ctrl;
int CCEIndex = get_cce_index(nrmac,