Commit c84f0de4 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Merge branch 'pdu_session_modification_v1.0' into 'develop'

Pdu session modification (UE-initiated, first step)

See merge request oai/oai-cn5g-smf!8
parents f6e168f8 391dfe65
......@@ -55,20 +55,6 @@ cd /oai-cn5g-smf/build/scripts
cd /oai-cn5g-smf/build/scripts
./smf_conf.sh
## launch SMF
sudo smf -c /usr/local/etc/oai/smf.conf -o
## Build UPF (SPGWU) and Launch UPF (SPGWU)
git clone https://github.com/OPENAIRINTERFACE/openair-cn-cups/
cd /openair-cn-cups/build/scripts
./build_spgwu -I -f
./build_spgwu -c -V -b Debug -j
#configure SPGWU using an example configure file (spgw_u.conf)
cd /oai-cn5g-smf/src/test/upf/
./spgwu_conf.sh
sudo spgwu -c /usr/local/etc/oai/spgw_u.conf -o
## Build and launch UDM
cd /oai-cn5g-smf/src/test/udm
mkdir build
......@@ -85,6 +71,22 @@ cmake ..
make
sudo ./amf-server -i 172.16.1.102
## launch SMF
sudo smf -c /usr/local/etc/oai/smf.conf -o
## Build UPF (SPGWU) and Launch UPF (SPGWU)
git clone https://github.com/OPENAIRINTERFACE/openair-cn-cups/
cd /openair-cn-cups/build/scripts
./build_spgwu -I -f
./build_spgwu -c -V -b Debug -j
#configure SPGWU using an example configure file (spgw_u.conf)
cd /oai-cn5g-smf/src/test/upf/
./spgwu_conf.sh
sudo spgwu -c /usr/local/etc/oai/spgw_u.conf -o
## Build and launch AMF client
cd /oai-cn5g-smf/src/test/amf_client
mkdir build
......
......@@ -131,7 +131,7 @@ void IndividualSMContextApi::release_sm_context_handler(
//return;
}
free_wrapper((void **) &data);
free_wrapper((void**) &data);
uint8_t size = g_parts.size();
Logger::smf_api_server().debug("Number of g_parts %d", g_parts.size());
......@@ -204,6 +204,7 @@ void IndividualSMContextApi::update_sm_context_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response) {
Logger::smf_api_server().debug("");
Logger::smf_api_server().info(
"Received a SM context update request from AMF");
Logger::smf_api_server().debug("Request body: %s\n", request.body().c_str());
......@@ -247,16 +248,19 @@ void IndividualSMContextApi::update_sm_context_handler(
//return;
}
free_wrapper((void **) &data);
free_wrapper((void**) &data);
uint8_t size = g_parts.size();
Logger::smf_api_server().debug("Number of g_parts %d", g_parts.size());
part p0 = g_parts.front();
g_parts.pop_front();
Logger::smf_api_server().debug("Request body, part 1: %s", p0.body.c_str());
part p0 = { };
part p1 = { };
if (size > 0) {
p0 = g_parts.front();
g_parts.pop_front();
Logger::smf_api_server().debug("Request body, part 1: %s", p0.body.c_str());
}
if (size > 1) {
p1 = g_parts.front();
g_parts.pop_front();
......@@ -269,7 +273,12 @@ void IndividualSMContextApi::update_sm_context_handler(
// Getting the body param
SmContextUpdateData smContextUpdateData = { };
try {
nlohmann::json::parse(p0.body.c_str()).get_to(smContextUpdateData);
if (size > 0) {
nlohmann::json::parse(p0.body.c_str()).get_to(smContextUpdateData);
} else {
nlohmann::json::parse(request.body().c_str()).get_to(smContextUpdateData);
}
smContextUpdateMessage.setJsonData(smContextUpdateData);
if (size > 1) {
......
......@@ -31,14 +31,14 @@ void IndividualPDUSessionHSMFApiImpl::release_pdu_session(
const std::string &pduSessionRef, const ReleaseData &releaseData,
Pistache::Http::ResponseWriter &response) {
Logger::smf_api_server().info("release_pdu_session...");
response.send(Pistache::Http::Code::Ok,
response.send(Pistache::Http::Code::Not_Implemented,
"Release_pdu_session API has not been implemented yet!\n");
}
void IndividualPDUSessionHSMFApiImpl::update_pdu_session(
const std::string &pduSessionRef, const HsmfUpdateData &hsmfUpdateData,
Pistache::Http::ResponseWriter &response) {
Logger::smf_api_server().info("update_pdu_session...");
response.send(Pistache::Http::Code::Ok,
response.send(Pistache::Http::Code::Not_Implemented,
"Update_pdu_session API has not been implemented yet!\n");
}
......
......@@ -90,7 +90,7 @@ void IndividualSMContextApiImpl::retrieve_sm_context(
const SmContextRetrieveData &smContextRetrieveData,
Pistache::Http::ResponseWriter &response) {
Logger::smf_api_server().info("retrieve_sm_context...");
response.send(Pistache::Http::Code::Ok,
response.send(Pistache::Http::Code::Not_Implemented,
"Retrieve_sm_context API has not been implemented yet!\n");
}
......@@ -130,13 +130,13 @@ void IndividualSMContextApiImpl::update_sm_context(
/* UE-initiated Service Request Operation, section 4.2.3.2@3GPP TS 23.502 */
//Step 4: PDU Session IDs, Operation Type, UE location Info, Access Type, RAT Type, UE presence in LADN service area, Indication of Access Type can be changed
//PDU Session IDs
//UpCnxState, for activation of user plane (see 5.2.2.3.2.2@3GPP TS 29.502)
//UpCnxState, for activation of user plane (see 5.2.2.3.2.2@3GPP TS 29.502, step 1)
if (smContextUpdateData.upCnxStateIsSet())
sm_context_req_msg.set_upCnx_state(smContextUpdateData.getUpCnxState());
//Access Type
//Access Type (step 1 and 2)
if (smContextUpdateData.anTypeIsSet())
sm_context_req_msg.set_an_type(smContextUpdateData.getAnType());
//RAT Type
//RAT Type (step 1 and 2)
if (smContextUpdateData.ratTypeIsSet())
sm_context_req_msg.set_rat_type(smContextUpdateData.getRatType());
//TODO:
......@@ -150,6 +150,12 @@ void IndividualSMContextApiImpl::update_sm_context(
//TODO: Existing PDU session, step 3, SUPI, DNN, S-NSSAIs, SM Context ID, AMF ID, Request Type, N1 SM Container (PDU Session Establishment Request), User location, Access Type, RAT Type, PEI
//step 15. (SM Context ID -> SCID, N2 SM, Request Type)(Initial Request)
//TODO: verify why Request Type is not define in smContextUpdateData
/* AMF-initiated with a release indication to request the release of the PDU Session (step 3.d, section 4.3.4.2@3GPP TS 23.502)*/
if (smContextUpdateData.releaseIsSet()) {
sm_context_req_msg.set_release(smContextUpdateData.isRelease());
}
/* PDU Session Modification (SM Context ID -> SCID, N1/N2), section 4.3.3.2@3GPP TS 23.502: */
//step 1.a,UE-initiated: SM Context ID + N1 (PDU Session Modification Request)
//step 1.e (AN initiated modification): SM Context ID, N2 SM information (QFI, User location Information and an indication that the QoS Flow is released)
......
......@@ -31,7 +31,7 @@ void PDUSessionsCollectionApiImpl::post_pdu_sessions(
const PduSessionCreateData &pduSessionCreateData,
Pistache::Http::ResponseWriter &response) {
Logger::smf_api_server().info("post_pdu_sessions...");
response.send(Pistache::Http::Code::Ok,
response.send(Pistache::Http::Code::Not_Implemented,
"Post_pdu_sessions API has not been implemented yet!\n");
}
......
......@@ -48,7 +48,8 @@ typedef uint8_t pdu_session_id_t;
/* QFI */
// type: integer, minimum: 0, maximum: 63
#define QOS_FLOW_IDENTIFIER_FIRST (uint8_t)0
#define NO_QOS_FLOW_IDENTIFIER_ASSIGNED (uint8_t)0
#define QOS_FLOW_IDENTIFIER_FIRST (uint8_t)1
#define QOS_FLOW_IDENTIFIER_LAST (uint8_t)63
/*
......@@ -64,6 +65,12 @@ typedef uint8_t pdu_session_id_t;
} smf_qfi_t;
*/
//QoS Rule
#define NO_QOS_RULE_IDENTIFIER_ASSIGNED (uint8_t)0
#define QOS_RULE_IDENTIFIER_FIRST (uint8_t)1
#define QOS_RULE_IDENTIFIER_LAST (uint8_t)255
// Integrity protection maximum data rate
typedef struct ipmdr_s {
uint8_t ul;
......
......@@ -122,8 +122,10 @@ enum class session_management_procedures_type_e {
PDU_SESSION_RELEASE_UE_REQUESTED_STEP1 = 9,
PDU_SESSION_RELEASE_UE_REQUESTED_STEP2 = 10,
PDU_SESSION_RELEASE_UE_REQUESTED_STEP3 = 11,
PDU_SESSION_RELEASE_NETWORK_REQUESTED = 12,
PDU_SESSION_TEST = 13
PDU_SESSION_RELEASE_SMF_INITIATED = 12,
PDU_SESSION_RELEASE_AMF_INITIATED = 13,
PDU_SESSION_RELEASE_AN_INITIATED = 14,
PDU_SESSION_TEST = 15
};
static const std::vector<std::string> session_management_procedures_type_e2str =
......@@ -139,7 +141,9 @@ static const std::vector<std::string> session_management_procedures_type_e2str =
"PDU_SESSION_RELEASE_UE_REQUESTED_STEP1",
"PDU_SESSION_RELEASE_UE_REQUESTED_STEP2",
"PDU_SESSION_RELEASE_UE_REQUESTED_STEP3",
"PDU_SESSION_RELEASE_NETWORK_REQUESTED",
"PDU_SESSION_RELEASE_SMF_INITIATED",
"PDU_SESSION_RELEASE_AMF_INITIATED",
"PDU_SESSION_RELEASE_AN_INITIATED",
"PDU_SESSION_TEST"
};
......@@ -162,10 +166,10 @@ typedef struct qos_profile_s {
arp_5gc_t arp;
uint8_t priority_level;
qos_profile_type_e profile_type;
union parameter {
union {
reflective_qos_attribute_e rqa; //Reflective QoS Attribute (RQA)
qos_profile_gbr_t qos_profile_gbr; //Attributes for GBR
};
} parameter;
} qos_profile_t;
enum class multipart_related_content_part_e {
......
......@@ -109,7 +109,7 @@ extern "C" {
#define PDU_SESSION_MODIFICATION_REJECT 0b11001010
#define PDU_SESSION_MODIFICATION_COMMAND 0b11001011
#define PDU_SESSION_MODIFICATION_COMPLETE 0b11001100
#define PDU_SESSION_MODIFICATION_COMMANDREJECT 0b11001101
#define PDU_SESSION_MODIFICATION_COMMAND_REJECT 0b11001101
#define PDU_SESSION_RELEASE_REQUEST 0b11010001
#define PDU_SESSION_RELEASE_REJECT 0b11010010
......@@ -118,6 +118,7 @@ extern "C" {
#define _5GSM_STATUS 0b11010110
// 9.11.3.47 Request type
//typedef std::string request_type_t;
......@@ -226,7 +227,7 @@ enum class cause_value_5gsm_e {
CAUSE_46_OUT_OF_LAND_SERVICE_AREA = 46,
CAUSE_47_PTI_MISMATCH = 47,
CAUSE_50_PDU_SESSION_TYPE_IPV4_ONLY_ALLOWED = 50,
CAUSE_51_PDU_SESSION_TYPE_IPV6_ONLY_ALLOWED = 50,
CAUSE_51_PDU_SESSION_TYPE_IPV6_ONLY_ALLOWED = 51,
CAUSE_54_PDU_SESSION_DOES_NOT_EXIST = 54,
CAUSE_67_INSUFFICIENT_RESOURCES_FOR_SPECIFIC_SLICE_AND_DNN = 67,
CAUSE_68_NOT_SUPPORTED_SSC_MODE = 68,
......@@ -332,7 +333,6 @@ typedef struct pdu_session_type_s {
} pdu_session_type_t;
#endif
#endif
This diff is collapsed.
......@@ -106,7 +106,7 @@ int sm_msg_decode(SM_msg *msg, uint8_t *buffer, uint32_t len) {
decode_result = decode_pdu_session_modification_complete(
&msg->pdu_session_modification_complete, buffer, len);
break;
case PDU_SESSION_MODIFICATION_COMMANDREJECT:
case PDU_SESSION_MODIFICATION_COMMAND_REJECT:
decode_result = decode_pdu_session_modification_command_reject(
&msg->pdu_session_modification_command_reject, buffer, len);
break;
......@@ -218,7 +218,7 @@ int fivegsm_msg_encode(SM_msg *msg, uint8_t *buffer, uint32_t len) {
encode_result = encode_pdu_session_modification_complete(
&msg->pdu_session_modification_complete, buffer, len);
break;
case PDU_SESSION_MODIFICATION_COMMANDREJECT:
case PDU_SESSION_MODIFICATION_COMMAND_REJECT:
encode_result = encode_pdu_session_modification_command_reject(
&msg->pdu_session_modification_command_reject, buffer, len);
break;
......
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_CNAssistedRANTuning.h"
#include "Ngap_ExpectedUEBehaviour.h"
#include "Ngap_ProtocolExtensionContainer.h"
asn_TYPE_member_t asn_MBR_Ngap_CNAssistedRANTuning_1[] = {
{ ATF_POINTER, 2, offsetof(struct Ngap_CNAssistedRANTuning, expectedUEBehaviour),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ExpectedUEBehaviour,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"expectedUEBehaviour"
},
{ ATF_POINTER, 1, offsetof(struct Ngap_CNAssistedRANTuning, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P25,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"iE-Extensions"
},
};
static const int asn_MAP_Ngap_CNAssistedRANTuning_oms_1[] = { 0, 1 };
static const ber_tlv_tag_t asn_DEF_Ngap_CNAssistedRANTuning_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_Ngap_CNAssistedRANTuning_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* expectedUEBehaviour */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* iE-Extensions */
};
asn_SEQUENCE_specifics_t asn_SPC_Ngap_CNAssistedRANTuning_specs_1 = {
sizeof(struct Ngap_CNAssistedRANTuning),
offsetof(struct Ngap_CNAssistedRANTuning, _asn_ctx),
asn_MAP_Ngap_CNAssistedRANTuning_tag2el_1,
2, /* Count of tags in the map */
asn_MAP_Ngap_CNAssistedRANTuning_oms_1, /* Optional members */
2, 0, /* Root/Additions */
2, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_CNAssistedRANTuning = {
"CNAssistedRANTuning",
"CNAssistedRANTuning",
&asn_OP_SEQUENCE,
asn_DEF_Ngap_CNAssistedRANTuning_tags_1,
sizeof(asn_DEF_Ngap_CNAssistedRANTuning_tags_1)
/sizeof(asn_DEF_Ngap_CNAssistedRANTuning_tags_1[0]), /* 1 */
asn_DEF_Ngap_CNAssistedRANTuning_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_CNAssistedRANTuning_tags_1)
/sizeof(asn_DEF_Ngap_CNAssistedRANTuning_tags_1[0]), /* 1 */
{ 0, 0, SEQUENCE_constraint },
asn_MBR_Ngap_CNAssistedRANTuning_1,
2, /* Elements count */
&asn_SPC_Ngap_CNAssistedRANTuning_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_CNAssistedRANTuning_H_
#define _Ngap_CNAssistedRANTuning_H_
#include <asn_application.h>
/* Including external dependencies */
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct Ngap_ExpectedUEBehaviour;
struct Ngap_ProtocolExtensionContainer;
/* Ngap_CNAssistedRANTuning */
typedef struct Ngap_CNAssistedRANTuning {
struct Ngap_ExpectedUEBehaviour *expectedUEBehaviour; /* OPTIONAL */
struct Ngap_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_CNAssistedRANTuning_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_CNAssistedRANTuning;
extern asn_SEQUENCE_specifics_t asn_SPC_Ngap_CNAssistedRANTuning_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_CNAssistedRANTuning_1[2];
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_CNAssistedRANTuning_H_ */
#include <asn_internal.h>
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_CNTypeRestrictionsForEquivalent.h"
#include "Ngap_CNTypeRestrictionsForEquivalentItem.h"
static asn_oer_constraints_t asn_OER_type_Ngap_CNTypeRestrictionsForEquivalent_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1 /* (SIZE(1..15)) */};
asn_per_constraints_t asn_PER_type_Ngap_CNTypeRestrictionsForEquivalent_constr_1 CC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 4, 4, 1, 15 } /* (SIZE(1..15)) */,
0, 0 /* No PER value map */
};
asn_TYPE_member_t asn_MBR_Ngap_CNTypeRestrictionsForEquivalent_1[] = {
{ ATF_POINTER, 0, 0,
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
0,
&asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
""
},
};
static const ber_tlv_tag_t asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_SET_OF_specifics_t asn_SPC_Ngap_CNTypeRestrictionsForEquivalent_specs_1 = {
sizeof(struct Ngap_CNTypeRestrictionsForEquivalent),
offsetof(struct Ngap_CNTypeRestrictionsForEquivalent, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_CNTypeRestrictionsForEquivalent = {
"CNTypeRestrictionsForEquivalent",
"CNTypeRestrictionsForEquivalent",
&asn_OP_SEQUENCE_OF,
asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1,
sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1)
/sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1[0]), /* 1 */
asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1)
/sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1[0]), /* 1 */
{ &asn_OER_type_Ngap_CNTypeRestrictionsForEquivalent_constr_1, &asn_PER_type_Ngap_CNTypeRestrictionsForEquivalent_constr_1, SEQUENCE_OF_constraint },
asn_MBR_Ngap_CNTypeRestrictionsForEquivalent_1,
1, /* Single element */
&asn_SPC_Ngap_CNTypeRestrictionsForEquivalent_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_CNTypeRestrictionsForEquivalent_H_
#define _Ngap_CNTypeRestrictionsForEquivalent_H_
#include <asn_application.h>
/* Including external dependencies */
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct Ngap_CNTypeRestrictionsForEquivalentItem;
/* Ngap_CNTypeRestrictionsForEquivalent */
typedef struct Ngap_CNTypeRestrictionsForEquivalent {
A_SEQUENCE_OF(struct Ngap_CNTypeRestrictionsForEquivalentItem) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_CNTypeRestrictionsForEquivalent_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_CNTypeRestrictionsForEquivalent;
extern asn_SET_OF_specifics_t asn_SPC_Ngap_CNTypeRestrictionsForEquivalent_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_CNTypeRestrictionsForEquivalent_1[1];
extern asn_per_constraints_t asn_PER_type_Ngap_CNTypeRestrictionsForEquivalent_constr_1;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_CNTypeRestrictionsForEquivalent_H_ */
#include <asn_internal.h>
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_CNTypeRestrictionsForEquivalentItem.h"
#include "Ngap_ProtocolExtensionContainer.h"
/*
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static asn_oer_constraints_t asn_OER_type_Ngap_cn_Type_constr_3 CC_NOTUSED = {
{ 0, 0 },
-1};
static asn_per_constraints_t asn_PER_type_Ngap_cn_Type_constr_3 CC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_Ngap_cn_Type_value2enum_3[] = {
{ 0, 13, "epc-forbidden" },
{ 1, 16, "fiveGC-forbidden" }
/* This list is extensible */
};
static const unsigned int asn_MAP_Ngap_cn_Type_enum2value_3[] = {
0, /* epc-forbidden(0) */
1 /* fiveGC-forbidden(1) */
/* This list is extensible */
};
static const asn_INTEGER_specifics_t asn_SPC_Ngap_cn_Type_specs_3 = {
asn_MAP_Ngap_cn_Type_value2enum_3, /* "tag" => N; sorted by tag */
asn_MAP_Ngap_cn_Type_enum2value_3, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */
3, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
static const ber_tlv_tag_t asn_DEF_Ngap_cn_Type_tags_3[] = {
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_Ngap_cn_Type_3 = {
"cn-Type",
"cn-Type",
&asn_OP_NativeEnumerated,
asn_DEF_Ngap_cn_Type_tags_3,
sizeof(asn_DEF_Ngap_cn_Type_tags_3)
/sizeof(asn_DEF_Ngap_cn_Type_tags_3[0]) - 1, /* 1 */
asn_DEF_Ngap_cn_Type_tags_3, /* Same as above */
sizeof(asn_DEF_Ngap_cn_Type_tags_3)
/sizeof(asn_DEF_Ngap_cn_Type_tags_3[0]), /* 2 */
{ &asn_OER_type_Ngap_cn_Type_constr_3, &asn_PER_type_Ngap_cn_Type_constr_3, NativeEnumerated_constraint },
0, 0, /* Defined elsewhere */
&asn_SPC_Ngap_cn_Type_specs_3 /* Additional specs */
};
asn_TYPE_member_t asn_MBR_Ngap_CNTypeRestrictionsForEquivalentItem_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Ngap_CNTypeRestrictionsForEquivalentItem, plmnIdentity),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_PLMNIdentity,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"plmnIdentity"
},
{ ATF_NOFLAGS, 0, offsetof(struct Ngap_CNTypeRestrictionsForEquivalentItem, cn_Type),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_cn_Type_3,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"cn-Type"
},
{ ATF_POINTER, 1, offsetof(struct Ngap_CNTypeRestrictionsForEquivalentItem, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P26,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"iE-Extensions"
},
};
static const int asn_MAP_Ngap_CNTypeRestrictionsForEquivalentItem_oms_1[] = { 2 };
static const ber_tlv_tag_t asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_Ngap_CNTypeRestrictionsForEquivalentItem_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmnIdentity */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cn-Type */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
};
asn_SEQUENCE_specifics_t asn_SPC_Ngap_CNTypeRestrictionsForEquivalentItem_specs_1 = {
sizeof(struct Ngap_CNTypeRestrictionsForEquivalentItem),
offsetof(struct Ngap_CNTypeRestrictionsForEquivalentItem, _asn_ctx),
asn_MAP_Ngap_CNTypeRestrictionsForEquivalentItem_tag2el_1,
3, /* Count of tags in the map */
asn_MAP_Ngap_CNTypeRestrictionsForEquivalentItem_oms_1, /* Optional members */
1, 0, /* Root/Additions */
3, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem = {
"CNTypeRestrictionsForEquivalentItem",
"CNTypeRestrictionsForEquivalentItem",
&asn_OP_SEQUENCE,
asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1,
sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1)
/sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1[0]), /* 1 */
asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1)
/sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1[0]), /* 1 */
{ 0, 0, SEQUENCE_constraint },
asn_MBR_Ngap_CNTypeRestrictionsForEquivalentItem_1,
3, /* Elements count */
&asn_SPC_Ngap_CNTypeRestrictionsForEquivalentItem_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_CNTypeRestrictionsForEquivalentItem_H_
#define _Ngap_CNTypeRestrictionsForEquivalentItem_H_
#include <asn_application.h>
/* Including external dependencies */
#include "Ngap_PLMNIdentity.h"
#include <NativeEnumerated.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum Ngap_CNTypeRestrictionsForEquivalentItem__cn_Type {
Ngap_CNTypeRestrictionsForEquivalentItem__cn_Type_epc_forbidden = 0,
Ngap_CNTypeRestrictionsForEquivalentItem__cn_Type_fiveGC_forbidden = 1
/*
* Enumeration is extensible
*/
} e_Ngap_CNTypeRestrictionsForEquivalentItem__cn_Type;
/* Forward declarations */
struct Ngap_ProtocolExtensionContainer;
/* Ngap_CNTypeRestrictionsForEquivalentItem */
typedef struct Ngap_CNTypeRestrictionsForEquivalentItem {
Ngap_PLMNIdentity_t plmnIdentity;
long cn_Type;
struct Ngap_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_CNTypeRestrictionsForEquivalentItem_t;
/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_Ngap_cn_Type_3; // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem;
extern asn_SEQUENCE_specifics_t asn_SPC_Ngap_CNTypeRestrictionsForEquivalentItem_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_CNTypeRestrictionsForEquivalentItem_1[3];
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_CNTypeRestrictionsForEquivalentItem_H_ */
#include <asn_internal.h>
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_CNTypeRestrictionsForServing.h"
/*
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static asn_oer_constraints_t asn_OER_type_Ngap_CNTypeRestrictionsForServing_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_Ngap_CNTypeRestrictionsForServing_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_Ngap_CNTypeRestrictionsForServing_value2enum_1[] = {
{ 0, 13, "epc-forbidden" }
/* This list is extensible */
};
static const unsigned int asn_MAP_Ngap_CNTypeRestrictionsForServing_enum2value_1[] = {
0 /* epc-forbidden(0) */
/* This list is extensible */
};
const asn_INTEGER_specifics_t asn_SPC_Ngap_CNTypeRestrictionsForServing_specs_1 = {
asn_MAP_Ngap_CNTypeRestrictionsForServing_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_Ngap_CNTypeRestrictionsForServing_enum2value_1, /* N => "tag"; sorted by N */
1, /* Number of elements in the maps */
2, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
static const ber_tlv_tag_t asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Ngap_CNTypeRestrictionsForServing = {
"CNTypeRestrictionsForServing",
"CNTypeRestrictionsForServing",
&asn_OP_NativeEnumerated,
asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1,
sizeof(asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1)
/sizeof(asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1[0]), /* 1 */
asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1)
/sizeof(asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1[0]), /* 1 */
{ &asn_OER_type_Ngap_CNTypeRestrictionsForServing_constr_1, &asn_PER_type_Ngap_CNTypeRestrictionsForServing_constr_1, NativeEnumerated_constraint },
0, 0, /* Defined elsewhere */
&asn_SPC_Ngap_CNTypeRestrictionsForServing_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_CNTypeRestrictionsForServing_H_
#define _Ngap_CNTypeRestrictionsForServing_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeEnumerated.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum Ngap_CNTypeRestrictionsForServing {
Ngap_CNTypeRestrictionsForServing_epc_forbidden = 0
/*
* Enumeration is extensible
*/
} e_Ngap_CNTypeRestrictionsForServing;
/* Ngap_CNTypeRestrictionsForServing */
typedef long Ngap_CNTypeRestrictionsForServing_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_Ngap_CNTypeRestrictionsForServing_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_Ngap_CNTypeRestrictionsForServing;
extern const asn_INTEGER_specifics_t asn_SPC_Ngap_CNTypeRestrictionsForServing_specs_1;
asn_struct_free_f Ngap_CNTypeRestrictionsForServing_free;
asn_struct_print_f Ngap_CNTypeRestrictionsForServing_print;
asn_constr_check_f Ngap_CNTypeRestrictionsForServing_constraint;
ber_type_decoder_f Ngap_CNTypeRestrictionsForServing_decode_ber;
der_type_encoder_f Ngap_CNTypeRestrictionsForServing_encode_der;
xer_type_decoder_f Ngap_CNTypeRestrictionsForServing_decode_xer;
xer_type_encoder_f Ngap_CNTypeRestrictionsForServing_encode_xer;
oer_type_decoder_f Ngap_CNTypeRestrictionsForServing_decode_oer;
oer_type_encoder_f Ngap_CNTypeRestrictionsForServing_encode_oer;
per_type_decoder_f Ngap_CNTypeRestrictionsForServing_decode_uper;
per_type_encoder_f Ngap_CNTypeRestrictionsForServing_encode_uper;
per_type_decoder_f Ngap_CNTypeRestrictionsForServing_decode_aper;
per_type_encoder_f Ngap_CNTypeRestrictionsForServing_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_CNTypeRestrictionsForServing_H_ */
#include <asn_internal.h>
......@@ -96,7 +96,7 @@ asn_TYPE_member_t asn_MBR_Ngap_COUNTValueForPDCP_SN12_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_COUNTValueForPDCP_SN12, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P30,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P32,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -96,7 +96,7 @@ asn_TYPE_member_t asn_MBR_Ngap_COUNTValueForPDCP_SN18_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_COUNTValueForPDCP_SN18, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P31,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P33,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -66,7 +66,8 @@ static const asn_INTEGER_enum_map_t asn_MAP_Ngap_CauseRadioNetwork_value2enum_1[
{ 43, 43, "ue-max-integrity-protected-data-rate-reason" },
{ 44, 35, "release-due-to-cn-detected-mobility" },
{ 45, 27, "n26-interface-not-available" },
{ 46, 26, "release-due-to-pre-emption" }
{ 46, 26, "release-due-to-pre-emption" },
{ 47, 50, "multiple-location-reporting-reference-ID-instances" }
/* This list is extensible */
};
static const unsigned int asn_MAP_Ngap_CauseRadioNetwork_enum2value_1[] = {
......@@ -82,6 +83,7 @@ static const unsigned int asn_MAP_Ngap_CauseRadioNetwork_enum2value_1[] = {
25, /* interaction-with-other-procedure(25) */
23, /* invalid-qos-combination(23) */
28, /* multiple-PDU-session-ID-instances(28) */
47, /* multiple-location-reporting-reference-ID-instances(47) */
29, /* multiple-qos-flow-ID-instances(29) */
45, /* n26-interface-not-available(45) */
32, /* ng-inter-system-handover-triggered(32) */
......@@ -122,7 +124,7 @@ static const unsigned int asn_MAP_Ngap_CauseRadioNetwork_enum2value_1[] = {
const asn_INTEGER_specifics_t asn_SPC_Ngap_CauseRadioNetwork_specs_1 = {
asn_MAP_Ngap_CauseRadioNetwork_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_Ngap_CauseRadioNetwork_enum2value_1, /* N => "tag"; sorted by N */
47, /* Number of elements in the maps */
48, /* Number of elements in the maps */
46, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
......
......@@ -69,7 +69,8 @@ typedef enum Ngap_CauseRadioNetwork {
* Enumeration is extensible
*/
Ngap_CauseRadioNetwork_n26_interface_not_available = 45,
Ngap_CauseRadioNetwork_release_due_to_pre_emption = 46
Ngap_CauseRadioNetwork_release_due_to_pre_emption = 46,
Ngap_CauseRadioNetwork_multiple_location_reporting_reference_ID_instances = 47
} e_Ngap_CauseRadioNetwork;
/* Ngap_CauseRadioNetwork */
......
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_CommonNetworkInstance.h"
/*
* This type is implemented using OCTET_STRING,
* so here we adjust the DEF accordingly.
*/
static const ber_tlv_tag_t asn_DEF_Ngap_CommonNetworkInstance_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Ngap_CommonNetworkInstance = {
"CommonNetworkInstance",
"CommonNetworkInstance",
&asn_OP_OCTET_STRING,
asn_DEF_Ngap_CommonNetworkInstance_tags_1,
sizeof(asn_DEF_Ngap_CommonNetworkInstance_tags_1)
/sizeof(asn_DEF_Ngap_CommonNetworkInstance_tags_1[0]), /* 1 */
asn_DEF_Ngap_CommonNetworkInstance_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_CommonNetworkInstance_tags_1)
/sizeof(asn_DEF_Ngap_CommonNetworkInstance_tags_1[0]), /* 1 */
{ 0, 0, OCTET_STRING_constraint },
0, 0, /* No members */
&asn_SPC_OCTET_STRING_specs /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_CommonNetworkInstance_H_
#define _Ngap_CommonNetworkInstance_H_
#include <asn_application.h>
/* Including external dependencies */
#include <OCTET_STRING.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Ngap_CommonNetworkInstance */
typedef OCTET_STRING_t Ngap_CommonNetworkInstance_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_CommonNetworkInstance;
asn_struct_free_f Ngap_CommonNetworkInstance_free;
asn_struct_print_f Ngap_CommonNetworkInstance_print;
asn_constr_check_f Ngap_CommonNetworkInstance_constraint;
ber_type_decoder_f Ngap_CommonNetworkInstance_decode_ber;
der_type_encoder_f Ngap_CommonNetworkInstance_encode_der;
xer_type_decoder_f Ngap_CommonNetworkInstance_decode_xer;
xer_type_encoder_f Ngap_CommonNetworkInstance_encode_xer;
oer_type_decoder_f Ngap_CommonNetworkInstance_decode_oer;
oer_type_encoder_f Ngap_CommonNetworkInstance_encode_oer;
per_type_decoder_f Ngap_CommonNetworkInstance_decode_uper;
per_type_encoder_f Ngap_CommonNetworkInstance_encode_uper;
per_type_decoder_f Ngap_CommonNetworkInstance_decode_aper;
per_type_encoder_f Ngap_CommonNetworkInstance_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_CommonNetworkInstance_H_ */
#include <asn_internal.h>
......@@ -21,7 +21,7 @@ asn_TYPE_member_t asn_MBR_Ngap_CompletedCellsInEAI_EUTRA_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_CompletedCellsInEAI_EUTRA_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P25,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P27,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -21,7 +21,7 @@ asn_TYPE_member_t asn_MBR_Ngap_CompletedCellsInEAI_NR_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_CompletedCellsInEAI_NR_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P26,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P28,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -21,7 +21,7 @@ asn_TYPE_member_t asn_MBR_Ngap_CompletedCellsInTAI_EUTRA_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_CompletedCellsInTAI_EUTRA_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P27,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P29,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -21,7 +21,7 @@ asn_TYPE_member_t asn_MBR_Ngap_CompletedCellsInTAI_NR_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_CompletedCellsInTAI_NR_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P28,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P30,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_ConfiguredNSSAI.h"
int
Ngap_ConfiguredNSSAI_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
size_t size;
if(!sptr) {
ASN__CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
size = st->size;
if((size == 128)) {
/* Constraint check succeeded */
return 0;
} else {
ASN__CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
/*
* This type is implemented using OCTET_STRING,
* so here we adjust the DEF accordingly.
*/
static asn_oer_constraints_t asn_OER_type_Ngap_ConfiguredNSSAI_constr_1 CC_NOTUSED = {
{ 0, 0 },
128 /* (SIZE(128..128)) */};
asn_per_constraints_t asn_PER_type_Ngap_ConfiguredNSSAI_constr_1 CC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 128, 128 } /* (SIZE(128..128)) */,
0, 0 /* No PER value map */
};
static const ber_tlv_tag_t asn_DEF_Ngap_ConfiguredNSSAI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Ngap_ConfiguredNSSAI = {
"ConfiguredNSSAI",
"ConfiguredNSSAI",
&asn_OP_OCTET_STRING,
asn_DEF_Ngap_ConfiguredNSSAI_tags_1,
sizeof(asn_DEF_Ngap_ConfiguredNSSAI_tags_1)
/sizeof(asn_DEF_Ngap_ConfiguredNSSAI_tags_1[0]), /* 1 */
asn_DEF_Ngap_ConfiguredNSSAI_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_ConfiguredNSSAI_tags_1)
/sizeof(asn_DEF_Ngap_ConfiguredNSSAI_tags_1[0]), /* 1 */
{ &asn_OER_type_Ngap_ConfiguredNSSAI_constr_1, &asn_PER_type_Ngap_ConfiguredNSSAI_constr_1, Ngap_ConfiguredNSSAI_constraint },
0, 0, /* No members */
&asn_SPC_OCTET_STRING_specs /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_ConfiguredNSSAI_H_
#define _Ngap_ConfiguredNSSAI_H_
#include <asn_application.h>
/* Including external dependencies */
#include <OCTET_STRING.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Ngap_ConfiguredNSSAI */
typedef OCTET_STRING_t Ngap_ConfiguredNSSAI_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_Ngap_ConfiguredNSSAI_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_Ngap_ConfiguredNSSAI;
asn_struct_free_f Ngap_ConfiguredNSSAI_free;
asn_struct_print_f Ngap_ConfiguredNSSAI_print;
asn_constr_check_f Ngap_ConfiguredNSSAI_constraint;
ber_type_decoder_f Ngap_ConfiguredNSSAI_decode_ber;
der_type_encoder_f Ngap_ConfiguredNSSAI_encode_der;
xer_type_decoder_f Ngap_ConfiguredNSSAI_decode_xer;
xer_type_encoder_f Ngap_ConfiguredNSSAI_encode_xer;
oer_type_decoder_f Ngap_ConfiguredNSSAI_decode_oer;
oer_type_encoder_f Ngap_ConfiguredNSSAI_encode_oer;
per_type_decoder_f Ngap_ConfiguredNSSAI_decode_uper;
per_type_encoder_f Ngap_ConfiguredNSSAI_encode_uper;
per_type_decoder_f Ngap_ConfiguredNSSAI_decode_aper;
per_type_encoder_f Ngap_ConfiguredNSSAI_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_ConfiguredNSSAI_H_ */
#include <asn_internal.h>
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_CoreNetworkAssistanceInformationForInactive.h"
#include "Ngap_ExpectedUEBehaviour.h"
#include "Ngap_ProtocolExtensionContainer.h"
asn_TYPE_member_t asn_MBR_Ngap_CoreNetworkAssistanceInformationForInactive_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Ngap_CoreNetworkAssistanceInformationForInactive, uEIdentityIndexValue),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_Ngap_UEIdentityIndexValue,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"uEIdentityIndexValue"
},
{ ATF_POINTER, 1, offsetof(struct Ngap_CoreNetworkAssistanceInformationForInactive, uESpecificDRX),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_PagingDRX,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"uESpecificDRX"
},
{ ATF_NOFLAGS, 0, offsetof(struct Ngap_CoreNetworkAssistanceInformationForInactive, periodicRegistrationUpdateTimer),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_PeriodicRegistrationUpdateTimer,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"periodicRegistrationUpdateTimer"
},
{ ATF_POINTER, 1, offsetof(struct Ngap_CoreNetworkAssistanceInformationForInactive, mICOModeIndication),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_MICOModeIndication,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"mICOModeIndication"
},
{ ATF_NOFLAGS, 0, offsetof(struct Ngap_CoreNetworkAssistanceInformationForInactive, tAIListForInactive),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_TAIListForInactive,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"tAIListForInactive"
},
{ ATF_POINTER, 2, offsetof(struct Ngap_CoreNetworkAssistanceInformationForInactive, expectedUEBehaviour),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ExpectedUEBehaviour,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"expectedUEBehaviour"
},
{ ATF_POINTER, 1, offsetof(struct Ngap_CoreNetworkAssistanceInformationForInactive, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P31,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"iE-Extensions"
},
};
static const int asn_MAP_Ngap_CoreNetworkAssistanceInformationForInactive_oms_1[] = { 1, 3, 5, 6 };
static const ber_tlv_tag_t asn_DEF_Ngap_CoreNetworkAssistanceInformationForInactive_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_Ngap_CoreNetworkAssistanceInformationForInactive_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* uEIdentityIndexValue */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* uESpecificDRX */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* periodicRegistrationUpdateTimer */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* mICOModeIndication */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* tAIListForInactive */
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* expectedUEBehaviour */
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* iE-Extensions */
};
asn_SEQUENCE_specifics_t asn_SPC_Ngap_CoreNetworkAssistanceInformationForInactive_specs_1 = {
sizeof(struct Ngap_CoreNetworkAssistanceInformationForInactive),
offsetof(struct Ngap_CoreNetworkAssistanceInformationForInactive, _asn_ctx),
asn_MAP_Ngap_CoreNetworkAssistanceInformationForInactive_tag2el_1,
7, /* Count of tags in the map */
asn_MAP_Ngap_CoreNetworkAssistanceInformationForInactive_oms_1, /* Optional members */
4, 0, /* Root/Additions */
7, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_CoreNetworkAssistanceInformationForInactive = {
"CoreNetworkAssistanceInformationForInactive",
"CoreNetworkAssistanceInformationForInactive",
&asn_OP_SEQUENCE,
asn_DEF_Ngap_CoreNetworkAssistanceInformationForInactive_tags_1,
sizeof(asn_DEF_Ngap_CoreNetworkAssistanceInformationForInactive_tags_1)
/sizeof(asn_DEF_Ngap_CoreNetworkAssistanceInformationForInactive_tags_1[0]), /* 1 */
asn_DEF_Ngap_CoreNetworkAssistanceInformationForInactive_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_CoreNetworkAssistanceInformationForInactive_tags_1)
/sizeof(asn_DEF_Ngap_CoreNetworkAssistanceInformationForInactive_tags_1[0]), /* 1 */
{ 0, 0, SEQUENCE_constraint },
asn_MBR_Ngap_CoreNetworkAssistanceInformationForInactive_1,
7, /* Elements count */
&asn_SPC_Ngap_CoreNetworkAssistanceInformationForInactive_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_CoreNetworkAssistanceInformationForInactive_H_
#define _Ngap_CoreNetworkAssistanceInformationForInactive_H_
#include <asn_application.h>
/* Including external dependencies */
#include "Ngap_UEIdentityIndexValue.h"
#include "Ngap_PagingDRX.h"
#include "Ngap_PeriodicRegistrationUpdateTimer.h"
#include "Ngap_MICOModeIndication.h"
#include "Ngap_TAIListForInactive.h"
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct Ngap_ExpectedUEBehaviour;
struct Ngap_ProtocolExtensionContainer;
/* Ngap_CoreNetworkAssistanceInformationForInactive */
typedef struct Ngap_CoreNetworkAssistanceInformationForInactive {
Ngap_UEIdentityIndexValue_t uEIdentityIndexValue;
Ngap_PagingDRX_t *uESpecificDRX; /* OPTIONAL */
Ngap_PeriodicRegistrationUpdateTimer_t periodicRegistrationUpdateTimer;
Ngap_MICOModeIndication_t *mICOModeIndication; /* OPTIONAL */
Ngap_TAIListForInactive_t tAIListForInactive;
struct Ngap_ExpectedUEBehaviour *expectedUEBehaviour; /* OPTIONAL */
struct Ngap_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_CoreNetworkAssistanceInformationForInactive_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_CoreNetworkAssistanceInformationForInactive;
extern asn_SEQUENCE_specifics_t asn_SPC_Ngap_CoreNetworkAssistanceInformationForInactive_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_CoreNetworkAssistanceInformationForInactive_1[7];
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_CoreNetworkAssistanceInformationForInactive_H_ */
#include <asn_internal.h>
......@@ -39,7 +39,7 @@ asn_TYPE_member_t asn_MBR_Ngap_CriticalityDiagnostics_IE_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_CriticalityDiagnostics_IE_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P33,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P35,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -49,7 +49,7 @@ asn_TYPE_member_t asn_MBR_Ngap_CriticalityDiagnostics_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_CriticalityDiagnostics, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P32,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P34,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -21,7 +21,7 @@ asn_TYPE_member_t asn_MBR_Ngap_DRBStatusDL12_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_DRBStatusDL12, iE_Extension),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P36,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P39,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -21,7 +21,7 @@ asn_TYPE_member_t asn_MBR_Ngap_DRBStatusDL18_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_DRBStatusDL18, iE_Extension),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P37,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P40,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -69,7 +69,7 @@ asn_TYPE_member_t asn_MBR_Ngap_DRBStatusUL12_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_DRBStatusUL12, iE_Extension),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P38,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P41,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -69,7 +69,7 @@ asn_TYPE_member_t asn_MBR_Ngap_DRBStatusUL18_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_DRBStatusUL18, iE_Extension),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P39,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P42,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -39,7 +39,7 @@ asn_TYPE_member_t asn_MBR_Ngap_DRBsSubjectToStatusTransferItem_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_DRBsSubjectToStatusTransferItem, iE_Extension),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P35,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P38,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_DRBsToQosFlowsMappingItem_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_DRBsToQosFlowsMappingItem, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P40,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P43,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -40,7 +40,7 @@ asn_TYPE_member_t asn_MBR_Ngap_DataForwardingResponseDRBItem_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_DataForwardingResponseDRBItem, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P34,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P36,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_DataForwardingResponseERABList.h"
#include "Ngap_DataForwardingResponseERABListItem.h"
static asn_oer_constraints_t asn_OER_type_Ngap_DataForwardingResponseERABList_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1 /* (SIZE(1..256)) */};
asn_per_constraints_t asn_PER_type_Ngap_DataForwardingResponseERABList_constr_1 CC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 8, 8, 1, 256 } /* (SIZE(1..256)) */,
0, 0 /* No PER value map */
};
asn_TYPE_member_t asn_MBR_Ngap_DataForwardingResponseERABList_1[] = {
{ ATF_POINTER, 0, 0,
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
0,
&asn_DEF_Ngap_DataForwardingResponseERABListItem,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
""
},
};
static const ber_tlv_tag_t asn_DEF_Ngap_DataForwardingResponseERABList_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_SET_OF_specifics_t asn_SPC_Ngap_DataForwardingResponseERABList_specs_1 = {
sizeof(struct Ngap_DataForwardingResponseERABList),
offsetof(struct Ngap_DataForwardingResponseERABList, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_DataForwardingResponseERABList = {
"DataForwardingResponseERABList",
"DataForwardingResponseERABList",
&asn_OP_SEQUENCE_OF,
asn_DEF_Ngap_DataForwardingResponseERABList_tags_1,
sizeof(asn_DEF_Ngap_DataForwardingResponseERABList_tags_1)
/sizeof(asn_DEF_Ngap_DataForwardingResponseERABList_tags_1[0]), /* 1 */
asn_DEF_Ngap_DataForwardingResponseERABList_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_DataForwardingResponseERABList_tags_1)
/sizeof(asn_DEF_Ngap_DataForwardingResponseERABList_tags_1[0]), /* 1 */
{ &asn_OER_type_Ngap_DataForwardingResponseERABList_constr_1, &asn_PER_type_Ngap_DataForwardingResponseERABList_constr_1, SEQUENCE_OF_constraint },
asn_MBR_Ngap_DataForwardingResponseERABList_1,
1, /* Single element */
&asn_SPC_Ngap_DataForwardingResponseERABList_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_DataForwardingResponseERABList_H_
#define _Ngap_DataForwardingResponseERABList_H_
#include <asn_application.h>
/* Including external dependencies */
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct Ngap_DataForwardingResponseERABListItem;
/* Ngap_DataForwardingResponseERABList */
typedef struct Ngap_DataForwardingResponseERABList {
A_SEQUENCE_OF(struct Ngap_DataForwardingResponseERABListItem) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_DataForwardingResponseERABList_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_DataForwardingResponseERABList;
extern asn_SET_OF_specifics_t asn_SPC_Ngap_DataForwardingResponseERABList_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_DataForwardingResponseERABList_1[1];
extern asn_per_constraints_t asn_PER_type_Ngap_DataForwardingResponseERABList_constr_1;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_DataForwardingResponseERABList_H_ */
#include <asn_internal.h>
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_DataForwardingResponseERABListItem.h"
#include "Ngap_ProtocolExtensionContainer.h"
asn_TYPE_member_t asn_MBR_Ngap_DataForwardingResponseERABListItem_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Ngap_DataForwardingResponseERABListItem, e_RAB_ID),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_E_RAB_ID,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"e-RAB-ID"
},
{ ATF_POINTER, 2, offsetof(struct Ngap_DataForwardingResponseERABListItem, dLForwarding),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_DLForwarding,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"dLForwarding"
},
{ ATF_POINTER, 1, offsetof(struct Ngap_DataForwardingResponseERABListItem, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P37,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"iE-Extensions"
},
};
static const int asn_MAP_Ngap_DataForwardingResponseERABListItem_oms_1[] = { 1, 2 };
static const ber_tlv_tag_t asn_DEF_Ngap_DataForwardingResponseERABListItem_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_Ngap_DataForwardingResponseERABListItem_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-RAB-ID */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* dLForwarding */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
};
asn_SEQUENCE_specifics_t asn_SPC_Ngap_DataForwardingResponseERABListItem_specs_1 = {
sizeof(struct Ngap_DataForwardingResponseERABListItem),
offsetof(struct Ngap_DataForwardingResponseERABListItem, _asn_ctx),
asn_MAP_Ngap_DataForwardingResponseERABListItem_tag2el_1,
3, /* Count of tags in the map */
asn_MAP_Ngap_DataForwardingResponseERABListItem_oms_1, /* Optional members */
2, 0, /* Root/Additions */
3, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_DataForwardingResponseERABListItem = {
"DataForwardingResponseERABListItem",
"DataForwardingResponseERABListItem",
&asn_OP_SEQUENCE,
asn_DEF_Ngap_DataForwardingResponseERABListItem_tags_1,
sizeof(asn_DEF_Ngap_DataForwardingResponseERABListItem_tags_1)
/sizeof(asn_DEF_Ngap_DataForwardingResponseERABListItem_tags_1[0]), /* 1 */
asn_DEF_Ngap_DataForwardingResponseERABListItem_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_DataForwardingResponseERABListItem_tags_1)
/sizeof(asn_DEF_Ngap_DataForwardingResponseERABListItem_tags_1[0]), /* 1 */
{ 0, 0, SEQUENCE_constraint },
asn_MBR_Ngap_DataForwardingResponseERABListItem_1,
3, /* Elements count */
&asn_SPC_Ngap_DataForwardingResponseERABListItem_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_DataForwardingResponseERABListItem_H_
#define _Ngap_DataForwardingResponseERABListItem_H_
#include <asn_application.h>
/* Including external dependencies */
#include "Ngap_E-RAB-ID.h"
#include "Ngap_DLForwarding.h"
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct Ngap_ProtocolExtensionContainer;
/* Ngap_DataForwardingResponseERABListItem */
typedef struct Ngap_DataForwardingResponseERABListItem {
Ngap_E_RAB_ID_t e_RAB_ID;
Ngap_DLForwarding_t *dLForwarding; /* OPTIONAL */
struct Ngap_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_DataForwardingResponseERABListItem_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_DataForwardingResponseERABListItem;
extern asn_SEQUENCE_specifics_t asn_SPC_Ngap_DataForwardingResponseERABListItem_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_DataForwardingResponseERABListItem_1[3];
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_DataForwardingResponseERABListItem_H_ */
#include <asn_internal.h>
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-PDU-Contents"
* found in "asn.1/PDU Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_DownlinkRIMInformationTransfer.h"
asn_TYPE_member_t asn_MBR_Ngap_DownlinkRIMInformationTransfer_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Ngap_DownlinkRIMInformationTransfer, protocolIEs),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolIE_Container_124P81,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"protocolIEs"
},
};
static const ber_tlv_tag_t asn_DEF_Ngap_DownlinkRIMInformationTransfer_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_Ngap_DownlinkRIMInformationTransfer_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */
};
asn_SEQUENCE_specifics_t asn_SPC_Ngap_DownlinkRIMInformationTransfer_specs_1 = {
sizeof(struct Ngap_DownlinkRIMInformationTransfer),
offsetof(struct Ngap_DownlinkRIMInformationTransfer, _asn_ctx),
asn_MAP_Ngap_DownlinkRIMInformationTransfer_tag2el_1,
1, /* Count of tags in the map */
0, 0, 0, /* Optional elements (not needed) */
1, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_DownlinkRIMInformationTransfer = {
"DownlinkRIMInformationTransfer",
"DownlinkRIMInformationTransfer",
&asn_OP_SEQUENCE,
asn_DEF_Ngap_DownlinkRIMInformationTransfer_tags_1,
sizeof(asn_DEF_Ngap_DownlinkRIMInformationTransfer_tags_1)
/sizeof(asn_DEF_Ngap_DownlinkRIMInformationTransfer_tags_1[0]), /* 1 */
asn_DEF_Ngap_DownlinkRIMInformationTransfer_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_DownlinkRIMInformationTransfer_tags_1)
/sizeof(asn_DEF_Ngap_DownlinkRIMInformationTransfer_tags_1[0]), /* 1 */
{ 0, 0, SEQUENCE_constraint },
asn_MBR_Ngap_DownlinkRIMInformationTransfer_1,
1, /* Elements count */
&asn_SPC_Ngap_DownlinkRIMInformationTransfer_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-PDU-Contents"
* found in "asn.1/PDU Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_DownlinkRIMInformationTransfer_H_
#define _Ngap_DownlinkRIMInformationTransfer_H_
#include <asn_application.h>
/* Including external dependencies */
#include "Ngap_ProtocolIE-Container.h"
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Ngap_DownlinkRIMInformationTransfer */
typedef struct Ngap_DownlinkRIMInformationTransfer {
Ngap_ProtocolIE_Container_124P81_t protocolIEs;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_DownlinkRIMInformationTransfer_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_DownlinkRIMInformationTransfer;
extern asn_SEQUENCE_specifics_t asn_SPC_Ngap_DownlinkRIMInformationTransfer_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_DownlinkRIMInformationTransfer_1[1];
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_DownlinkRIMInformationTransfer_H_ */
#include <asn_internal.h>
......@@ -75,7 +75,7 @@ asn_TYPE_member_t asn_MBR_Ngap_Dynamic5QIDescriptor_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_Dynamic5QIDescriptor, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (7 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P41,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P44,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_E_RABInformationItem_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_E_RABInformationItem, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P48,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P52,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_EPS_TAI_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_EPS_TAI, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P47,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P51,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_EUTRA_CGI_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_EUTRA_CGI, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P49,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P53,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_EmergencyAreaIDBroadcastEUTRA_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_EmergencyAreaIDBroadcastEUTRA_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P42,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P45,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_EmergencyAreaIDBroadcastNR_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_EmergencyAreaIDBroadcastNR_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P43,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P46,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_EmergencyAreaIDCancelledEUTRA_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_EmergencyAreaIDCancelledEUTRA_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P44,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P47,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_EmergencyAreaIDCancelledNR_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_EmergencyAreaIDCancelledNR_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P45,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P48,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_EmergencyFallbackIndicator_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_EmergencyFallbackIndicator, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P46,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P49,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_EndpointIPAddressAndPort.h"
#include "Ngap_ProtocolExtensionContainer.h"
asn_TYPE_member_t asn_MBR_Ngap_EndpointIPAddressAndPort_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Ngap_EndpointIPAddressAndPort, endpointIPAddress),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_TransportLayerAddress,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"endpointIPAddress"
},
{ ATF_NOFLAGS, 0, offsetof(struct Ngap_EndpointIPAddressAndPort, portNumber),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_PortNumber,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"portNumber"
},
{ ATF_POINTER, 1, offsetof(struct Ngap_EndpointIPAddressAndPort, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P50,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"iE-Extensions"
},
};
static const int asn_MAP_Ngap_EndpointIPAddressAndPort_oms_1[] = { 2 };
static const ber_tlv_tag_t asn_DEF_Ngap_EndpointIPAddressAndPort_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_Ngap_EndpointIPAddressAndPort_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endpointIPAddress */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* portNumber */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
};
asn_SEQUENCE_specifics_t asn_SPC_Ngap_EndpointIPAddressAndPort_specs_1 = {
sizeof(struct Ngap_EndpointIPAddressAndPort),
offsetof(struct Ngap_EndpointIPAddressAndPort, _asn_ctx),
asn_MAP_Ngap_EndpointIPAddressAndPort_tag2el_1,
3, /* Count of tags in the map */
asn_MAP_Ngap_EndpointIPAddressAndPort_oms_1, /* Optional members */
1, 0, /* Root/Additions */
-1, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_EndpointIPAddressAndPort = {
"EndpointIPAddressAndPort",
"EndpointIPAddressAndPort",
&asn_OP_SEQUENCE,
asn_DEF_Ngap_EndpointIPAddressAndPort_tags_1,
sizeof(asn_DEF_Ngap_EndpointIPAddressAndPort_tags_1)
/sizeof(asn_DEF_Ngap_EndpointIPAddressAndPort_tags_1[0]), /* 1 */
asn_DEF_Ngap_EndpointIPAddressAndPort_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_EndpointIPAddressAndPort_tags_1)
/sizeof(asn_DEF_Ngap_EndpointIPAddressAndPort_tags_1[0]), /* 1 */
{ 0, 0, SEQUENCE_constraint },
asn_MBR_Ngap_EndpointIPAddressAndPort_1,
3, /* Elements count */
&asn_SPC_Ngap_EndpointIPAddressAndPort_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_EndpointIPAddressAndPort_H_
#define _Ngap_EndpointIPAddressAndPort_H_
#include <asn_application.h>
/* Including external dependencies */
#include "Ngap_TransportLayerAddress.h"
#include "Ngap_PortNumber.h"
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct Ngap_ProtocolExtensionContainer;
/* Ngap_EndpointIPAddressAndPort */
typedef struct Ngap_EndpointIPAddressAndPort {
Ngap_TransportLayerAddress_t endpointIPAddress;
Ngap_PortNumber_t portNumber;
struct Ngap_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_EndpointIPAddressAndPort_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_EndpointIPAddressAndPort;
extern asn_SEQUENCE_specifics_t asn_SPC_Ngap_EndpointIPAddressAndPort_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_EndpointIPAddressAndPort_1[3];
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_EndpointIPAddressAndPort_H_ */
#include <asn_internal.h>
......@@ -39,7 +39,7 @@ asn_TYPE_member_t asn_MBR_Ngap_ExpectedUEActivityBehaviour_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_ExpectedUEActivityBehaviour, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P50,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P54,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -50,7 +50,7 @@ asn_TYPE_member_t asn_MBR_Ngap_ExpectedUEBehaviour_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_ExpectedUEBehaviour, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P51,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P55,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -63,7 +63,7 @@ asn_TYPE_member_t asn_MBR_Ngap_ExpectedUEMovingTrajectoryItem_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_ExpectedUEMovingTrajectoryItem, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P52,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P56,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -39,7 +39,7 @@ asn_TYPE_member_t asn_MBR_Ngap_FiveG_S_TMSI_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_FiveG_S_TMSI, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P53,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P57,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_ForbiddenAreaInformation_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_ForbiddenAreaInformation_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P54,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P58,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -75,7 +75,7 @@ asn_TYPE_member_t asn_MBR_Ngap_GBR_QosInformation_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_GBR_QosInformation, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (7 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P55,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P59,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_GNBSetID.h"
int
Ngap_GNBSetID_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
ASN__CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 22)) {
/* Constraint check succeeded */
return 0;
} else {
ASN__CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
/*
* This type is implemented using BIT_STRING,
* so here we adjust the DEF accordingly.
*/
static asn_oer_constraints_t asn_OER_type_Ngap_GNBSetID_constr_1 CC_NOTUSED = {
{ 0, 0 },
22 /* (SIZE(22..22)) */};
asn_per_constraints_t asn_PER_type_Ngap_GNBSetID_constr_1 CC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 22, 22 } /* (SIZE(22..22)) */,
0, 0 /* No PER value map */
};
static const ber_tlv_tag_t asn_DEF_Ngap_GNBSetID_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Ngap_GNBSetID = {
"GNBSetID",
"GNBSetID",
&asn_OP_BIT_STRING,
asn_DEF_Ngap_GNBSetID_tags_1,
sizeof(asn_DEF_Ngap_GNBSetID_tags_1)
/sizeof(asn_DEF_Ngap_GNBSetID_tags_1[0]), /* 1 */
asn_DEF_Ngap_GNBSetID_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_GNBSetID_tags_1)
/sizeof(asn_DEF_Ngap_GNBSetID_tags_1[0]), /* 1 */
{ &asn_OER_type_Ngap_GNBSetID_constr_1, &asn_PER_type_Ngap_GNBSetID_constr_1, Ngap_GNBSetID_constraint },
0, 0, /* No members */
&asn_SPC_BIT_STRING_specs /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_GNBSetID_H_
#define _Ngap_GNBSetID_H_
#include <asn_application.h>
/* Including external dependencies */
#include <BIT_STRING.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Ngap_GNBSetID */
typedef BIT_STRING_t Ngap_GNBSetID_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_Ngap_GNBSetID_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_Ngap_GNBSetID;
asn_struct_free_f Ngap_GNBSetID_free;
asn_struct_print_f Ngap_GNBSetID_print;
asn_constr_check_f Ngap_GNBSetID_constraint;
ber_type_decoder_f Ngap_GNBSetID_decode_ber;
der_type_encoder_f Ngap_GNBSetID_encode_der;
xer_type_decoder_f Ngap_GNBSetID_decode_xer;
xer_type_encoder_f Ngap_GNBSetID_encode_xer;
oer_type_decoder_f Ngap_GNBSetID_decode_oer;
oer_type_encoder_f Ngap_GNBSetID_encode_oer;
per_type_decoder_f Ngap_GNBSetID_decode_uper;
per_type_encoder_f Ngap_GNBSetID_encode_uper;
per_type_decoder_f Ngap_GNBSetID_decode_aper;
per_type_encoder_f Ngap_GNBSetID_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_GNBSetID_H_ */
#include <asn_internal.h>
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_GTPTunnel_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_GTPTunnel, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P59,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P63,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -48,7 +48,7 @@ asn_TYPE_member_t asn_MBR_Ngap_GUAMI_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_GUAMI, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P60,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P64,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_GUAMIType.h"
/*
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static asn_oer_constraints_t asn_OER_type_Ngap_GUAMIType_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_Ngap_GUAMIType_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_Ngap_GUAMIType_value2enum_1[] = {
{ 0, 6, "native" },
{ 1, 6, "mapped" }
/* This list is extensible */
};
static const unsigned int asn_MAP_Ngap_GUAMIType_enum2value_1[] = {
1, /* mapped(1) */
0 /* native(0) */
/* This list is extensible */
};
const asn_INTEGER_specifics_t asn_SPC_Ngap_GUAMIType_specs_1 = {
asn_MAP_Ngap_GUAMIType_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_Ngap_GUAMIType_enum2value_1, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */
3, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
static const ber_tlv_tag_t asn_DEF_Ngap_GUAMIType_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Ngap_GUAMIType = {
"GUAMIType",
"GUAMIType",
&asn_OP_NativeEnumerated,
asn_DEF_Ngap_GUAMIType_tags_1,
sizeof(asn_DEF_Ngap_GUAMIType_tags_1)
/sizeof(asn_DEF_Ngap_GUAMIType_tags_1[0]), /* 1 */
asn_DEF_Ngap_GUAMIType_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_GUAMIType_tags_1)
/sizeof(asn_DEF_Ngap_GUAMIType_tags_1[0]), /* 1 */
{ &asn_OER_type_Ngap_GUAMIType_constr_1, &asn_PER_type_Ngap_GUAMIType_constr_1, NativeEnumerated_constraint },
0, 0, /* Defined elsewhere */
&asn_SPC_Ngap_GUAMIType_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_GUAMIType_H_
#define _Ngap_GUAMIType_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeEnumerated.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum Ngap_GUAMIType {
Ngap_GUAMIType_native = 0,
Ngap_GUAMIType_mapped = 1
/*
* Enumeration is extensible
*/
} e_Ngap_GUAMIType;
/* Ngap_GUAMIType */
typedef long Ngap_GUAMIType_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_Ngap_GUAMIType_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_Ngap_GUAMIType;
extern const asn_INTEGER_specifics_t asn_SPC_Ngap_GUAMIType_specs_1;
asn_struct_free_f Ngap_GUAMIType_free;
asn_struct_print_f Ngap_GUAMIType_print;
asn_constr_check_f Ngap_GUAMIType_constraint;
ber_type_decoder_f Ngap_GUAMIType_decode_ber;
der_type_encoder_f Ngap_GUAMIType_encode_der;
xer_type_decoder_f Ngap_GUAMIType_decode_xer;
xer_type_encoder_f Ngap_GUAMIType_encode_xer;
oer_type_decoder_f Ngap_GUAMIType_decode_oer;
oer_type_encoder_f Ngap_GUAMIType_encode_oer;
per_type_decoder_f Ngap_GUAMIType_decode_uper;
per_type_encoder_f Ngap_GUAMIType_encode_uper;
per_type_decoder_f Ngap_GUAMIType_decode_aper;
per_type_encoder_f Ngap_GUAMIType_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_GUAMIType_H_ */
#include <asn_internal.h>
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_GlobalGNB_ID_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_GlobalGNB_ID, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P56,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P60,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_GlobalN3IWF_ID_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_GlobalN3IWF_ID, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P57,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P61,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_GlobalNgENB_ID_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_GlobalNgENB_ID, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P58,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P62,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -42,7 +42,7 @@ static asn_TYPE_member_t asn_MBR_Ngap_HandoverCommandTransfer_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_HandoverCommandTransfer, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P61,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P65,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -21,7 +21,7 @@ static asn_TYPE_member_t asn_MBR_Ngap_HandoverPreparationUnsuccessfulTransfer_1[
{ ATF_POINTER, 1, offsetof(struct Ngap_HandoverPreparationUnsuccessfulTransfer, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P62,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P66,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -70,7 +70,7 @@ static asn_TYPE_member_t asn_MBR_Ngap_HandoverRequestAcknowledgeTransfer_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_HandoverRequestAcknowledgeTransfer, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P63,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P67,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -21,7 +21,7 @@ static asn_TYPE_member_t asn_MBR_Ngap_HandoverRequiredTransfer_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_HandoverRequiredTransfer, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P64,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P68,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -31,7 +31,7 @@ static asn_TYPE_member_t asn_MBR_Ngap_HandoverResourceAllocationUnsuccessfulTran
{ ATF_POINTER, 1, offsetof(struct Ngap_HandoverResourceAllocationUnsuccessfulTransfer, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P65,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P69,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_InfoOnRecommendedCellsAndRANNodesForPaging_1[] =
{ ATF_POINTER, 1, offsetof(struct Ngap_InfoOnRecommendedCellsAndRANNodesForPaging, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P66,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P70,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
This diff is collapsed.
......@@ -95,6 +95,8 @@
#include "Ngap_UplinkRANConfigurationTransfer.h"
#include "Ngap_UplinkRANStatusTransfer.h"
#include "Ngap_UplinkUEAssociatedNRPPaTransport.h"
#include "Ngap_UplinkRIMInformationTransfer.h"
#include "Ngap_DownlinkRIMInformationTransfer.h"
#include <OPEN_TYPE.h>
#include <constr_CHOICE.h>
#include <constr_SEQUENCE.h>
......@@ -158,7 +160,9 @@ typedef enum Ngap_InitiatingMessage__value_PR {
Ngap_InitiatingMessage__value_PR_UplinkNonUEAssociatedNRPPaTransport,
Ngap_InitiatingMessage__value_PR_UplinkRANConfigurationTransfer,
Ngap_InitiatingMessage__value_PR_UplinkRANStatusTransfer,
Ngap_InitiatingMessage__value_PR_UplinkUEAssociatedNRPPaTransport
Ngap_InitiatingMessage__value_PR_UplinkUEAssociatedNRPPaTransport,
Ngap_InitiatingMessage__value_PR_UplinkRIMInformationTransfer,
Ngap_InitiatingMessage__value_PR_DownlinkRIMInformationTransfer
} Ngap_InitiatingMessage__value_PR;
/* Ngap_InitiatingMessage */
......@@ -221,6 +225,8 @@ typedef struct Ngap_InitiatingMessage {
Ngap_UplinkRANConfigurationTransfer_t UplinkRANConfigurationTransfer;
Ngap_UplinkRANStatusTransfer_t UplinkRANStatusTransfer;
Ngap_UplinkUEAssociatedNRPPaTransport_t UplinkUEAssociatedNRPPaTransport;
Ngap_UplinkRIMInformationTransfer_t UplinkRIMInformationTransfer;
Ngap_DownlinkRIMInformationTransfer_t DownlinkRIMInformationTransfer;
} choice;
/* Context for parsing across buffer boundaries */
......
......@@ -21,7 +21,7 @@ asn_TYPE_member_t asn_MBR_Ngap_LastVisitedCellItem_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_LastVisitedCellItem, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P67,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P71,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -58,7 +58,7 @@ asn_TYPE_member_t asn_MBR_Ngap_LastVisitedNGRANCellInformation_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_LastVisitedNGRANCellInformation, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P68,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P72,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_LocationReportingAdditionalInfo.h"
/*
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static asn_oer_constraints_t asn_OER_type_Ngap_LocationReportingAdditionalInfo_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_Ngap_LocationReportingAdditionalInfo_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_Ngap_LocationReportingAdditionalInfo_value2enum_1[] = {
{ 0, 13, "includePSCell" }
/* This list is extensible */
};
static const unsigned int asn_MAP_Ngap_LocationReportingAdditionalInfo_enum2value_1[] = {
0 /* includePSCell(0) */
/* This list is extensible */
};
const asn_INTEGER_specifics_t asn_SPC_Ngap_LocationReportingAdditionalInfo_specs_1 = {
asn_MAP_Ngap_LocationReportingAdditionalInfo_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_Ngap_LocationReportingAdditionalInfo_enum2value_1, /* N => "tag"; sorted by N */
1, /* Number of elements in the maps */
2, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
static const ber_tlv_tag_t asn_DEF_Ngap_LocationReportingAdditionalInfo_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Ngap_LocationReportingAdditionalInfo = {
"LocationReportingAdditionalInfo",
"LocationReportingAdditionalInfo",
&asn_OP_NativeEnumerated,
asn_DEF_Ngap_LocationReportingAdditionalInfo_tags_1,
sizeof(asn_DEF_Ngap_LocationReportingAdditionalInfo_tags_1)
/sizeof(asn_DEF_Ngap_LocationReportingAdditionalInfo_tags_1[0]), /* 1 */
asn_DEF_Ngap_LocationReportingAdditionalInfo_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_LocationReportingAdditionalInfo_tags_1)
/sizeof(asn_DEF_Ngap_LocationReportingAdditionalInfo_tags_1[0]), /* 1 */
{ &asn_OER_type_Ngap_LocationReportingAdditionalInfo_constr_1, &asn_PER_type_Ngap_LocationReportingAdditionalInfo_constr_1, NativeEnumerated_constraint },
0, 0, /* Defined elsewhere */
&asn_SPC_Ngap_LocationReportingAdditionalInfo_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_LocationReportingAdditionalInfo_H_
#define _Ngap_LocationReportingAdditionalInfo_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeEnumerated.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum Ngap_LocationReportingAdditionalInfo {
Ngap_LocationReportingAdditionalInfo_includePSCell = 0
/*
* Enumeration is extensible
*/
} e_Ngap_LocationReportingAdditionalInfo;
/* Ngap_LocationReportingAdditionalInfo */
typedef long Ngap_LocationReportingAdditionalInfo_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_Ngap_LocationReportingAdditionalInfo_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_Ngap_LocationReportingAdditionalInfo;
extern const asn_INTEGER_specifics_t asn_SPC_Ngap_LocationReportingAdditionalInfo_specs_1;
asn_struct_free_f Ngap_LocationReportingAdditionalInfo_free;
asn_struct_print_f Ngap_LocationReportingAdditionalInfo_print;
asn_constr_check_f Ngap_LocationReportingAdditionalInfo_constraint;
ber_type_decoder_f Ngap_LocationReportingAdditionalInfo_decode_ber;
der_type_encoder_f Ngap_LocationReportingAdditionalInfo_encode_der;
xer_type_decoder_f Ngap_LocationReportingAdditionalInfo_decode_xer;
xer_type_encoder_f Ngap_LocationReportingAdditionalInfo_encode_xer;
oer_type_decoder_f Ngap_LocationReportingAdditionalInfo_decode_oer;
oer_type_encoder_f Ngap_LocationReportingAdditionalInfo_encode_oer;
per_type_decoder_f Ngap_LocationReportingAdditionalInfo_decode_uper;
per_type_encoder_f Ngap_LocationReportingAdditionalInfo_encode_uper;
per_type_decoder_f Ngap_LocationReportingAdditionalInfo_decode_aper;
per_type_encoder_f Ngap_LocationReportingAdditionalInfo_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_LocationReportingAdditionalInfo_H_ */
#include <asn_internal.h>
......@@ -49,7 +49,7 @@ asn_TYPE_member_t asn_MBR_Ngap_LocationReportingRequestType_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_LocationReportingRequestType, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P69,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P73,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -21,7 +21,7 @@ Ngap_MaximumDataBurstVolume_constraint(const asn_TYPE_descriptor_t *td, const vo
value = *(const long *)sptr;
if((value >= 0 && value <= 4095)) {
if((value >= 0 && value <= 2000000)) {
/* Constraint check succeeded */
return 0;
} else {
......@@ -40,7 +40,7 @@ static asn_oer_constraints_t asn_OER_type_Ngap_MaximumDataBurstVolume_constr_1 C
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_Ngap_MaximumDataBurstVolume_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 12, 12, 0, 4095 } /* (0..4095,...) */,
{ APC_CONSTRAINED | APC_EXTENSIBLE, 21, -1, 0, 2000000 } /* (0..2000000,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
......
......@@ -61,7 +61,7 @@ asn_TYPE_member_t asn_MBR_Ngap_MobilityRestrictionList_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_MobilityRestrictionList, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P70,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P74,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_NGRAN-TNLAssociationToRemoveItem.h"
#include "Ngap_CPTransportLayerInformation.h"
#include "Ngap_ProtocolExtensionContainer.h"
asn_TYPE_member_t asn_MBR_Ngap_NGRAN_TNLAssociationToRemoveItem_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Ngap_NGRAN_TNLAssociationToRemoveItem, tNLAssociationTransportLayerAddress),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_Ngap_CPTransportLayerInformation,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"tNLAssociationTransportLayerAddress"
},
{ ATF_POINTER, 2, offsetof(struct Ngap_NGRAN_TNLAssociationToRemoveItem, tNLAssociationTransportLayerAddressAMF),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_Ngap_CPTransportLayerInformation,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"tNLAssociationTransportLayerAddressAMF"
},
{ ATF_POINTER, 1, offsetof(struct Ngap_NGRAN_TNLAssociationToRemoveItem, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P75,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"iE-Extensions"
},
};
static const int asn_MAP_Ngap_NGRAN_TNLAssociationToRemoveItem_oms_1[] = { 1, 2 };
static const ber_tlv_tag_t asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveItem_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_Ngap_NGRAN_TNLAssociationToRemoveItem_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* tNLAssociationTransportLayerAddress */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* tNLAssociationTransportLayerAddressAMF */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
};
asn_SEQUENCE_specifics_t asn_SPC_Ngap_NGRAN_TNLAssociationToRemoveItem_specs_1 = {
sizeof(struct Ngap_NGRAN_TNLAssociationToRemoveItem),
offsetof(struct Ngap_NGRAN_TNLAssociationToRemoveItem, _asn_ctx),
asn_MAP_Ngap_NGRAN_TNLAssociationToRemoveItem_tag2el_1,
3, /* Count of tags in the map */
asn_MAP_Ngap_NGRAN_TNLAssociationToRemoveItem_oms_1, /* Optional members */
2, 0, /* Root/Additions */
-1, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveItem = {
"NGRAN-TNLAssociationToRemoveItem",
"NGRAN-TNLAssociationToRemoveItem",
&asn_OP_SEQUENCE,
asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveItem_tags_1,
sizeof(asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveItem_tags_1)
/sizeof(asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveItem_tags_1[0]), /* 1 */
asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveItem_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveItem_tags_1)
/sizeof(asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveItem_tags_1[0]), /* 1 */
{ 0, 0, SEQUENCE_constraint },
asn_MBR_Ngap_NGRAN_TNLAssociationToRemoveItem_1,
3, /* Elements count */
&asn_SPC_Ngap_NGRAN_TNLAssociationToRemoveItem_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_NGRAN_TNLAssociationToRemoveItem_H_
#define _Ngap_NGRAN_TNLAssociationToRemoveItem_H_
#include <asn_application.h>
/* Including external dependencies */
#include "Ngap_CPTransportLayerInformation.h"
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct Ngap_CPTransportLayerInformation;
struct Ngap_ProtocolExtensionContainer;
/* Ngap_NGRAN-TNLAssociationToRemoveItem */
typedef struct Ngap_NGRAN_TNLAssociationToRemoveItem {
Ngap_CPTransportLayerInformation_t tNLAssociationTransportLayerAddress;
struct Ngap_CPTransportLayerInformation *tNLAssociationTransportLayerAddressAMF; /* OPTIONAL */
struct Ngap_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_NGRAN_TNLAssociationToRemoveItem_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveItem;
extern asn_SEQUENCE_specifics_t asn_SPC_Ngap_NGRAN_TNLAssociationToRemoveItem_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_NGRAN_TNLAssociationToRemoveItem_1[3];
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_NGRAN_TNLAssociationToRemoveItem_H_ */
#include <asn_internal.h>
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_NGRAN-TNLAssociationToRemoveList.h"
#include "Ngap_NGRAN-TNLAssociationToRemoveItem.h"
static asn_oer_constraints_t asn_OER_type_Ngap_NGRAN_TNLAssociationToRemoveList_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1 /* (SIZE(1..32)) */};
asn_per_constraints_t asn_PER_type_Ngap_NGRAN_TNLAssociationToRemoveList_constr_1 CC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */,
0, 0 /* No PER value map */
};
asn_TYPE_member_t asn_MBR_Ngap_NGRAN_TNLAssociationToRemoveList_1[] = {
{ ATF_POINTER, 0, 0,
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
0,
&asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveItem,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
""
},
};
static const ber_tlv_tag_t asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveList_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_SET_OF_specifics_t asn_SPC_Ngap_NGRAN_TNLAssociationToRemoveList_specs_1 = {
sizeof(struct Ngap_NGRAN_TNLAssociationToRemoveList),
offsetof(struct Ngap_NGRAN_TNLAssociationToRemoveList, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveList = {
"NGRAN-TNLAssociationToRemoveList",
"NGRAN-TNLAssociationToRemoveList",
&asn_OP_SEQUENCE_OF,
asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveList_tags_1,
sizeof(asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveList_tags_1)
/sizeof(asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveList_tags_1[0]), /* 1 */
asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveList_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveList_tags_1)
/sizeof(asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveList_tags_1[0]), /* 1 */
{ &asn_OER_type_Ngap_NGRAN_TNLAssociationToRemoveList_constr_1, &asn_PER_type_Ngap_NGRAN_TNLAssociationToRemoveList_constr_1, SEQUENCE_OF_constraint },
asn_MBR_Ngap_NGRAN_TNLAssociationToRemoveList_1,
1, /* Single element */
&asn_SPC_Ngap_NGRAN_TNLAssociationToRemoveList_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_NGRAN_TNLAssociationToRemoveList_H_
#define _Ngap_NGRAN_TNLAssociationToRemoveList_H_
#include <asn_application.h>
/* Including external dependencies */
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct Ngap_NGRAN_TNLAssociationToRemoveItem;
/* Ngap_NGRAN-TNLAssociationToRemoveList */
typedef struct Ngap_NGRAN_TNLAssociationToRemoveList {
A_SEQUENCE_OF(struct Ngap_NGRAN_TNLAssociationToRemoveItem) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_NGRAN_TNLAssociationToRemoveList_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_NGRAN_TNLAssociationToRemoveList;
extern asn_SET_OF_specifics_t asn_SPC_Ngap_NGRAN_TNLAssociationToRemoveList_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_NGRAN_TNLAssociationToRemoveList_1[1];
extern asn_per_constraints_t asn_PER_type_Ngap_NGRAN_TNLAssociationToRemoveList_constr_1;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_NGRAN_TNLAssociationToRemoveList_H_ */
#include <asn_internal.h>
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_NR_CGI_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_NR_CGI, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P72,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P77,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -48,7 +48,7 @@ asn_TYPE_member_t asn_MBR_Ngap_NonDynamic5QIDescriptor_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_NonDynamic5QIDescriptor, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P71,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P76,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -40,7 +40,7 @@ asn_TYPE_member_t asn_MBR_Ngap_OverloadStartNSSAIItem_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_OverloadStartNSSAIItem, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P73,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P78,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -30,7 +30,7 @@ asn_TYPE_member_t asn_MBR_Ngap_PDUSessionAggregateMaximumBitRate_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_PDUSessionAggregateMaximumBitRate, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P80,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P85,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -59,7 +59,7 @@ asn_TYPE_member_t asn_MBR_Ngap_PDUSessionResourceAdmittedItem_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_PDUSessionResourceAdmittedItem, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P81,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P86,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -59,7 +59,7 @@ asn_TYPE_member_t asn_MBR_Ngap_PDUSessionResourceFailedToModifyItemModCfm_1[] =
{ ATF_POINTER, 1, offsetof(struct Ngap_PDUSessionResourceFailedToModifyItemModCfm, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P82,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P87,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -59,7 +59,7 @@ asn_TYPE_member_t asn_MBR_Ngap_PDUSessionResourceFailedToModifyItemModRes_1[] =
{ ATF_POINTER, 1, offsetof(struct Ngap_PDUSessionResourceFailedToModifyItemModRes, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P83,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P88,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -59,7 +59,7 @@ asn_TYPE_member_t asn_MBR_Ngap_PDUSessionResourceFailedToSetupItemCxtFail_1[] =
{ ATF_POINTER, 1, offsetof(struct Ngap_PDUSessionResourceFailedToSetupItemCxtFail, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P84,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P89,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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