From b8d1e1101f6b5ba56a2721d1a807bd153754cfa6 Mon Sep 17 00:00:00 2001
From: Robert Schmidt <robert.schmidt@openairinterface.org>
Date: Thu, 27 Apr 2023 09:53:31 +0200
Subject: [PATCH] Add AssertFatal for reestablishment in F1: not implemented

---
 openair2/RRC/NR/rrc_gNB.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/openair2/RRC/NR/rrc_gNB.c b/openair2/RRC/NR/rrc_gNB.c
index ae7e8f51327..2bc3892c4dc 100644
--- a/openair2/RRC/NR/rrc_gNB.c
+++ b/openair2/RRC/NR/rrc_gNB.c
@@ -1693,6 +1693,8 @@ static int nr_rrc_gNB_decode_ccch(module_id_t module_id, rnti_t rnti, const uint
               // TODO: MAC structures should not be accessed directly from the RRC! An implementation using the F1 interface should be developed.
               if (!NODE_IS_CU(RC.nrrrc[0]->node_type)) {
                 nr_rrc_mac_remove_ue(ue_context_p->ue_context.rnti);
+              } else {
+                AssertFatal(false, "not implemented: need to switch RNTI in MAC via DL RRC Message Transfer\n");
               }
 
               /* replace rnti in the context */
-- 
GitLab