Increase PRACH queue capacity from 8 to 16

After the changes introduced in !3991, multiple PRACH PDUs can be
pushed from L2 to L1 before being processed. This leads to the PRACH
queues filling up and triggering "PRACH occ queue is full" issues on
the gNB.

This commit increases the queue size from 8 to 16, providing additional
buffering and preventing queue overflows as reported in #1072.
This commit is contained in:
Jaroslava Fiedlerova
2026-04-24 14:26:42 +02:00
parent 0054b496d4
commit 2d34e6cb9a
+1 -1
View File
@@ -14,7 +14,7 @@
void init_nr_prach(PHY_VARS_gNB *gNB) void init_nr_prach(PHY_VARS_gNB *gNB)
{ {
int num_prach = 8; int num_prach = 16;
gNB->prach_ru_queue = spsc_q_alloc(num_prach, sizeof(prach_item_t)); gNB->prach_ru_queue = spsc_q_alloc(num_prach, sizeof(prach_item_t));
gNB->prach_l1rx_queue = spsc_q_alloc(num_prach, sizeof(prach_item_t)); gNB->prach_l1rx_queue = spsc_q_alloc(num_prach, sizeof(prach_item_t));
} }