From 81dbaf0aad7b544b6e77845fe2f63bb41ecf39e6 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Tue, 10 Jun 2025 16:02:00 +0200 Subject: [PATCH] Add comment on reestablishment in MAC-RRC DL handler --- openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c b/openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c index 90dc604471..28472ac957 100644 --- a/openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c +++ b/openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c @@ -954,6 +954,8 @@ void dl_rrc_message_transfer(const f1ap_dl_rrc_message_t *dl_rrc) UE->reestablish_rlc = false; } + /* if we get the old-gNB-DU-UE-ID, this means there is a reestablishment + * ongoing. */ if (dl_rrc->old_gNB_DU_ue_id != NULL) { AssertFatal(*dl_rrc->old_gNB_DU_ue_id != dl_rrc->gNB_DU_ue_id, "logic bug: current and old gNB DU UE ID cannot be the same\n");