replace static allocation of max antennas in a dynamic structure for gnb rach

This commit is contained in:
Laurent THOMAS
2026-02-27 12:19:10 +01:00
committed by francescomani
parent fdb6b44b05
commit 246e2ed31d
10 changed files with 71 additions and 64 deletions

View File

@@ -998,9 +998,10 @@ void *ru_thread(void *param)
proc->tti_rx * gNB->frame_parms.samples_per_slot_wCP);
// Do PRACH RU processing
prach_item_t *p = find_nr_prach(&gNB->prach_list, proc->frame_rx, proc->tti_rx, SEARCH_EXIST);
prach_item_t *p =
find_nr_prach(&gNB->prach_list, proc->frame_rx, proc->tti_rx, gNB->frame_parms.nb_antennas_rx, SEARCH_EXIST);
if (p) {
// need to extract RACH data for lqter processing by rx_nr_prach()
// need to extract RACH data for later processing by rx_nr_prach()
rx_nr_prach_ru(p, ru->common.rxdata, ru->nr_frame_parms, ru->N_TA_offset);
} // end if (prach_id >= 0)
} // end if (ru->feprx)