From 201ab3eb115964372b30edf46fd01483744ff7e3 Mon Sep 17 00:00:00 2001 From: "kn.raju" Date: Fri, 31 Jul 2020 17:19:45 +0530 Subject: [PATCH] Resolving ra-rnti miss-match --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c index 2c1c9a3e9a..5b7503b2eb 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c @@ -94,17 +94,16 @@ int16_t ssb_index_from_prach(module_id_t module_idP, &N_dur, &RA_sfn_index, &N_RA_slot); - uint8_t index ,slot_index = 0; + uint8_t index = 0,slot_index = 0; for (slot_index = 0;slot_index < N_RA_slot; slot_index++) { if (N_RA_slot <= 1) { //1 PRACH slot in a subframe if((mu == 1) || (mu == 3)) slot_index = 1; //For scs = 30khz and 120khz } - for (index=0; indexSFN = frameP; UL_tti_req->Slot = slotP;