ENDC X2AP: Minor correction at x2ap decoder
This commit is contained in:
@@ -89,6 +89,10 @@ static int x2ap_eNB_decode_successful_outcome(X2AP_X2AP_PDU_t *pdu)
|
||||
X2AP_INFO("x2ap_eNB_decode_successfuloutcome_message!\n");
|
||||
break;
|
||||
|
||||
case X2AP_ProcedureCode_id_endcX2Setup:
|
||||
X2AP_INFO("x2ap_eNB_decode_successfuloutcome_message!\n");
|
||||
break;
|
||||
|
||||
default:
|
||||
X2AP_ERROR("Unknown procedure ID (%d) for successfull outcome message\n",
|
||||
(int)pdu->choice.successfulOutcome.procedureCode);
|
||||
@@ -130,9 +134,9 @@ int x2ap_eNB_decode_pdu(X2AP_X2AP_PDU_t *pdu, const uint8_t *const buffer, uint3
|
||||
length,
|
||||
0,
|
||||
0);
|
||||
if (asn1_xer_print) {
|
||||
//if (asn1_xer_print) {
|
||||
xer_fprint(stdout, &asn_DEF_X2AP_X2AP_PDU, pdu);
|
||||
}
|
||||
//}
|
||||
|
||||
if (dec_ret.code != RC_OK) {
|
||||
X2AP_ERROR("Failed to decode pdu\n");
|
||||
|
||||
@@ -1581,6 +1581,16 @@ x2ap_gNB_handle_ENDC_x2_setup_response(instance_t instance,
|
||||
for (int i=0; i<ie_GNB_ENDC->value.choice.ServedNRcellsENDCX2ManagementList.list.count;i++) {
|
||||
servedCellMember = (ServedNRcellsENDCX2ManagementList__Member *)ie_GNB_ENDC->value.choice.ServedNRcellsENDCX2ManagementList.list.array[i];
|
||||
x2ap_eNB_data->Nid_cell[i] = servedCellMember->servedNRCellInfo.nrpCI;
|
||||
//servedCellMember->servedNRCellInfo.nrCellID.pLMN_Identity.buf[0]
|
||||
X2AP_INFO("TAC: %02x%02x%02x\n",
|
||||
servedCellMember->servedNRCellInfo.eXtended_TAC.buf[0],
|
||||
servedCellMember->servedNRCellInfo.eXtended_TAC.buf[1],
|
||||
servedCellMember->servedNRCellInfo.eXtended_TAC.buf[2]);
|
||||
|
||||
X2AP_INFO("PLMN: %02x%02x%02x\n",
|
||||
servedCellMember->servedNRCellInfo.nrCellID.pLMN_Identity.buf[0],
|
||||
servedCellMember->servedNRCellInfo.nrCellID.pLMN_Identity.buf[1],
|
||||
servedCellMember->servedNRCellInfo.nrCellID.pLMN_Identity.buf[2]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user