Commit 9d579b7a authored by yaojie's avatar yaojie

fix errors and warnings

parent f8f489ec
...@@ -108,6 +108,12 @@ rrc_gNB_generate_UECapabilityEnquiry( ...@@ -108,6 +108,12 @@ rrc_gNB_generate_UECapabilityEnquiry(
rrc_gNB_ue_context_t *const ue_context_pP rrc_gNB_ue_context_t *const ue_context_pP
); );
void
rrc_gNB_generate_RRCRelease(
const protocol_ctxt_t *const ctxt_pP,
rrc_gNB_ue_context_t *const ue_context_pP
);
/**\brief RRC eNB task. /**\brief RRC eNB task.
\param void *args_p Pointer on arguments to start the task. */ \param void *args_p Pointer on arguments to start the task. */
void *rrc_gnb_task(void *args_p); void *rrc_gnb_task(void *args_p);
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
* contact@openairinterface.org * contact@openairinterface.org
*/ */
/*! \file rrc_gNB_NGAP.h /*! \file gtpv1u_gNB_defs.h
* \brief rrc NGAP procedures for gNB * \brief
* \author Yoshio INOUE, Masayuki HARADA * \author Yoshio INOUE, Masayuki HARADA
* \date 2020 * \date 2020
* \version 0.1 * \version 0.1
......
...@@ -207,7 +207,7 @@ int ngap_ue_context_release_req(instance_t instance, ...@@ -207,7 +207,7 @@ int ngap_ue_context_release_req(instance_t instance,
/* optional */ /* optional */
if (ue_release_req_p->nb_of_pdusessions > 0) { if (ue_release_req_p->nb_of_pdusessions > 0) {
ie = (NGAP_UEContextReleaseRequest_IEs_t *)calloc(1, sizeof(NGAP_UEContextReleaseRequest_IEs_t)); ie = (NGAP_UEContextReleaseRequest_IEs_t *)calloc(1, sizeof(NGAP_UEContextReleaseRequest_IEs_t));
ie->id = NGAP_ProtocolIE_ID_id_RAN_UE_NGAP_ID; ie->id = NGAP_ProtocolIE_ID_id_PDUSessionResourceListCxtRelReq;
ie->criticality = NGAP_Criticality_reject; ie->criticality = NGAP_Criticality_reject;
ie->value.present = NGAP_UEContextReleaseRequest_IEs__value_PR_PDUSessionResourceListCxtRelReq; ie->value.present = NGAP_UEContextReleaseRequest_IEs__value_PR_PDUSessionResourceListCxtRelReq;
for (int i = 0; i < ue_release_req_p->nb_of_pdusessions; i++) { for (int i = 0; i < ue_release_req_p->nb_of_pdusessions; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment