From 6c8f7ae17b926038ab2dfb3d089d8f522aae5f4b Mon Sep 17 00:00:00 2001 From: Cedric Roux Date: Mon, 17 Jul 2023 16:42:51 +0200 Subject: [PATCH 1/2] NR RRC: send "init context setup resp" after receiving reconfig from ue --- openair2/RRC/NR/rrc_gNB.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair2/RRC/NR/rrc_gNB.c b/openair2/RRC/NR/rrc_gNB.c index 776c6b9275..f69adf12c7 100644 --- a/openair2/RRC/NR/rrc_gNB.c +++ b/openair2/RRC/NR/rrc_gNB.c @@ -1955,7 +1955,7 @@ static void handle_rrcReconfigurationComplete(const protocol_ctxt_t *const ctxt_ rrc_gNB_send_NGAP_INITIAL_CONTEXT_SETUP_RESP(ctxt_pP, ue_context_p); break; case RRC_DEFAULT_RECONF: - /* nothing to do */ + rrc_gNB_send_NGAP_INITIAL_CONTEXT_SETUP_RESP(ctxt_pP, ue_context_p); break; default: LOG_E(RRC, "Received unexpected xid: %d\n", xid); From 325dcf939e5f760c8b1e9c94cffc3e34387273bc Mon Sep 17 00:00:00 2001 From: Cedric Roux Date: Wed, 26 Jul 2023 16:26:46 +0200 Subject: [PATCH 2/2] remove unused RRC_FIRST_RECONF --- openair2/RRC/NR/nr_rrc_defs.h | 1 - openair2/RRC/NR/rrc_gNB.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/openair2/RRC/NR/nr_rrc_defs.h b/openair2/RRC/NR/nr_rrc_defs.h index e72624527c..da0101acf2 100644 --- a/openair2/RRC/NR/nr_rrc_defs.h +++ b/openair2/RRC/NR/nr_rrc_defs.h @@ -223,7 +223,6 @@ typedef struct drb_s { } drb_t; typedef enum { - RRC_FIRST_RECONF, RRC_SETUP, RRC_SETUP_FOR_REESTABLISHMENT, RRC_REESTABLISH, diff --git a/openair2/RRC/NR/rrc_gNB.c b/openair2/RRC/NR/rrc_gNB.c index f69adf12c7..a74509d9ca 100644 --- a/openair2/RRC/NR/rrc_gNB.c +++ b/openair2/RRC/NR/rrc_gNB.c @@ -1951,9 +1951,6 @@ static void handle_rrcReconfigurationComplete(const protocol_ctxt_t *const ctxt_ case RRC_PDUSESSION_MODIFY: rrc_gNB_send_NGAP_PDUSESSION_MODIFY_RESP(ctxt_pP, ue_context_p, xid); break; - case RRC_FIRST_RECONF: - rrc_gNB_send_NGAP_INITIAL_CONTEXT_SETUP_RESP(ctxt_pP, ue_context_p); - break; case RRC_DEFAULT_RECONF: rrc_gNB_send_NGAP_INITIAL_CONTEXT_SETUP_RESP(ctxt_pP, ue_context_p); break;