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.
21 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
22 * From ASN.1 module "X2AP-IEs"
23 * found in "../../asnFiles/X2AP-IEs.asn"
24 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
27 #include "EN-DC-ResourceConfiguration.h"
29 #include "ProtocolExtensionContainer.h"
31 * This type is implemented using NativeEnumerated,
32 * so here we adjust the DEF accordingly.
35 * This type is implemented using NativeEnumerated,
36 * so here we adjust the DEF accordingly.
39 * This type is implemented using NativeEnumerated,
40 * so here we adjust the DEF accordingly.
42 static asn_per_constraints_t asn_PER_type_pDCPatSgNB_constr_2 CC_NOTUSED = {
43 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
44 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
45 0, 0 /* No PER value map */
47 static asn_per_constraints_t asn_PER_type_mCGresources_constr_6 CC_NOTUSED = {
48 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
49 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
50 0, 0 /* No PER value map */
52 static asn_per_constraints_t asn_PER_type_sCGresources_constr_10 CC_NOTUSED = {
53 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
54 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
55 0, 0 /* No PER value map */
57 static const asn_INTEGER_enum_map_t asn_MAP_pDCPatSgNB_value2enum_2[] = {
59 { 1, 11, "not-present" }
60 /* This list is extensible */
62 static const unsigned int asn_MAP_pDCPatSgNB_enum2value_2[] = {
63 1, /* not-present(1) */
65 /* This list is extensible */
67 static const asn_INTEGER_specifics_t asn_SPC_pDCPatSgNB_specs_2 = {
68 asn_MAP_pDCPatSgNB_value2enum_2, /* "tag" => N; sorted by tag */
69 asn_MAP_pDCPatSgNB_enum2value_2, /* N => "tag"; sorted by N */
70 2, /* Number of elements in the maps */
71 3, /* Extensions before this member */
72 1, /* Strict enumeration */
73 0, /* Native long size */
76 static const ber_tlv_tag_t asn_DEF_pDCPatSgNB_tags_2[] = {
77 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
78 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
80 static /* Use -fall-defs-global to expose */
81 asn_TYPE_descriptor_t asn_DEF_pDCPatSgNB_2 = {
84 &asn_OP_NativeEnumerated,
85 asn_DEF_pDCPatSgNB_tags_2,
86 sizeof(asn_DEF_pDCPatSgNB_tags_2)
87 /sizeof(asn_DEF_pDCPatSgNB_tags_2[0]) - 1, /* 1 */
88 asn_DEF_pDCPatSgNB_tags_2, /* Same as above */
89 sizeof(asn_DEF_pDCPatSgNB_tags_2)
90 /sizeof(asn_DEF_pDCPatSgNB_tags_2[0]), /* 2 */
91 { 0, &asn_PER_type_pDCPatSgNB_constr_2, NativeEnumerated_constraint },
92 0, 0, /* Defined elsewhere */
93 &asn_SPC_pDCPatSgNB_specs_2 /* Additional specs */
96 static const asn_INTEGER_enum_map_t asn_MAP_mCGresources_value2enum_6[] = {
98 { 1, 11, "not-present" }
99 /* This list is extensible */
101 static const unsigned int asn_MAP_mCGresources_enum2value_6[] = {
102 1, /* not-present(1) */
104 /* This list is extensible */
106 static const asn_INTEGER_specifics_t asn_SPC_mCGresources_specs_6 = {
107 asn_MAP_mCGresources_value2enum_6, /* "tag" => N; sorted by tag */
108 asn_MAP_mCGresources_enum2value_6, /* N => "tag"; sorted by N */
109 2, /* Number of elements in the maps */
110 3, /* Extensions before this member */
111 1, /* Strict enumeration */
112 0, /* Native long size */
115 static const ber_tlv_tag_t asn_DEF_mCGresources_tags_6[] = {
116 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
117 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
119 static /* Use -fall-defs-global to expose */
120 asn_TYPE_descriptor_t asn_DEF_mCGresources_6 = {
123 &asn_OP_NativeEnumerated,
124 asn_DEF_mCGresources_tags_6,
125 sizeof(asn_DEF_mCGresources_tags_6)
126 /sizeof(asn_DEF_mCGresources_tags_6[0]) - 1, /* 1 */
127 asn_DEF_mCGresources_tags_6, /* Same as above */
128 sizeof(asn_DEF_mCGresources_tags_6)
129 /sizeof(asn_DEF_mCGresources_tags_6[0]), /* 2 */
130 { 0, &asn_PER_type_mCGresources_constr_6, NativeEnumerated_constraint },
131 0, 0, /* Defined elsewhere */
132 &asn_SPC_mCGresources_specs_6 /* Additional specs */
135 static const asn_INTEGER_enum_map_t asn_MAP_sCGresources_value2enum_10[] = {
137 { 1, 11, "not-present" }
138 /* This list is extensible */
140 static const unsigned int asn_MAP_sCGresources_enum2value_10[] = {
141 1, /* not-present(1) */
143 /* This list is extensible */
145 static const asn_INTEGER_specifics_t asn_SPC_sCGresources_specs_10 = {
146 asn_MAP_sCGresources_value2enum_10, /* "tag" => N; sorted by tag */
147 asn_MAP_sCGresources_enum2value_10, /* N => "tag"; sorted by N */
148 2, /* Number of elements in the maps */
149 3, /* Extensions before this member */
150 1, /* Strict enumeration */
151 0, /* Native long size */
154 static const ber_tlv_tag_t asn_DEF_sCGresources_tags_10[] = {
155 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
156 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
158 static /* Use -fall-defs-global to expose */
159 asn_TYPE_descriptor_t asn_DEF_sCGresources_10 = {
162 &asn_OP_NativeEnumerated,
163 asn_DEF_sCGresources_tags_10,
164 sizeof(asn_DEF_sCGresources_tags_10)
165 /sizeof(asn_DEF_sCGresources_tags_10[0]) - 1, /* 1 */
166 asn_DEF_sCGresources_tags_10, /* Same as above */
167 sizeof(asn_DEF_sCGresources_tags_10)
168 /sizeof(asn_DEF_sCGresources_tags_10[0]), /* 2 */
169 { 0, &asn_PER_type_sCGresources_constr_10, NativeEnumerated_constraint },
170 0, 0, /* Defined elsewhere */
171 &asn_SPC_sCGresources_specs_10 /* Additional specs */
174 asn_TYPE_member_t asn_MBR_EN_DC_ResourceConfiguration_1[] = {
175 { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, pDCPatSgNB),
176 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
177 -1, /* IMPLICIT tag at current level */
178 &asn_DEF_pDCPatSgNB_2,
181 0, 0, /* No default value */
184 { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, mCGresources),
185 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
186 -1, /* IMPLICIT tag at current level */
187 &asn_DEF_mCGresources_6,
190 0, 0, /* No default value */
193 { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, sCGresources),
194 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
195 -1, /* IMPLICIT tag at current level */
196 &asn_DEF_sCGresources_10,
199 0, 0, /* No default value */
202 { ATF_POINTER, 1, offsetof(struct EN_DC_ResourceConfiguration, iE_Extensions),
203 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
204 -1, /* IMPLICIT tag at current level */
205 &asn_DEF_ProtocolExtensionContainer_170P137,
208 0, 0, /* No default value */
212 static const int asn_MAP_EN_DC_ResourceConfiguration_oms_1[] = { 3 };
213 static const ber_tlv_tag_t asn_DEF_EN_DC_ResourceConfiguration_tags_1[] = {
214 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
216 static const asn_TYPE_tag2member_t asn_MAP_EN_DC_ResourceConfiguration_tag2el_1[] = {
217 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pDCPatSgNB */
218 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mCGresources */
219 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sCGresources */
220 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
222 asn_SEQUENCE_specifics_t asn_SPC_EN_DC_ResourceConfiguration_specs_1 = {
223 sizeof(struct EN_DC_ResourceConfiguration),
224 offsetof(struct EN_DC_ResourceConfiguration, _asn_ctx),
225 asn_MAP_EN_DC_ResourceConfiguration_tag2el_1,
226 4, /* Count of tags in the map */
227 asn_MAP_EN_DC_ResourceConfiguration_oms_1, /* Optional members */
228 1, 0, /* Root/Additions */
229 4, /* First extension addition */
231 asn_TYPE_descriptor_t asn_DEF_EN_DC_ResourceConfiguration = {
232 "EN-DC-ResourceConfiguration",
233 "EN-DC-ResourceConfiguration",
235 asn_DEF_EN_DC_ResourceConfiguration_tags_1,
236 sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1)
237 /sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1[0]), /* 1 */
238 asn_DEF_EN_DC_ResourceConfiguration_tags_1, /* Same as above */
239 sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1)
240 /sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1[0]), /* 1 */
241 { 0, 0, SEQUENCE_constraint },
242 asn_MBR_EN_DC_ResourceConfiguration_1,
243 4, /* Elements count */
244 &asn_SPC_EN_DC_ResourceConfiguration_specs_1 /* Additional specs */