Fix: mark rach_ind PDUs as handled in L1 mode

This commit is contained in:
Robert Schmidt
2021-12-27 14:00:03 +01:00
parent 1ebcd1ed32
commit 850efd197c
2 changed files with 5 additions and 3 deletions
+1
View File
@@ -104,6 +104,7 @@ void handle_nr_rach(NR_UL_IND_t *UL_info)
int npdus = UL_INFO.rach_ind.number_of_pdus;
for(int i = 0; i < npdus; i++) {
UL_INFO.rach_ind.number_of_pdus--;
UL_info->rach_ind.number_of_pdus--;
if (UL_INFO.rach_ind.pdu_list[i].num_preamble>0)
AssertFatal(UL_INFO.rach_ind.pdu_list[i].num_preamble==1,
"More than 1 preamble not supported\n");