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-IEs"
27 * found in "../../asnFiles/X2AP-IEs.asn"
28 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
31 #include "EN-DC-ResourceConfiguration.h"
33 #include "ProtocolExtensionContainer.h"
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.
43 * This type is implemented using NativeEnumerated,
44 * so here we adjust the DEF accordingly.
46 static asn_per_constraints_t asn_PER_type_pDCPatSgNB_constr_2 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_mCGresources_constr_6 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 asn_per_constraints_t asn_PER_type_sCGresources_constr_10 CC_NOTUSED = {
57 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
58 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
59 0, 0 /* No PER value map */
61 static const asn_INTEGER_enum_map_t asn_MAP_pDCPatSgNB_value2enum_2[] = {
63 { 1, 11, "not-present" }
64 /* This list is extensible */
66 static const unsigned int asn_MAP_pDCPatSgNB_enum2value_2[] = {
67 1, /* not-present(1) */
69 /* This list is extensible */
71 static const asn_INTEGER_specifics_t asn_SPC_pDCPatSgNB_specs_2 = {
72 asn_MAP_pDCPatSgNB_value2enum_2, /* "tag" => N; sorted by tag */
73 asn_MAP_pDCPatSgNB_enum2value_2, /* N => "tag"; sorted by N */
74 2, /* Number of elements in the maps */
75 3, /* Extensions before this member */
76 1, /* Strict enumeration */
77 0, /* Native long size */
80 static const ber_tlv_tag_t asn_DEF_pDCPatSgNB_tags_2[] = {
81 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
82 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
84 static /* Use -fall-defs-global to expose */
85 asn_TYPE_descriptor_t asn_DEF_pDCPatSgNB_2 = {
88 &asn_OP_NativeEnumerated,
89 asn_DEF_pDCPatSgNB_tags_2,
90 sizeof(asn_DEF_pDCPatSgNB_tags_2)
91 /sizeof(asn_DEF_pDCPatSgNB_tags_2[0]) - 1, /* 1 */
92 asn_DEF_pDCPatSgNB_tags_2, /* Same as above */
93 sizeof(asn_DEF_pDCPatSgNB_tags_2)
94 /sizeof(asn_DEF_pDCPatSgNB_tags_2[0]), /* 2 */
95 { 0, &asn_PER_type_pDCPatSgNB_constr_2, NativeEnumerated_constraint },
96 0, 0, /* Defined elsewhere */
97 &asn_SPC_pDCPatSgNB_specs_2 /* Additional specs */
100 static const asn_INTEGER_enum_map_t asn_MAP_mCGresources_value2enum_6[] = {
102 { 1, 11, "not-present" }
103 /* This list is extensible */
105 static const unsigned int asn_MAP_mCGresources_enum2value_6[] = {
106 1, /* not-present(1) */
108 /* This list is extensible */
110 static const asn_INTEGER_specifics_t asn_SPC_mCGresources_specs_6 = {
111 asn_MAP_mCGresources_value2enum_6, /* "tag" => N; sorted by tag */
112 asn_MAP_mCGresources_enum2value_6, /* N => "tag"; sorted by N */
113 2, /* Number of elements in the maps */
114 3, /* Extensions before this member */
115 1, /* Strict enumeration */
116 0, /* Native long size */
119 static const ber_tlv_tag_t asn_DEF_mCGresources_tags_6[] = {
120 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
121 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
123 static /* Use -fall-defs-global to expose */
124 asn_TYPE_descriptor_t asn_DEF_mCGresources_6 = {
127 &asn_OP_NativeEnumerated,
128 asn_DEF_mCGresources_tags_6,
129 sizeof(asn_DEF_mCGresources_tags_6)
130 /sizeof(asn_DEF_mCGresources_tags_6[0]) - 1, /* 1 */
131 asn_DEF_mCGresources_tags_6, /* Same as above */
132 sizeof(asn_DEF_mCGresources_tags_6)
133 /sizeof(asn_DEF_mCGresources_tags_6[0]), /* 2 */
134 { 0, &asn_PER_type_mCGresources_constr_6, NativeEnumerated_constraint },
135 0, 0, /* Defined elsewhere */
136 &asn_SPC_mCGresources_specs_6 /* Additional specs */
139 static const asn_INTEGER_enum_map_t asn_MAP_sCGresources_value2enum_10[] = {
141 { 1, 11, "not-present" }
142 /* This list is extensible */
144 static const unsigned int asn_MAP_sCGresources_enum2value_10[] = {
145 1, /* not-present(1) */
147 /* This list is extensible */
149 static const asn_INTEGER_specifics_t asn_SPC_sCGresources_specs_10 = {
150 asn_MAP_sCGresources_value2enum_10, /* "tag" => N; sorted by tag */
151 asn_MAP_sCGresources_enum2value_10, /* N => "tag"; sorted by N */
152 2, /* Number of elements in the maps */
153 3, /* Extensions before this member */
154 1, /* Strict enumeration */
155 0, /* Native long size */
158 static const ber_tlv_tag_t asn_DEF_sCGresources_tags_10[] = {
159 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
160 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
162 static /* Use -fall-defs-global to expose */
163 asn_TYPE_descriptor_t asn_DEF_sCGresources_10 = {
166 &asn_OP_NativeEnumerated,
167 asn_DEF_sCGresources_tags_10,
168 sizeof(asn_DEF_sCGresources_tags_10)
169 /sizeof(asn_DEF_sCGresources_tags_10[0]) - 1, /* 1 */
170 asn_DEF_sCGresources_tags_10, /* Same as above */
171 sizeof(asn_DEF_sCGresources_tags_10)
172 /sizeof(asn_DEF_sCGresources_tags_10[0]), /* 2 */
173 { 0, &asn_PER_type_sCGresources_constr_10, NativeEnumerated_constraint },
174 0, 0, /* Defined elsewhere */
175 &asn_SPC_sCGresources_specs_10 /* Additional specs */
178 asn_TYPE_member_t asn_MBR_EN_DC_ResourceConfiguration_1[] = {
179 { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, pDCPatSgNB),
180 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
181 -1, /* IMPLICIT tag at current level */
182 &asn_DEF_pDCPatSgNB_2,
185 0, 0, /* No default value */
188 { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, mCGresources),
189 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
190 -1, /* IMPLICIT tag at current level */
191 &asn_DEF_mCGresources_6,
194 0, 0, /* No default value */
197 { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, sCGresources),
198 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
199 -1, /* IMPLICIT tag at current level */
200 &asn_DEF_sCGresources_10,
203 0, 0, /* No default value */
206 { ATF_POINTER, 1, offsetof(struct EN_DC_ResourceConfiguration, iE_Extensions),
207 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
208 -1, /* IMPLICIT tag at current level */
209 &asn_DEF_ProtocolExtensionContainer_170P137,
212 0, 0, /* No default value */
216 static const int asn_MAP_EN_DC_ResourceConfiguration_oms_1[] = { 3 };
217 static const ber_tlv_tag_t asn_DEF_EN_DC_ResourceConfiguration_tags_1[] = {
218 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
220 static const asn_TYPE_tag2member_t asn_MAP_EN_DC_ResourceConfiguration_tag2el_1[] = {
221 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pDCPatSgNB */
222 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mCGresources */
223 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sCGresources */
224 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
226 asn_SEQUENCE_specifics_t asn_SPC_EN_DC_ResourceConfiguration_specs_1 = {
227 sizeof(struct EN_DC_ResourceConfiguration),
228 offsetof(struct EN_DC_ResourceConfiguration, _asn_ctx),
229 asn_MAP_EN_DC_ResourceConfiguration_tag2el_1,
230 4, /* Count of tags in the map */
231 asn_MAP_EN_DC_ResourceConfiguration_oms_1, /* Optional members */
232 1, 0, /* Root/Additions */
233 4, /* First extension addition */
235 asn_TYPE_descriptor_t asn_DEF_EN_DC_ResourceConfiguration = {
236 "EN-DC-ResourceConfiguration",
237 "EN-DC-ResourceConfiguration",
239 asn_DEF_EN_DC_ResourceConfiguration_tags_1,
240 sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1)
241 /sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1[0]), /* 1 */
242 asn_DEF_EN_DC_ResourceConfiguration_tags_1, /* Same as above */
243 sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1)
244 /sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1[0]), /* 1 */
245 { 0, 0, SEQUENCE_constraint },
246 asn_MBR_EN_DC_ResourceConfiguration_1,
247 4, /* Elements count */
248 &asn_SPC_EN_DC_ResourceConfiguration_specs_1 /* Additional specs */