Fix: mark rach_ind PDUs as handled in L1 mode
This commit is contained in:
@@ -642,16 +642,17 @@ void nr_initiate_ra_proc(module_id_t module_idP,
|
|||||||
ra->preamble_index = preamble_index;
|
ra->preamble_index = preamble_index;
|
||||||
ra->beam_id = beam_index;
|
ra->beam_id = beam_index;
|
||||||
|
|
||||||
LOG_D(NR_MAC,
|
LOG_I(NR_MAC,
|
||||||
"[gNB %d][RAPROC] CC_id %d Frame %d Activating Msg2 generation in frame %d, slot %d using RA rnti %x SSB "
|
"[gNB %d][RAPROC] CC_id %d Frame %d Activating Msg2 generation in frame %d, slot %d using RA rnti %x SSB "
|
||||||
"index %u\n",
|
"index %u RA index %d\n",
|
||||||
module_idP,
|
module_idP,
|
||||||
CC_id,
|
CC_id,
|
||||||
frameP,
|
frameP,
|
||||||
ra->Msg2_frame,
|
ra->Msg2_frame,
|
||||||
ra->Msg2_slot,
|
ra->Msg2_slot,
|
||||||
ra->RA_rnti,
|
ra->RA_rnti,
|
||||||
cc->ssb_index[beam_index]);
|
cc->ssb_index[beam_index],
|
||||||
|
i);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -104,6 +104,7 @@ void handle_nr_rach(NR_UL_IND_t *UL_info)
|
|||||||
int npdus = UL_INFO.rach_ind.number_of_pdus;
|
int npdus = UL_INFO.rach_ind.number_of_pdus;
|
||||||
for(int i = 0; i < npdus; i++) {
|
for(int i = 0; i < npdus; i++) {
|
||||||
UL_INFO.rach_ind.number_of_pdus--;
|
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)
|
if (UL_INFO.rach_ind.pdu_list[i].num_preamble>0)
|
||||||
AssertFatal(UL_INFO.rach_ind.pdu_list[i].num_preamble==1,
|
AssertFatal(UL_INFO.rach_ind.pdu_list[i].num_preamble==1,
|
||||||
"More than 1 preamble not supported\n");
|
"More than 1 preamble not supported\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user