From 3e80765668cfe6b2ef26f495c000c808b0be58e3 Mon Sep 17 00:00:00 2001 From: luis_pereira87 Date: Wed, 20 Dec 2023 21:05:57 +0000 Subject: [PATCH] Trigger UL Failure if Ack of Msg4 not received The UE will trigger new RA either with MAC CE C-RNTI or with new RRCSetupRequest: - MAC CE C-RNTI: The ul_failure_timer will be reset - RRCSetupRequest: New UE will be created and the previous one will be deleted --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c index 6c2174164e..72af00da35 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c @@ -1886,6 +1886,7 @@ static void nr_check_Msg4_Ack(module_id_t module_id, int CC_id, frame_t frame, s LOG_A(NR_MAC, "(UE RNTI 0x%04x) Received Ack of RA-Msg4. CBRA procedure succeeded!\n", ra->rnti); } else { LOG_I(NR_MAC, "%4d.%2d UE %04x: RA Procedure failed at Msg4!\n", frame, slot, ra->rnti); + nr_mac_trigger_ul_failure(sched_ctrl, UE->current_DL_BWP.scs); } // Pause scheduling according to: