Commit f103e0a1 authored by Keliang's avatar Keliang

clang-format -i

parent c76cc89b
...@@ -600,14 +600,20 @@ void amf_n1::service_request_handle( ...@@ -600,14 +600,20 @@ void amf_n1::service_request_handle(
bdestroy(nas); bdestroy(nas);
uint16_t pdu_session_status = 0xffff; uint16_t pdu_session_status = 0xffff;
bstring nas_container; bstring nas_container;
Logger::amf_n1().debug("try to decode pdu-session-status in service_request(service_request)"); Logger::amf_n1().debug(
if(serReq->getNasMessageContainer(nas_container)){ "try to decode pdu-session-status in service_request(service_request)");
Logger::amf_n1().debug("try to get pdu-session-status value from nas message container(length: %d)", blength(nas_container)); if (serReq->getNasMessageContainer(nas_container)) {
uint8_t *buf = (uint8_t*)bdata(nas_container); Logger::amf_n1().debug(
ServiceRequest *tmp = new ServiceRequest(); "try to get pdu-session-status value from nas message "
tmp->decodefrombuffer(nullptr, (uint8_t*) bdata(nas_container), blength(nas_container)); "container(length: %d)",
blength(nas_container));
uint8_t* buf = (uint8_t*) bdata(nas_container);
ServiceRequest* tmp = new ServiceRequest();
tmp->decodefrombuffer(
nullptr, (uint8_t*) bdata(nas_container), blength(nas_container));
pdu_session_status = tmp->getPduSessionStatus(); pdu_session_status = tmp->getPduSessionStatus();
Logger::amf_n1().debug("Get pdu-session-status value: 0x%x", pdu_session_status); Logger::amf_n1().debug(
"Get pdu-session-status value: 0x%x", pdu_session_status);
} }
ServiceAccept* serApt = new ServiceAccept(); ServiceAccept* serApt = new ServiceAccept();
serApt->setHeader(PLAIN_5GS_MSG); serApt->setHeader(PLAIN_5GS_MSG);
...@@ -672,10 +678,10 @@ void amf_n1::service_request_handle( ...@@ -672,10 +678,10 @@ void amf_n1::service_request_handle(
delete serReq; delete serReq;
return; return;
} }
if(pdu_session_status == 0x00){ if (pdu_session_status == 0x00) {
serApt->setPDU_session_status(0x0000); serApt->setPDU_session_status(0x0000);
}else{ } else {
//serApt->setPDU_session_status(pdu_session_status); // serApt->setPDU_session_status(pdu_session_status);
serApt->setPDU_session_status(0x2000); serApt->setPDU_session_status(0x2000);
} }
serApt->setPDU_session_reactivation_result(0x0000); serApt->setPDU_session_reactivation_result(0x0000);
......
...@@ -86,36 +86,36 @@ int _5GSMobilityIdentity::_5g_s_tmsi_decodefrombuffer(uint8_t* buf, int len) { ...@@ -86,36 +86,36 @@ int _5GSMobilityIdentity::_5g_s_tmsi_decodefrombuffer(uint8_t* buf, int len) {
int decoded_size = 1; int decoded_size = 1;
_5g_s_tmsi = (_5G_S_TMSI_t*) calloc(1, sizeof(_5G_S_TMSI_t)); _5g_s_tmsi = (_5G_S_TMSI_t*) calloc(1, sizeof(_5G_S_TMSI_t));
uint8_t octet = *(buf + decoded_size); uint8_t octet = *(buf + decoded_size);
Logger::nas_mm().debug("first octet 0x%x",octet); Logger::nas_mm().debug("first octet 0x%x", octet);
decoded_size++; decoded_size++;
_5g_s_tmsi->amf_set_id = 0x0000 | ((uint16_t) octet) << 2; _5g_s_tmsi->amf_set_id = 0x0000 | ((uint16_t) octet) << 2;
octet = *(buf + decoded_size); octet = *(buf + decoded_size);
Logger::nas_mm().debug("second octet 0x%x",octet); Logger::nas_mm().debug("second octet 0x%x", octet);
decoded_size++; decoded_size++;
_5g_s_tmsi->amf_set_id |= (octet & 0xc0) >> 6; _5g_s_tmsi->amf_set_id |= (octet & 0xc0) >> 6;
_5g_s_tmsi->amf_pointer = octet & 0x3f; _5g_s_tmsi->amf_pointer = octet & 0x3f;
uint32_t tmsi = 0; uint32_t tmsi = 0;
uint8_t digit[4]; uint8_t digit[4];
octet = *(buf + decoded_size); octet = *(buf + decoded_size);
Logger::nas_mm().debug("third octet 0x%x",octet); Logger::nas_mm().debug("third octet 0x%x", octet);
decoded_size++; decoded_size++;
Logger::nas_mm().debug("Octet 0x%x", octet); Logger::nas_mm().debug("Octet 0x%x", octet);
digit[0] = octet; digit[0] = octet;
tmsi |= octet; tmsi |= octet;
octet = *(buf + decoded_size); octet = *(buf + decoded_size);
Logger::nas_mm().debug("fourth octet 0x%x",octet); Logger::nas_mm().debug("fourth octet 0x%x", octet);
decoded_size++; decoded_size++;
Logger::nas_mm().debug("Octet 0x%x", octet); Logger::nas_mm().debug("Octet 0x%x", octet);
digit[1] = octet; digit[1] = octet;
tmsi |= octet << 8; tmsi |= octet << 8;
octet = *(buf + decoded_size); octet = *(buf + decoded_size);
Logger::nas_mm().debug("fifth octet 0x%x",octet); Logger::nas_mm().debug("fifth octet 0x%x", octet);
decoded_size++; decoded_size++;
Logger::nas_mm().debug("Octet 0x%x", octet); Logger::nas_mm().debug("Octet 0x%x", octet);
digit[2] = octet; digit[2] = octet;
tmsi |= octet << 16; tmsi |= octet << 16;
octet = *(buf + decoded_size); octet = *(buf + decoded_size);
Logger::nas_mm().debug("sixth octet 0x%x",octet); Logger::nas_mm().debug("sixth octet 0x%x", octet);
decoded_size++; decoded_size++;
Logger::nas_mm().debug("Octet 0x%x", octet); Logger::nas_mm().debug("Octet 0x%x", octet);
digit[3] = octet; digit[3] = octet;
...@@ -503,7 +503,8 @@ int _5GSMobilityIdentity::decodefrombuffer( ...@@ -503,7 +503,8 @@ int _5GSMobilityIdentity::decodefrombuffer(
typeOfIdentity = _5G_S_TMSI; typeOfIdentity = _5G_S_TMSI;
decoded_size += decoded_size +=
_5g_s_tmsi_decodefrombuffer(buf + decoded_size, len - decoded_size); _5g_s_tmsi_decodefrombuffer(buf + decoded_size, len - decoded_size);
Logger::amf_n1().debug("Decoded 5GSMobilityIdentity %d octets",decoded_size); Logger::amf_n1().debug(
"Decoded 5GSMobilityIdentity %d octets", decoded_size);
return decoded_size; return decoded_size;
} break; } break;
} }
......
...@@ -78,28 +78,25 @@ asn_SEQUENCE_specifics_t ...@@ -78,28 +78,25 @@ asn_SEQUENCE_specifics_t
0, /* Root/Additions */ 0, /* Root/Additions */
3, /* First extension addition */ 3, /* First extension addition */
}; };
asn_TYPE_descriptor_t asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging = asn_TYPE_descriptor_t asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging = {
{ "InfoOnRecommendedCellsAndRANNodesForPaging",
"InfoOnRecommendedCellsAndRANNodesForPaging", "InfoOnRecommendedCellsAndRANNodesForPaging",
"InfoOnRecommendedCellsAndRANNodesForPaging", &asn_OP_SEQUENCE,
&asn_OP_SEQUENCE, asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_tags_1,
asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_tags_1, sizeof(asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_tags_1) /
sizeof(asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_tags_1) / sizeof(asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_tags_1
sizeof( [0]), /* 1 */
asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_tags_1 asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_tags_1, /* Same
[0]), /* 1 */ as
asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_tags_1, /* Same above
as */
above sizeof(asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_tags_1) /
*/ sizeof(asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_tags_1
sizeof(asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_tags_1) / [0]), /* 1 */
sizeof( {0, 0, SEQUENCE_constraint},
asn_DEF_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_tags_1 asn_MBR_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_1,
[0]), /* 1 */ 3, /* Elements count */
{0, 0, SEQUENCE_constraint}, &asn_SPC_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_specs_1 /* Additional
asn_MBR_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_1, specs
3, /* Elements count */ */
&asn_SPC_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_specs_1 /* Additional
specs
*/
}; };
...@@ -109,28 +109,25 @@ asn_SEQUENCE_specifics_t ...@@ -109,28 +109,25 @@ asn_SEQUENCE_specifics_t
0, /* Root/Additions */ 0, /* Root/Additions */
3, /* First extension addition */ 3, /* First extension addition */
}; };
asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm = asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm = {
{ "PDUSessionResourceFailedToModifyItemModCfm",
"PDUSessionResourceFailedToModifyItemModCfm", "PDUSessionResourceFailedToModifyItemModCfm",
"PDUSessionResourceFailedToModifyItemModCfm", &asn_OP_SEQUENCE,
&asn_OP_SEQUENCE, asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm_tags_1,
asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm_tags_1, sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm_tags_1) /
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm_tags_1) / sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm_tags_1
sizeof( [0]), /* 1 */
asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm_tags_1 asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm_tags_1, /* Same
[0]), /* 1 */ as
asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm_tags_1, /* Same above
as */
above sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm_tags_1) /
*/ sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm_tags_1
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm_tags_1) / [0]), /* 1 */
sizeof( {0, 0, SEQUENCE_constraint},
asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModCfm_tags_1 asn_MBR_Ngap_PDUSessionResourceFailedToModifyItemModCfm_1,
[0]), /* 1 */ 3, /* Elements count */
{0, 0, SEQUENCE_constraint}, &asn_SPC_Ngap_PDUSessionResourceFailedToModifyItemModCfm_specs_1 /* Additional
asn_MBR_Ngap_PDUSessionResourceFailedToModifyItemModCfm_1, specs
3, /* Elements count */ */
&asn_SPC_Ngap_PDUSessionResourceFailedToModifyItemModCfm_specs_1 /* Additional
specs
*/
}; };
...@@ -108,28 +108,25 @@ asn_SEQUENCE_specifics_t ...@@ -108,28 +108,25 @@ asn_SEQUENCE_specifics_t
0, /* Root/Additions */ 0, /* Root/Additions */
3, /* First extension addition */ 3, /* First extension addition */
}; };
asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes = asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes = {
{ "PDUSessionResourceFailedToModifyItemModRes",
"PDUSessionResourceFailedToModifyItemModRes", "PDUSessionResourceFailedToModifyItemModRes",
"PDUSessionResourceFailedToModifyItemModRes", &asn_OP_SEQUENCE,
&asn_OP_SEQUENCE, asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes_tags_1,
asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes_tags_1, sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes_tags_1) /
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes_tags_1) / sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes_tags_1
sizeof( [0]), /* 1 */
asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes_tags_1 asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes_tags_1, /* Same
[0]), /* 1 */ as
asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes_tags_1, /* Same above
as */
above sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes_tags_1) /
*/ sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes_tags_1
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes_tags_1) / [0]), /* 1 */
sizeof( {0, 0, SEQUENCE_constraint},
asn_DEF_Ngap_PDUSessionResourceFailedToModifyItemModRes_tags_1 asn_MBR_Ngap_PDUSessionResourceFailedToModifyItemModRes_1,
[0]), /* 1 */ 3, /* Elements count */
{0, 0, SEQUENCE_constraint}, &asn_SPC_Ngap_PDUSessionResourceFailedToModifyItemModRes_specs_1 /* Additional
asn_MBR_Ngap_PDUSessionResourceFailedToModifyItemModRes_1, specs
3, /* Elements count */ */
&asn_SPC_Ngap_PDUSessionResourceFailedToModifyItemModRes_specs_1 /* Additional
specs
*/
}; };
...@@ -44,30 +44,27 @@ asn_SET_OF_specifics_t ...@@ -44,30 +44,27 @@ asn_SET_OF_specifics_t
struct Ngap_PDUSessionResourceFailedToModifyListModCfm, _asn_ctx), struct Ngap_PDUSessionResourceFailedToModifyListModCfm, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */ 0, /* XER encoding is XMLDelimitedItemList */
}; };
asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm = asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm = {
{ "PDUSessionResourceFailedToModifyListModCfm",
"PDUSessionResourceFailedToModifyListModCfm", "PDUSessionResourceFailedToModifyListModCfm",
"PDUSessionResourceFailedToModifyListModCfm", &asn_OP_SEQUENCE_OF,
&asn_OP_SEQUENCE_OF, asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm_tags_1,
asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm_tags_1, sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm_tags_1) /
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm_tags_1) / sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm_tags_1
sizeof( [0]), /* 1 */
asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm_tags_1 asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm_tags_1, /* Same
[0]), /* 1 */ as
asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm_tags_1, /* Same above
as */
above sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm_tags_1) /
*/ sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm_tags_1
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm_tags_1) / [0]), /* 1 */
sizeof( {&asn_OER_type_Ngap_PDUSessionResourceFailedToModifyListModCfm_constr_1,
asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModCfm_tags_1 &asn_PER_type_Ngap_PDUSessionResourceFailedToModifyListModCfm_constr_1,
[0]), /* 1 */ SEQUENCE_OF_constraint},
{&asn_OER_type_Ngap_PDUSessionResourceFailedToModifyListModCfm_constr_1, asn_MBR_Ngap_PDUSessionResourceFailedToModifyListModCfm_1,
&asn_PER_type_Ngap_PDUSessionResourceFailedToModifyListModCfm_constr_1, 1, /* Single element */
SEQUENCE_OF_constraint}, &asn_SPC_Ngap_PDUSessionResourceFailedToModifyListModCfm_specs_1 /* Additional
asn_MBR_Ngap_PDUSessionResourceFailedToModifyListModCfm_1, specs
1, /* Single element */ */
&asn_SPC_Ngap_PDUSessionResourceFailedToModifyListModCfm_specs_1 /* Additional
specs
*/
}; };
...@@ -44,30 +44,27 @@ asn_SET_OF_specifics_t ...@@ -44,30 +44,27 @@ asn_SET_OF_specifics_t
struct Ngap_PDUSessionResourceFailedToModifyListModRes, _asn_ctx), struct Ngap_PDUSessionResourceFailedToModifyListModRes, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */ 0, /* XER encoding is XMLDelimitedItemList */
}; };
asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes = asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes = {
{ "PDUSessionResourceFailedToModifyListModRes",
"PDUSessionResourceFailedToModifyListModRes", "PDUSessionResourceFailedToModifyListModRes",
"PDUSessionResourceFailedToModifyListModRes", &asn_OP_SEQUENCE_OF,
&asn_OP_SEQUENCE_OF, asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes_tags_1,
asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes_tags_1, sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes_tags_1) /
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes_tags_1) / sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes_tags_1
sizeof( [0]), /* 1 */
asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes_tags_1 asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes_tags_1, /* Same
[0]), /* 1 */ as
asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes_tags_1, /* Same above
as */
above sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes_tags_1) /
*/ sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes_tags_1
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes_tags_1) / [0]), /* 1 */
sizeof( {&asn_OER_type_Ngap_PDUSessionResourceFailedToModifyListModRes_constr_1,
asn_DEF_Ngap_PDUSessionResourceFailedToModifyListModRes_tags_1 &asn_PER_type_Ngap_PDUSessionResourceFailedToModifyListModRes_constr_1,
[0]), /* 1 */ SEQUENCE_OF_constraint},
{&asn_OER_type_Ngap_PDUSessionResourceFailedToModifyListModRes_constr_1, asn_MBR_Ngap_PDUSessionResourceFailedToModifyListModRes_1,
&asn_PER_type_Ngap_PDUSessionResourceFailedToModifyListModRes_constr_1, 1, /* Single element */
SEQUENCE_OF_constraint}, &asn_SPC_Ngap_PDUSessionResourceFailedToModifyListModRes_specs_1 /* Additional
asn_MBR_Ngap_PDUSessionResourceFailedToModifyListModRes_1, specs
1, /* Single element */ */
&asn_SPC_Ngap_PDUSessionResourceFailedToModifyListModRes_specs_1 /* Additional
specs
*/
}; };
...@@ -108,28 +108,25 @@ asn_SEQUENCE_specifics_t ...@@ -108,28 +108,25 @@ asn_SEQUENCE_specifics_t
0, /* Root/Additions */ 0, /* Root/Additions */
3, /* First extension addition */ 3, /* First extension addition */
}; };
asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail = asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail = {
{ "PDUSessionResourceFailedToSetupItemCxtFail",
"PDUSessionResourceFailedToSetupItemCxtFail", "PDUSessionResourceFailedToSetupItemCxtFail",
"PDUSessionResourceFailedToSetupItemCxtFail", &asn_OP_SEQUENCE,
&asn_OP_SEQUENCE, asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_tags_1,
asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_tags_1, sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_tags_1) /
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_tags_1) / sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_tags_1
sizeof( [0]), /* 1 */
asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_tags_1 asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_tags_1, /* Same
[0]), /* 1 */ as
asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_tags_1, /* Same above
as */
above sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_tags_1) /
*/ sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_tags_1
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_tags_1) / [0]), /* 1 */
sizeof( {0, 0, SEQUENCE_constraint},
asn_DEF_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_tags_1 asn_MBR_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_1,
[0]), /* 1 */ 3, /* Elements count */
{0, 0, SEQUENCE_constraint}, &asn_SPC_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_specs_1 /* Additional
asn_MBR_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_1, specs
3, /* Elements count */ */
&asn_SPC_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_specs_1 /* Additional
specs
*/
}; };
...@@ -44,30 +44,27 @@ asn_SET_OF_specifics_t ...@@ -44,30 +44,27 @@ asn_SET_OF_specifics_t
struct Ngap_PDUSessionResourceFailedToSetupListCxtFail, _asn_ctx), struct Ngap_PDUSessionResourceFailedToSetupListCxtFail, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */ 0, /* XER encoding is XMLDelimitedItemList */
}; };
asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail = asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail = {
{ "PDUSessionResourceFailedToSetupListCxtFail",
"PDUSessionResourceFailedToSetupListCxtFail", "PDUSessionResourceFailedToSetupListCxtFail",
"PDUSessionResourceFailedToSetupListCxtFail", &asn_OP_SEQUENCE_OF,
&asn_OP_SEQUENCE_OF, asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1,
asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1, sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1) /
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1) / sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1
sizeof( [0]), /* 1 */
asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1 asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1, /* Same
[0]), /* 1 */ as
asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1, /* Same above
as */
above sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1) /
*/ sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1) / [0]), /* 1 */
sizeof( {&asn_OER_type_Ngap_PDUSessionResourceFailedToSetupListCxtFail_constr_1,
asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1 &asn_PER_type_Ngap_PDUSessionResourceFailedToSetupListCxtFail_constr_1,
[0]), /* 1 */ SEQUENCE_OF_constraint},
{&asn_OER_type_Ngap_PDUSessionResourceFailedToSetupListCxtFail_constr_1, asn_MBR_Ngap_PDUSessionResourceFailedToSetupListCxtFail_1,
&asn_PER_type_Ngap_PDUSessionResourceFailedToSetupListCxtFail_constr_1, 1, /* Single element */
SEQUENCE_OF_constraint}, &asn_SPC_Ngap_PDUSessionResourceFailedToSetupListCxtFail_specs_1 /* Additional
asn_MBR_Ngap_PDUSessionResourceFailedToSetupListCxtFail_1, specs
1, /* Single element */ */
&asn_SPC_Ngap_PDUSessionResourceFailedToSetupListCxtFail_specs_1 /* Additional
specs
*/
}; };
...@@ -64,28 +64,25 @@ static asn_SEQUENCE_specifics_t ...@@ -64,28 +64,25 @@ static asn_SEQUENCE_specifics_t
0, /* Root/Additions */ 0, /* Root/Additions */
2, /* First extension addition */ 2, /* First extension addition */
}; };
asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer = asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer = {
{ "PDUSessionResourceModifyIndicationTransfer",
"PDUSessionResourceModifyIndicationTransfer", "PDUSessionResourceModifyIndicationTransfer",
"PDUSessionResourceModifyIndicationTransfer", &asn_OP_SEQUENCE,
&asn_OP_SEQUENCE, asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer_tags_1,
asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer_tags_1, sizeof(asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer_tags_1) /
sizeof(asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer_tags_1) / sizeof(asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer_tags_1
sizeof( [0]), /* 1 */
asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer_tags_1 asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer_tags_1, /* Same
[0]), /* 1 */ as
asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer_tags_1, /* Same above
as */
above sizeof(asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer_tags_1) /
*/ sizeof(asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer_tags_1
sizeof(asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer_tags_1) / [0]), /* 1 */
sizeof( {0, 0, SEQUENCE_constraint},
asn_DEF_Ngap_PDUSessionResourceModifyIndicationTransfer_tags_1 asn_MBR_Ngap_PDUSessionResourceModifyIndicationTransfer_1,
[0]), /* 1 */ 2, /* Elements count */
{0, 0, SEQUENCE_constraint}, &asn_SPC_Ngap_PDUSessionResourceModifyIndicationTransfer_specs_1 /* Additional
asn_MBR_Ngap_PDUSessionResourceModifyIndicationTransfer_1, specs
2, /* Elements count */ */
&asn_SPC_Ngap_PDUSessionResourceModifyIndicationTransfer_specs_1 /* Additional
specs
*/
}; };
...@@ -77,30 +77,25 @@ static asn_SEQUENCE_specifics_t ...@@ -77,30 +77,25 @@ static asn_SEQUENCE_specifics_t
0, /* Root/Additions */ 0, /* Root/Additions */
3, /* First extension addition */ 3, /* First extension addition */
}; };
asn_TYPE_descriptor_t asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer = {
asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer = { "PDUSessionResourceModifyUnsuccessfulTransfer",
"PDUSessionResourceModifyUnsuccessfulTransfer", "PDUSessionResourceModifyUnsuccessfulTransfer",
"PDUSessionResourceModifyUnsuccessfulTransfer", &asn_OP_SEQUENCE,
&asn_OP_SEQUENCE, asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_tags_1,
asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_tags_1, sizeof(asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_tags_1) /
sizeof( sizeof(asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_tags_1
asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_tags_1) / [0]), /* 1 */
sizeof( asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_tags_1, /* Same
asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_tags_1 as
[0]), /* 1 */ above
asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_tags_1, /* Same */
as sizeof(asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_tags_1) /
above sizeof(asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_tags_1
*/ [0]), /* 1 */
sizeof( {0, 0, SEQUENCE_constraint},
asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_tags_1) / asn_MBR_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_1,
sizeof( 3, /* Elements count */
asn_DEF_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_tags_1 &asn_SPC_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_specs_1 /* Additional
[0]), /* 1 */ specs
{0, 0, SEQUENCE_constraint}, */
asn_MBR_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_1,
3, /* Elements count */
&asn_SPC_Ngap_PDUSessionResourceModifyUnsuccessfulTransfer_specs_1 /* Additional
specs
*/
}; };
...@@ -77,30 +77,25 @@ static asn_SEQUENCE_specifics_t ...@@ -77,30 +77,25 @@ static asn_SEQUENCE_specifics_t
0, /* Root/Additions */ 0, /* Root/Additions */
3, /* First extension addition */ 3, /* First extension addition */
}; };
asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer = asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer = {
{ "PDUSessionResourceSetupUnsuccessfulTransfer",
"PDUSessionResourceSetupUnsuccessfulTransfer", "PDUSessionResourceSetupUnsuccessfulTransfer",
"PDUSessionResourceSetupUnsuccessfulTransfer", &asn_OP_SEQUENCE,
&asn_OP_SEQUENCE, asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_tags_1,
asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_tags_1, sizeof(asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_tags_1) /
sizeof( sizeof(asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_tags_1
asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_tags_1) / [0]), /* 1 */
sizeof( asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_tags_1, /* Same
asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_tags_1 as
[0]), /* 1 */ above
asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_tags_1, /* Same */
as sizeof(asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_tags_1) /
above sizeof(asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_tags_1
*/ [0]), /* 1 */
sizeof( {0, 0, SEQUENCE_constraint},
asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_tags_1) / asn_MBR_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_1,
sizeof( 3, /* Elements count */
asn_DEF_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_tags_1 &asn_SPC_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_specs_1 /* Additional
[0]), /* 1 */ specs
{0, 0, SEQUENCE_constraint}, */
asn_MBR_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_1,
3, /* Elements count */
&asn_SPC_Ngap_PDUSessionResourceSetupUnsuccessfulTransfer_specs_1 /* Additional
specs
*/
}; };
...@@ -28405,32 +28405,27 @@ asn_SEQUENCE_specifics_t ...@@ -28405,32 +28405,27 @@ asn_SEQUENCE_specifics_t
0, /* Optional elements (not needed) */ 0, /* Optional elements (not needed) */
-1, /* First extension addition */ -1, /* First extension addition */
}; };
asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs = asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs = {
{ "PDUSessionResourceReleasedItemPSAck-ExtIEs",
"PDUSessionResourceReleasedItemPSAck-ExtIEs", "PDUSessionResourceReleasedItemPSAck-ExtIEs",
"PDUSessionResourceReleasedItemPSAck-ExtIEs", &asn_OP_SEQUENCE,
&asn_OP_SEQUENCE, asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_tags_433,
asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_tags_433, sizeof(asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_tags_433) /
sizeof( sizeof(asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_tags_433
asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_tags_433) / [0]), /* 1 */
sizeof( asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_tags_433, /* Same
asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_tags_433 as
[0]), /* 1 */ above
asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_tags_433, /* Same */
as sizeof(asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_tags_433) /
above sizeof(asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_tags_433
*/ [0]), /* 1 */
sizeof( {0, 0, SEQUENCE_constraint},
asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_tags_433) / asn_MBR_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_433,
sizeof( 3, /* Elements count */
asn_DEF_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_tags_433 &asn_SPC_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_specs_433 /* Additional
[0]), /* 1 */ specs
{0, 0, SEQUENCE_constraint}, */
asn_MBR_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_433,
3, /* Elements count */
&asn_SPC_Ngap_PDUSessionResourceReleasedItemPSAck_ExtIEs_specs_433 /* Additional
specs
*/
}; };
static asn_CHOICE_specifics_t asn_SPC_Ngap_extensionValue_specs_440 = { static asn_CHOICE_specifics_t asn_SPC_Ngap_extensionValue_specs_440 = {
...@@ -118,7 +118,7 @@ static const asn_ioc_cell_t ...@@ -118,7 +118,7 @@ static const asn_ioc_cell_t
//"&criticality", aioc__value, &asn_DEF_Ngap_Criticality, //"&criticality", aioc__value, &asn_DEF_Ngap_Criticality,
//&asn_VAL_9_Ngap_reject }, { "&Value", aioc__type, //&asn_VAL_9_Ngap_reject }, { "&Value", aioc__type,
//&asn_DEF_Ngap_UPTransportLayerInformation }, { "&presence", //&asn_DEF_Ngap_UPTransportLayerInformation }, { "&presence",
//aioc__value, &asn_DEF_Ngap_Presence, &asn_VAL_9_Ngap_optional }, // aioc__value, &asn_DEF_Ngap_Presence, &asn_VAL_9_Ngap_optional },
{"&id", aioc__value, &asn_DEF_Ngap_ProtocolIE_ID, {"&id", aioc__value, &asn_DEF_Ngap_ProtocolIE_ID,
&asn_VAL_10_Ngap_id_DataForwardingNotPossible}, &asn_VAL_10_Ngap_id_DataForwardingNotPossible},
{"&criticality", aioc__value, &asn_DEF_Ngap_Criticality, {"&criticality", aioc__value, &asn_DEF_Ngap_Criticality,
...@@ -21198,32 +21198,27 @@ asn_SEQUENCE_specifics_t ...@@ -21198,32 +21198,27 @@ asn_SEQUENCE_specifics_t
0, /* Optional elements (not needed) */ 0, /* Optional elements (not needed) */
-1, /* First extension addition */ -1, /* First extension addition */
}; };
asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs = asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs = {
{ "PDUSessionResourceModifyRequestTransferIEs",
"PDUSessionResourceModifyRequestTransferIEs", "PDUSessionResourceModifyRequestTransferIEs",
"PDUSessionResourceModifyRequestTransferIEs", &asn_OP_SEQUENCE,
&asn_OP_SEQUENCE, asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs_tags_109,
asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs_tags_109, sizeof(asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs_tags_109) /
sizeof( sizeof(asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs_tags_109
asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs_tags_109) / [0]), /* 1 */
sizeof( asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs_tags_109, /* Same
asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs_tags_109 as
[0]), /* 1 */ above
asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs_tags_109, /* Same */
as sizeof(asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs_tags_109) /
above sizeof(asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs_tags_109
*/ [0]), /* 1 */
sizeof( {0, 0, SEQUENCE_constraint},
asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs_tags_109) / asn_MBR_Ngap_PDUSessionResourceModifyRequestTransferIEs_109,
sizeof( 3, /* Elements count */
asn_DEF_Ngap_PDUSessionResourceModifyRequestTransferIEs_tags_109 &asn_SPC_Ngap_PDUSessionResourceModifyRequestTransferIEs_specs_109 /* Additional
[0]), /* 1 */ specs
{0, 0, SEQUENCE_constraint}, */
asn_MBR_Ngap_PDUSessionResourceModifyRequestTransferIEs_109,
3, /* Elements count */
&asn_SPC_Ngap_PDUSessionResourceModifyRequestTransferIEs_specs_109 /* Additional
specs
*/
}; };
static asn_TYPE_member_t asn_MBR_Ngap_value_116[] = { static asn_TYPE_member_t asn_MBR_Ngap_value_116[] = {
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