From 6eceaacb731a79d0464f59400aad834e2a8a578d Mon Sep 17 00:00:00 2001 From: Rakesh Mundlamuri Date: Mon, 29 Dec 2025 19:51:53 +0530 Subject: [PATCH] Add NGAP decoding procedures of Downlink NRPPA Transport procedures --- openair3/NGAP/ngap_gNB_decoder.c | 12 ++++++++++++ openair3/NGAP/ngap_gNB_handlers.c | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/openair3/NGAP/ngap_gNB_decoder.c b/openair3/NGAP/ngap_gNB_decoder.c index 43110e9037..3993f8aa72 100644 --- a/openair3/NGAP/ngap_gNB_decoder.c +++ b/openair3/NGAP/ngap_gNB_decoder.c @@ -112,6 +112,18 @@ static int ngap_gNB_decode_initiating_message(NGAP_NGAP_PDU_t *pdu) { NGAP_INFO("DL RAN Status Transfer initiating message\n"); break; + case NGAP_ProcedureCode_id_DownlinkUEAssociatedNRPPaTransport: + res = asn_encode_to_new_buffer(NULL, ATS_CANONICAL_XER, &asn_DEF_NGAP_NGAP_PDU, pdu); + free(res.buffer); + NGAP_INFO("DL UE Associated NRPPA Transport initiating message\n"); + break; + + case NGAP_ProcedureCode_id_DownlinkNonUEAssociatedNRPPaTransport: + res = asn_encode_to_new_buffer(NULL, ATS_CANONICAL_XER, &asn_DEF_NGAP_NGAP_PDU, pdu); + free(res.buffer); + NGAP_INFO("DL NON UE Associated NRPPA Transport initiating message\n"); + break; + default: NGAP_ERROR("Unknown procedure ID (%d) for initiating message\n", (int)pdu->choice.initiatingMessage->procedureCode); diff --git a/openair3/NGAP/ngap_gNB_handlers.c b/openair3/NGAP/ngap_gNB_handlers.c index 9113f850ca..3dd9c39db3 100644 --- a/openair3/NGAP/ngap_gNB_handlers.c +++ b/openair3/NGAP/ngap_gNB_handlers.c @@ -50,6 +50,7 @@ #include "ngap_gNB_pdu_session_management.h" #include "ngap_gNB_nas_procedures.h" #include "ngap_gNB_paging.h" +#include "ngap_gNB_NRPPa_transport_procedures.h" #include "ngap_gNB_trace.h" #include "ngap_gNB_ue_context.h" #include "ngap_messages_types.h" @@ -1499,10 +1500,10 @@ const ngap_message_decoded_callback ngap_messages_callback[][3] = { {0, 0, 0}, /* CellTrafficTrace */ {ngap_gNB_handle_deactivate_trace, 0, 0}, /* DeactivateTrace */ {ngap_gNB_handle_nas_downlink, 0, 0}, /* DownlinkNASTransport */ - {0, 0, 0}, /* DownlinkNonUEAssociatedNRPPaTransport */ + {ngap_gNB_handle_downlink_non_ue_associated_nrppa_transport, 0, 0}, /* DownlinkNonUEAssociatedNRPPaTransport */ {0, 0, 0}, /* DownlinkRANConfigurationTransfer */ {ngap_gNB_handle_dl_ran_status_transfer, 0, 0}, /* DownlinkRANStatusTransfer */ - {0, 0, 0}, /* DownlinkUEAssociatedNRPPaTransport */ + {ngap_gNB_handle_downlink_ue_associated_nrppa_transport, 0, 0}, /* DownlinkUEAssociatedNRPPaTransport */ {ngap_gNB_handle_error_indication, 0, 0}, /* ErrorIndication */ {0, ngap_gNB_handle_handover_cancel_ack, 0}, /* HandoverCancel */ {0, 0, 0}, /* HandoverNotification */