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-IEs"
22 * found in "../../asnFiles/X2AP-IEs.asn"
23 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
26 #include "EN-DC-ResourceConfiguration.h"
28 #include "ProtocolExtensionContainer.h"
30 * This type is implemented using NativeEnumerated,
31 * so here we adjust the DEF accordingly.
34 * This type is implemented using NativeEnumerated,
35 * so here we adjust the DEF accordingly.
38 * This type is implemented using NativeEnumerated,
39 * so here we adjust the DEF accordingly.
41 static asn_per_constraints_t asn_PER_type_pDCPatSgNB_constr_2 CC_NOTUSED = {
42 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
43 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
44 0, 0 /* No PER value map */
46 static asn_per_constraints_t asn_PER_type_mCGresources_constr_6 CC_NOTUSED = {
47 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
48 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
49 0, 0 /* No PER value map */
51 static asn_per_constraints_t asn_PER_type_sCGresources_constr_10 CC_NOTUSED = {
52 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
53 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
54 0, 0 /* No PER value map */
56 static const asn_INTEGER_enum_map_t asn_MAP_pDCPatSgNB_value2enum_2[] = {
58 { 1, 11, "not-present" }
59 /* This list is extensible */
61 static const unsigned int asn_MAP_pDCPatSgNB_enum2value_2[] = {
62 1, /* not-present(1) */
64 /* This list is extensible */
66 static const asn_INTEGER_specifics_t asn_SPC_pDCPatSgNB_specs_2 = {
67 asn_MAP_pDCPatSgNB_value2enum_2, /* "tag" => N; sorted by tag */
68 asn_MAP_pDCPatSgNB_enum2value_2, /* N => "tag"; sorted by N */
69 2, /* Number of elements in the maps */
70 3, /* Extensions before this member */
71 1, /* Strict enumeration */
72 0, /* Native long size */
75 static const ber_tlv_tag_t asn_DEF_pDCPatSgNB_tags_2[] = {
76 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
77 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
79 static /* Use -fall-defs-global to expose */
80 asn_TYPE_descriptor_t asn_DEF_pDCPatSgNB_2 = {
83 &asn_OP_NativeEnumerated,
84 asn_DEF_pDCPatSgNB_tags_2,
85 sizeof(asn_DEF_pDCPatSgNB_tags_2)
86 /sizeof(asn_DEF_pDCPatSgNB_tags_2[0]) - 1, /* 1 */
87 asn_DEF_pDCPatSgNB_tags_2, /* Same as above */
88 sizeof(asn_DEF_pDCPatSgNB_tags_2)
89 /sizeof(asn_DEF_pDCPatSgNB_tags_2[0]), /* 2 */
90 { 0, &asn_PER_type_pDCPatSgNB_constr_2, NativeEnumerated_constraint },
91 0, 0, /* Defined elsewhere */
92 &asn_SPC_pDCPatSgNB_specs_2 /* Additional specs */
95 static const asn_INTEGER_enum_map_t asn_MAP_mCGresources_value2enum_6[] = {
97 { 1, 11, "not-present" }
98 /* This list is extensible */
100 static const unsigned int asn_MAP_mCGresources_enum2value_6[] = {
101 1, /* not-present(1) */
103 /* This list is extensible */
105 static const asn_INTEGER_specifics_t asn_SPC_mCGresources_specs_6 = {
106 asn_MAP_mCGresources_value2enum_6, /* "tag" => N; sorted by tag */
107 asn_MAP_mCGresources_enum2value_6, /* N => "tag"; sorted by N */
108 2, /* Number of elements in the maps */
109 3, /* Extensions before this member */
110 1, /* Strict enumeration */
111 0, /* Native long size */
114 static const ber_tlv_tag_t asn_DEF_mCGresources_tags_6[] = {
115 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
116 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
118 static /* Use -fall-defs-global to expose */
119 asn_TYPE_descriptor_t asn_DEF_mCGresources_6 = {
122 &asn_OP_NativeEnumerated,
123 asn_DEF_mCGresources_tags_6,
124 sizeof(asn_DEF_mCGresources_tags_6)
125 /sizeof(asn_DEF_mCGresources_tags_6[0]) - 1, /* 1 */
126 asn_DEF_mCGresources_tags_6, /* Same as above */
127 sizeof(asn_DEF_mCGresources_tags_6)
128 /sizeof(asn_DEF_mCGresources_tags_6[0]), /* 2 */
129 { 0, &asn_PER_type_mCGresources_constr_6, NativeEnumerated_constraint },
130 0, 0, /* Defined elsewhere */
131 &asn_SPC_mCGresources_specs_6 /* Additional specs */
134 static const asn_INTEGER_enum_map_t asn_MAP_sCGresources_value2enum_10[] = {
136 { 1, 11, "not-present" }
137 /* This list is extensible */
139 static const unsigned int asn_MAP_sCGresources_enum2value_10[] = {
140 1, /* not-present(1) */
142 /* This list is extensible */
144 static const asn_INTEGER_specifics_t asn_SPC_sCGresources_specs_10 = {
145 asn_MAP_sCGresources_value2enum_10, /* "tag" => N; sorted by tag */
146 asn_MAP_sCGresources_enum2value_10, /* N => "tag"; sorted by N */
147 2, /* Number of elements in the maps */
148 3, /* Extensions before this member */
149 1, /* Strict enumeration */
150 0, /* Native long size */
153 static const ber_tlv_tag_t asn_DEF_sCGresources_tags_10[] = {
154 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
155 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
157 static /* Use -fall-defs-global to expose */
158 asn_TYPE_descriptor_t asn_DEF_sCGresources_10 = {
161 &asn_OP_NativeEnumerated,
162 asn_DEF_sCGresources_tags_10,
163 sizeof(asn_DEF_sCGresources_tags_10)
164 /sizeof(asn_DEF_sCGresources_tags_10[0]) - 1, /* 1 */
165 asn_DEF_sCGresources_tags_10, /* Same as above */
166 sizeof(asn_DEF_sCGresources_tags_10)
167 /sizeof(asn_DEF_sCGresources_tags_10[0]), /* 2 */
168 { 0, &asn_PER_type_sCGresources_constr_10, NativeEnumerated_constraint },
169 0, 0, /* Defined elsewhere */
170 &asn_SPC_sCGresources_specs_10 /* Additional specs */
173 asn_TYPE_member_t asn_MBR_EN_DC_ResourceConfiguration_1[] = {
174 { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, pDCPatSgNB),
175 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
176 -1, /* IMPLICIT tag at current level */
177 &asn_DEF_pDCPatSgNB_2,
180 0, 0, /* No default value */
183 { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, mCGresources),
184 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
185 -1, /* IMPLICIT tag at current level */
186 &asn_DEF_mCGresources_6,
189 0, 0, /* No default value */
192 { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, sCGresources),
193 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
194 -1, /* IMPLICIT tag at current level */
195 &asn_DEF_sCGresources_10,
198 0, 0, /* No default value */
201 { ATF_POINTER, 1, offsetof(struct EN_DC_ResourceConfiguration, iE_Extensions),
202 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
203 -1, /* IMPLICIT tag at current level */
204 &asn_DEF_ProtocolExtensionContainer_170P137,
207 0, 0, /* No default value */
211 static const int asn_MAP_EN_DC_ResourceConfiguration_oms_1[] = { 3 };
212 static const ber_tlv_tag_t asn_DEF_EN_DC_ResourceConfiguration_tags_1[] = {
213 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
215 static const asn_TYPE_tag2member_t asn_MAP_EN_DC_ResourceConfiguration_tag2el_1[] = {
216 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pDCPatSgNB */
217 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mCGresources */
218 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sCGresources */
219 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
221 asn_SEQUENCE_specifics_t asn_SPC_EN_DC_ResourceConfiguration_specs_1 = {
222 sizeof(struct EN_DC_ResourceConfiguration),
223 offsetof(struct EN_DC_ResourceConfiguration, _asn_ctx),
224 asn_MAP_EN_DC_ResourceConfiguration_tag2el_1,
225 4, /* Count of tags in the map */
226 asn_MAP_EN_DC_ResourceConfiguration_oms_1, /* Optional members */
227 1, 0, /* Root/Additions */
228 4, /* First extension addition */
230 asn_TYPE_descriptor_t asn_DEF_EN_DC_ResourceConfiguration = {
231 "EN-DC-ResourceConfiguration",
232 "EN-DC-ResourceConfiguration",
234 asn_DEF_EN_DC_ResourceConfiguration_tags_1,
235 sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1)
236 /sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1[0]), /* 1 */
237 asn_DEF_EN_DC_ResourceConfiguration_tags_1, /* Same as above */
238 sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1)
239 /sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1[0]), /* 1 */
240 { 0, 0, SEQUENCE_constraint },
241 asn_MBR_EN_DC_ResourceConfiguration_1,
242 4, /* Elements count */
243 &asn_SPC_EN_DC_ResourceConfiguration_specs_1 /* Additional specs */