2 * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-IEs"
4 * found in "../../asn_defs/asn1/x2ap-15-04.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
8 #include "X2N_EN-DC-ResourceConfiguration.h"
10 #include "X2N_ProtocolExtensionContainer.h"
12 * This type is implemented using NativeEnumerated,
13 * so here we adjust the DEF accordingly.
16 * This type is implemented using NativeEnumerated,
17 * so here we adjust the DEF accordingly.
20 * This type is implemented using NativeEnumerated,
21 * so here we adjust the DEF accordingly.
23 static asn_per_constraints_t asn_PER_type_X2N_pDCPatSgNB_constr_2 CC_NOTUSED = {
24 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
25 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
26 0, 0 /* No PER value map */
28 static asn_per_constraints_t asn_PER_type_X2N_mCGresources_constr_6 CC_NOTUSED = {
29 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
30 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
31 0, 0 /* No PER value map */
33 static asn_per_constraints_t asn_PER_type_X2N_sCGresources_constr_10 CC_NOTUSED = {
34 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
35 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
36 0, 0 /* No PER value map */
38 static const asn_INTEGER_enum_map_t asn_MAP_X2N_pDCPatSgNB_value2enum_2[] = {
40 { 1, 11, "not-present" }
41 /* This list is extensible */
43 static const unsigned int asn_MAP_X2N_pDCPatSgNB_enum2value_2[] = {
44 1, /* not-present(1) */
46 /* This list is extensible */
48 static const asn_INTEGER_specifics_t asn_SPC_X2N_pDCPatSgNB_specs_2 = {
49 asn_MAP_X2N_pDCPatSgNB_value2enum_2, /* "tag" => N; sorted by tag */
50 asn_MAP_X2N_pDCPatSgNB_enum2value_2, /* N => "tag"; sorted by N */
51 2, /* Number of elements in the maps */
52 3, /* Extensions before this member */
53 1, /* Strict enumeration */
54 0, /* Native long size */
57 static const ber_tlv_tag_t asn_DEF_X2N_pDCPatSgNB_tags_2[] = {
58 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
59 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
61 static /* Use -fall-defs-global to expose */
62 asn_TYPE_descriptor_t asn_DEF_X2N_pDCPatSgNB_2 = {
65 &asn_OP_NativeEnumerated,
66 asn_DEF_X2N_pDCPatSgNB_tags_2,
67 sizeof(asn_DEF_X2N_pDCPatSgNB_tags_2)
68 /sizeof(asn_DEF_X2N_pDCPatSgNB_tags_2[0]) - 1, /* 1 */
69 asn_DEF_X2N_pDCPatSgNB_tags_2, /* Same as above */
70 sizeof(asn_DEF_X2N_pDCPatSgNB_tags_2)
71 /sizeof(asn_DEF_X2N_pDCPatSgNB_tags_2[0]), /* 2 */
72 { 0, &asn_PER_type_X2N_pDCPatSgNB_constr_2, NativeEnumerated_constraint },
73 0, 0, /* Defined elsewhere */
74 &asn_SPC_X2N_pDCPatSgNB_specs_2 /* Additional specs */
77 static const asn_INTEGER_enum_map_t asn_MAP_X2N_mCGresources_value2enum_6[] = {
79 { 1, 11, "not-present" }
80 /* This list is extensible */
82 static const unsigned int asn_MAP_X2N_mCGresources_enum2value_6[] = {
83 1, /* not-present(1) */
85 /* This list is extensible */
87 static const asn_INTEGER_specifics_t asn_SPC_X2N_mCGresources_specs_6 = {
88 asn_MAP_X2N_mCGresources_value2enum_6, /* "tag" => N; sorted by tag */
89 asn_MAP_X2N_mCGresources_enum2value_6, /* N => "tag"; sorted by N */
90 2, /* Number of elements in the maps */
91 3, /* Extensions before this member */
92 1, /* Strict enumeration */
93 0, /* Native long size */
96 static const ber_tlv_tag_t asn_DEF_X2N_mCGresources_tags_6[] = {
97 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
98 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
100 static /* Use -fall-defs-global to expose */
101 asn_TYPE_descriptor_t asn_DEF_X2N_mCGresources_6 = {
104 &asn_OP_NativeEnumerated,
105 asn_DEF_X2N_mCGresources_tags_6,
106 sizeof(asn_DEF_X2N_mCGresources_tags_6)
107 /sizeof(asn_DEF_X2N_mCGresources_tags_6[0]) - 1, /* 1 */
108 asn_DEF_X2N_mCGresources_tags_6, /* Same as above */
109 sizeof(asn_DEF_X2N_mCGresources_tags_6)
110 /sizeof(asn_DEF_X2N_mCGresources_tags_6[0]), /* 2 */
111 { 0, &asn_PER_type_X2N_mCGresources_constr_6, NativeEnumerated_constraint },
112 0, 0, /* Defined elsewhere */
113 &asn_SPC_X2N_mCGresources_specs_6 /* Additional specs */
116 static const asn_INTEGER_enum_map_t asn_MAP_X2N_sCGresources_value2enum_10[] = {
118 { 1, 11, "not-present" }
119 /* This list is extensible */
121 static const unsigned int asn_MAP_X2N_sCGresources_enum2value_10[] = {
122 1, /* not-present(1) */
124 /* This list is extensible */
126 static const asn_INTEGER_specifics_t asn_SPC_X2N_sCGresources_specs_10 = {
127 asn_MAP_X2N_sCGresources_value2enum_10, /* "tag" => N; sorted by tag */
128 asn_MAP_X2N_sCGresources_enum2value_10, /* N => "tag"; sorted by N */
129 2, /* Number of elements in the maps */
130 3, /* Extensions before this member */
131 1, /* Strict enumeration */
132 0, /* Native long size */
135 static const ber_tlv_tag_t asn_DEF_X2N_sCGresources_tags_10[] = {
136 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
137 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
139 static /* Use -fall-defs-global to expose */
140 asn_TYPE_descriptor_t asn_DEF_X2N_sCGresources_10 = {
143 &asn_OP_NativeEnumerated,
144 asn_DEF_X2N_sCGresources_tags_10,
145 sizeof(asn_DEF_X2N_sCGresources_tags_10)
146 /sizeof(asn_DEF_X2N_sCGresources_tags_10[0]) - 1, /* 1 */
147 asn_DEF_X2N_sCGresources_tags_10, /* Same as above */
148 sizeof(asn_DEF_X2N_sCGresources_tags_10)
149 /sizeof(asn_DEF_X2N_sCGresources_tags_10[0]), /* 2 */
150 { 0, &asn_PER_type_X2N_sCGresources_constr_10, NativeEnumerated_constraint },
151 0, 0, /* Defined elsewhere */
152 &asn_SPC_X2N_sCGresources_specs_10 /* Additional specs */
155 asn_TYPE_member_t asn_MBR_X2N_EN_DC_ResourceConfiguration_1[] = {
156 { ATF_NOFLAGS, 0, offsetof(struct X2N_EN_DC_ResourceConfiguration, pDCPatSgNB),
157 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
158 -1, /* IMPLICIT tag at current level */
159 &asn_DEF_X2N_pDCPatSgNB_2,
162 0, 0, /* No default value */
165 { ATF_NOFLAGS, 0, offsetof(struct X2N_EN_DC_ResourceConfiguration, mCGresources),
166 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
167 -1, /* IMPLICIT tag at current level */
168 &asn_DEF_X2N_mCGresources_6,
171 0, 0, /* No default value */
174 { ATF_NOFLAGS, 0, offsetof(struct X2N_EN_DC_ResourceConfiguration, sCGresources),
175 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
176 -1, /* IMPLICIT tag at current level */
177 &asn_DEF_X2N_sCGresources_10,
180 0, 0, /* No default value */
183 { ATF_POINTER, 1, offsetof(struct X2N_EN_DC_ResourceConfiguration, iE_Extensions),
184 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
185 -1, /* IMPLICIT tag at current level */
186 &asn_DEF_X2N_ProtocolExtensionContainer_8231P137,
189 0, 0, /* No default value */
193 static const int asn_MAP_X2N_EN_DC_ResourceConfiguration_oms_1[] = { 3 };
194 static const ber_tlv_tag_t asn_DEF_X2N_EN_DC_ResourceConfiguration_tags_1[] = {
195 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
197 static const asn_TYPE_tag2member_t asn_MAP_X2N_EN_DC_ResourceConfiguration_tag2el_1[] = {
198 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pDCPatSgNB */
199 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mCGresources */
200 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sCGresources */
201 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
203 asn_SEQUENCE_specifics_t asn_SPC_X2N_EN_DC_ResourceConfiguration_specs_1 = {
204 sizeof(struct X2N_EN_DC_ResourceConfiguration),
205 offsetof(struct X2N_EN_DC_ResourceConfiguration, _asn_ctx),
206 asn_MAP_X2N_EN_DC_ResourceConfiguration_tag2el_1,
207 4, /* Count of tags in the map */
208 asn_MAP_X2N_EN_DC_ResourceConfiguration_oms_1, /* Optional members */
209 1, 0, /* Root/Additions */
210 4, /* First extension addition */
212 asn_TYPE_descriptor_t asn_DEF_X2N_EN_DC_ResourceConfiguration = {
213 "EN-DC-ResourceConfiguration",
214 "EN-DC-ResourceConfiguration",
216 asn_DEF_X2N_EN_DC_ResourceConfiguration_tags_1,
217 sizeof(asn_DEF_X2N_EN_DC_ResourceConfiguration_tags_1)
218 /sizeof(asn_DEF_X2N_EN_DC_ResourceConfiguration_tags_1[0]), /* 1 */
219 asn_DEF_X2N_EN_DC_ResourceConfiguration_tags_1, /* Same as above */
220 sizeof(asn_DEF_X2N_EN_DC_ResourceConfiguration_tags_1)
221 /sizeof(asn_DEF_X2N_EN_DC_ResourceConfiguration_tags_1[0]), /* 1 */
222 { 0, 0, SEQUENCE_constraint },
223 asn_MBR_X2N_EN_DC_ResourceConfiguration_1,
224 4, /* Elements count */
225 &asn_SPC_X2N_EN_DC_ResourceConfiguration_specs_1 /* Additional specs */