2 * Copyright 2019 AT&T Intellectual Property
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 * platform project (RICP).
25 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
26 * From ASN.1 module "X2AP-PDU-Contents"
27 * found in "../../asnFiles/X2AP-PDU-Contents.asn"
28 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
31 #include "UE-ContextInformation.h"
33 #include "HandoverRestrictionList.h"
34 #include "LocationReportingInformation.h"
35 #include "ProtocolExtensionContainer.h"
36 static asn_TYPE_member_t asn_MBR_UE_ContextInformation_1[] = {
37 { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, mME_UE_S1AP_ID),
38 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
39 -1, /* IMPLICIT tag at current level */
43 0, 0, /* No default value */
46 { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, uESecurityCapabilities),
47 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
48 -1, /* IMPLICIT tag at current level */
49 &asn_DEF_UESecurityCapabilities,
52 0, 0, /* No default value */
53 "uESecurityCapabilities"
55 { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, aS_SecurityInformation),
56 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
57 -1, /* IMPLICIT tag at current level */
58 &asn_DEF_AS_SecurityInformation,
61 0, 0, /* No default value */
62 "aS-SecurityInformation"
64 { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, uEaggregateMaximumBitRate),
65 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
66 -1, /* IMPLICIT tag at current level */
67 &asn_DEF_UEAggregateMaximumBitRate,
70 0, 0, /* No default value */
71 "uEaggregateMaximumBitRate"
73 { ATF_POINTER, 1, offsetof(struct UE_ContextInformation, subscriberProfileIDforRFP),
74 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
75 -1, /* IMPLICIT tag at current level */
76 &asn_DEF_SubscriberProfileIDforRFP,
79 0, 0, /* No default value */
80 "subscriberProfileIDforRFP"
82 { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, e_RABs_ToBeSetup_List),
83 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
84 -1, /* IMPLICIT tag at current level */
85 &asn_DEF_E_RABs_ToBeSetup_List,
88 0, 0, /* No default value */
89 "e-RABs-ToBeSetup-List"
91 { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, rRC_Context),
92 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
93 -1, /* IMPLICIT tag at current level */
97 0, 0, /* No default value */
100 { ATF_POINTER, 3, offsetof(struct UE_ContextInformation, handoverRestrictionList),
101 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
102 -1, /* IMPLICIT tag at current level */
103 &asn_DEF_HandoverRestrictionList,
106 0, 0, /* No default value */
107 "handoverRestrictionList"
109 { ATF_POINTER, 2, offsetof(struct UE_ContextInformation, locationReportingInformation),
110 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
111 -1, /* IMPLICIT tag at current level */
112 &asn_DEF_LocationReportingInformation,
115 0, 0, /* No default value */
116 "locationReportingInformation"
118 { ATF_POINTER, 1, offsetof(struct UE_ContextInformation, iE_Extensions),
119 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
120 -1, /* IMPLICIT tag at current level */
121 &asn_DEF_ProtocolExtensionContainer_170P0,
124 0, 0, /* No default value */
128 static const int asn_MAP_UE_ContextInformation_oms_1[] = { 4, 7, 8, 9 };
129 static const ber_tlv_tag_t asn_DEF_UE_ContextInformation_tags_1[] = {
130 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
132 static const asn_TYPE_tag2member_t asn_MAP_UE_ContextInformation_tag2el_1[] = {
133 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mME-UE-S1AP-ID */
134 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* uESecurityCapabilities */
135 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* aS-SecurityInformation */
136 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* uEaggregateMaximumBitRate */
137 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* subscriberProfileIDforRFP */
138 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* e-RABs-ToBeSetup-List */
139 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* rRC-Context */
140 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* handoverRestrictionList */
141 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* locationReportingInformation */
142 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* iE-Extensions */
144 static asn_SEQUENCE_specifics_t asn_SPC_UE_ContextInformation_specs_1 = {
145 sizeof(struct UE_ContextInformation),
146 offsetof(struct UE_ContextInformation, _asn_ctx),
147 asn_MAP_UE_ContextInformation_tag2el_1,
148 10, /* Count of tags in the map */
149 asn_MAP_UE_ContextInformation_oms_1, /* Optional members */
150 4, 0, /* Root/Additions */
151 10, /* First extension addition */
153 asn_TYPE_descriptor_t asn_DEF_UE_ContextInformation = {
154 "UE-ContextInformation",
155 "UE-ContextInformation",
157 asn_DEF_UE_ContextInformation_tags_1,
158 sizeof(asn_DEF_UE_ContextInformation_tags_1)
159 /sizeof(asn_DEF_UE_ContextInformation_tags_1[0]), /* 1 */
160 asn_DEF_UE_ContextInformation_tags_1, /* Same as above */
161 sizeof(asn_DEF_UE_ContextInformation_tags_1)
162 /sizeof(asn_DEF_UE_ContextInformation_tags_1[0]), /* 1 */
163 { 0, 0, SEQUENCE_constraint },
164 asn_MBR_UE_ContextInformation_1,
165 10, /* Elements count */
166 &asn_SPC_UE_ContextInformation_specs_1 /* Additional specs */