1 /*****************************************************************************
3 # Copyright 2019 AT&T Intellectual Property *
5 # Licensed under the Apache License, Version 2.0 (the "License"); *
6 # you may not use this file except in compliance with the License. *
7 # You may obtain a copy of the License at *
9 # http://www.apache.org/licenses/LICENSE-2.0 *
11 # Unless required by applicable law or agreed to in writing, software *
12 # distributed under the License is distributed on an "AS IS" BASIS, *
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
14 # See the License for the specific language governing permissions and *
15 # limitations under the License. *
17 ******************************************************************************/
20 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
21 * From ASN.1 module "X2AP-PDU-Contents"
22 * found in "../../asnFiles/X2AP-PDU-Contents.asn"
23 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
26 #include "UE-ContextInformation.h"
28 #include "HandoverRestrictionList.h"
29 #include "LocationReportingInformation.h"
30 #include "ProtocolExtensionContainer.h"
31 static asn_TYPE_member_t asn_MBR_UE_ContextInformation_1[] = {
32 { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, mME_UE_S1AP_ID),
33 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
34 -1, /* IMPLICIT tag at current level */
38 0, 0, /* No default value */
41 { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, uESecurityCapabilities),
42 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
43 -1, /* IMPLICIT tag at current level */
44 &asn_DEF_UESecurityCapabilities,
47 0, 0, /* No default value */
48 "uESecurityCapabilities"
50 { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, aS_SecurityInformation),
51 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
52 -1, /* IMPLICIT tag at current level */
53 &asn_DEF_AS_SecurityInformation,
56 0, 0, /* No default value */
57 "aS-SecurityInformation"
59 { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, uEaggregateMaximumBitRate),
60 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
61 -1, /* IMPLICIT tag at current level */
62 &asn_DEF_UEAggregateMaximumBitRate,
65 0, 0, /* No default value */
66 "uEaggregateMaximumBitRate"
68 { ATF_POINTER, 1, offsetof(struct UE_ContextInformation, subscriberProfileIDforRFP),
69 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
70 -1, /* IMPLICIT tag at current level */
71 &asn_DEF_SubscriberProfileIDforRFP,
74 0, 0, /* No default value */
75 "subscriberProfileIDforRFP"
77 { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, e_RABs_ToBeSetup_List),
78 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
79 -1, /* IMPLICIT tag at current level */
80 &asn_DEF_E_RABs_ToBeSetup_List,
83 0, 0, /* No default value */
84 "e-RABs-ToBeSetup-List"
86 { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, rRC_Context),
87 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
88 -1, /* IMPLICIT tag at current level */
92 0, 0, /* No default value */
95 { ATF_POINTER, 3, offsetof(struct UE_ContextInformation, handoverRestrictionList),
96 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
97 -1, /* IMPLICIT tag at current level */
98 &asn_DEF_HandoverRestrictionList,
101 0, 0, /* No default value */
102 "handoverRestrictionList"
104 { ATF_POINTER, 2, offsetof(struct UE_ContextInformation, locationReportingInformation),
105 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
106 -1, /* IMPLICIT tag at current level */
107 &asn_DEF_LocationReportingInformation,
110 0, 0, /* No default value */
111 "locationReportingInformation"
113 { ATF_POINTER, 1, offsetof(struct UE_ContextInformation, iE_Extensions),
114 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
115 -1, /* IMPLICIT tag at current level */
116 &asn_DEF_ProtocolExtensionContainer_170P0,
119 0, 0, /* No default value */
123 static const int asn_MAP_UE_ContextInformation_oms_1[] = { 4, 7, 8, 9 };
124 static const ber_tlv_tag_t asn_DEF_UE_ContextInformation_tags_1[] = {
125 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
127 static const asn_TYPE_tag2member_t asn_MAP_UE_ContextInformation_tag2el_1[] = {
128 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mME-UE-S1AP-ID */
129 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* uESecurityCapabilities */
130 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* aS-SecurityInformation */
131 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* uEaggregateMaximumBitRate */
132 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* subscriberProfileIDforRFP */
133 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* e-RABs-ToBeSetup-List */
134 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* rRC-Context */
135 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* handoverRestrictionList */
136 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* locationReportingInformation */
137 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* iE-Extensions */
139 static asn_SEQUENCE_specifics_t asn_SPC_UE_ContextInformation_specs_1 = {
140 sizeof(struct UE_ContextInformation),
141 offsetof(struct UE_ContextInformation, _asn_ctx),
142 asn_MAP_UE_ContextInformation_tag2el_1,
143 10, /* Count of tags in the map */
144 asn_MAP_UE_ContextInformation_oms_1, /* Optional members */
145 4, 0, /* Root/Additions */
146 10, /* First extension addition */
148 asn_TYPE_descriptor_t asn_DEF_UE_ContextInformation = {
149 "UE-ContextInformation",
150 "UE-ContextInformation",
152 asn_DEF_UE_ContextInformation_tags_1,
153 sizeof(asn_DEF_UE_ContextInformation_tags_1)
154 /sizeof(asn_DEF_UE_ContextInformation_tags_1[0]), /* 1 */
155 asn_DEF_UE_ContextInformation_tags_1, /* Same as above */
156 sizeof(asn_DEF_UE_ContextInformation_tags_1)
157 /sizeof(asn_DEF_UE_ContextInformation_tags_1[0]), /* 1 */
158 { 0, 0, SEQUENCE_constraint },
159 asn_MBR_UE_ContextInformation_1,
160 10, /* Elements count */
161 &asn_SPC_UE_ContextInformation_specs_1 /* Additional specs */