2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-IEs"
4 * found in "X2AP-15-4-0.asn1"
5 * `asn1c -D ./asn1_n1 -pdu=auto -fno-include-deps -fcompound-names -findirect-choice -gen-PER -gen-OER -no-gen-example`
8 #include "EN-DC-ResourceConfiguration.h"
10 #include "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_oer_constraints_t asn_OER_type_pDCPatSgNB_constr_2 CC_NOTUSED = {
26 static asn_per_constraints_t asn_PER_type_pDCPatSgNB_constr_2 CC_NOTUSED = {
27 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
28 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
29 0, 0 /* No PER value map */
31 static asn_oer_constraints_t asn_OER_type_mCGresources_constr_6 CC_NOTUSED = {
34 static asn_per_constraints_t asn_PER_type_mCGresources_constr_6 CC_NOTUSED = {
35 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
36 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
37 0, 0 /* No PER value map */
39 static asn_oer_constraints_t asn_OER_type_sCGresources_constr_10 CC_NOTUSED = {
42 static asn_per_constraints_t asn_PER_type_sCGresources_constr_10 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 const asn_INTEGER_enum_map_t asn_MAP_pDCPatSgNB_value2enum_2[] = {
49 { 1, 11, "not-present" }
50 /* This list is extensible */
52 static const unsigned int asn_MAP_pDCPatSgNB_enum2value_2[] = {
53 1, /* not-present(1) */
55 /* This list is extensible */
57 static const asn_INTEGER_specifics_t asn_SPC_pDCPatSgNB_specs_2 = {
58 asn_MAP_pDCPatSgNB_value2enum_2, /* "tag" => N; sorted by tag */
59 asn_MAP_pDCPatSgNB_enum2value_2, /* N => "tag"; sorted by N */
60 2, /* Number of elements in the maps */
61 3, /* Extensions before this member */
62 1, /* Strict enumeration */
63 0, /* Native long size */
66 static const ber_tlv_tag_t asn_DEF_pDCPatSgNB_tags_2[] = {
67 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
68 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
70 static /* Use -fall-defs-global to expose */
71 asn_TYPE_descriptor_t asn_DEF_pDCPatSgNB_2 = {
74 &asn_OP_NativeEnumerated,
75 asn_DEF_pDCPatSgNB_tags_2,
76 sizeof(asn_DEF_pDCPatSgNB_tags_2)
77 /sizeof(asn_DEF_pDCPatSgNB_tags_2[0]) - 1, /* 1 */
78 asn_DEF_pDCPatSgNB_tags_2, /* Same as above */
79 sizeof(asn_DEF_pDCPatSgNB_tags_2)
80 /sizeof(asn_DEF_pDCPatSgNB_tags_2[0]), /* 2 */
81 { &asn_OER_type_pDCPatSgNB_constr_2, &asn_PER_type_pDCPatSgNB_constr_2, NativeEnumerated_constraint },
82 0, 0, /* Defined elsewhere */
83 &asn_SPC_pDCPatSgNB_specs_2 /* Additional specs */
86 static const asn_INTEGER_enum_map_t asn_MAP_mCGresources_value2enum_6[] = {
88 { 1, 11, "not-present" }
89 /* This list is extensible */
91 static const unsigned int asn_MAP_mCGresources_enum2value_6[] = {
92 1, /* not-present(1) */
94 /* This list is extensible */
96 static const asn_INTEGER_specifics_t asn_SPC_mCGresources_specs_6 = {
97 asn_MAP_mCGresources_value2enum_6, /* "tag" => N; sorted by tag */
98 asn_MAP_mCGresources_enum2value_6, /* N => "tag"; sorted by N */
99 2, /* Number of elements in the maps */
100 3, /* Extensions before this member */
101 1, /* Strict enumeration */
102 0, /* Native long size */
105 static const ber_tlv_tag_t asn_DEF_mCGresources_tags_6[] = {
106 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
107 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
109 static /* Use -fall-defs-global to expose */
110 asn_TYPE_descriptor_t asn_DEF_mCGresources_6 = {
113 &asn_OP_NativeEnumerated,
114 asn_DEF_mCGresources_tags_6,
115 sizeof(asn_DEF_mCGresources_tags_6)
116 /sizeof(asn_DEF_mCGresources_tags_6[0]) - 1, /* 1 */
117 asn_DEF_mCGresources_tags_6, /* Same as above */
118 sizeof(asn_DEF_mCGresources_tags_6)
119 /sizeof(asn_DEF_mCGresources_tags_6[0]), /* 2 */
120 { &asn_OER_type_mCGresources_constr_6, &asn_PER_type_mCGresources_constr_6, NativeEnumerated_constraint },
121 0, 0, /* Defined elsewhere */
122 &asn_SPC_mCGresources_specs_6 /* Additional specs */
125 static const asn_INTEGER_enum_map_t asn_MAP_sCGresources_value2enum_10[] = {
127 { 1, 11, "not-present" }
128 /* This list is extensible */
130 static const unsigned int asn_MAP_sCGresources_enum2value_10[] = {
131 1, /* not-present(1) */
133 /* This list is extensible */
135 static const asn_INTEGER_specifics_t asn_SPC_sCGresources_specs_10 = {
136 asn_MAP_sCGresources_value2enum_10, /* "tag" => N; sorted by tag */
137 asn_MAP_sCGresources_enum2value_10, /* N => "tag"; sorted by N */
138 2, /* Number of elements in the maps */
139 3, /* Extensions before this member */
140 1, /* Strict enumeration */
141 0, /* Native long size */
144 static const ber_tlv_tag_t asn_DEF_sCGresources_tags_10[] = {
145 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
146 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
148 static /* Use -fall-defs-global to expose */
149 asn_TYPE_descriptor_t asn_DEF_sCGresources_10 = {
152 &asn_OP_NativeEnumerated,
153 asn_DEF_sCGresources_tags_10,
154 sizeof(asn_DEF_sCGresources_tags_10)
155 /sizeof(asn_DEF_sCGresources_tags_10[0]) - 1, /* 1 */
156 asn_DEF_sCGresources_tags_10, /* Same as above */
157 sizeof(asn_DEF_sCGresources_tags_10)
158 /sizeof(asn_DEF_sCGresources_tags_10[0]), /* 2 */
159 { &asn_OER_type_sCGresources_constr_10, &asn_PER_type_sCGresources_constr_10, NativeEnumerated_constraint },
160 0, 0, /* Defined elsewhere */
161 &asn_SPC_sCGresources_specs_10 /* Additional specs */
164 asn_TYPE_member_t asn_MBR_EN_DC_ResourceConfiguration_1[] = {
165 { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, pDCPatSgNB),
166 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
167 -1, /* IMPLICIT tag at current level */
168 &asn_DEF_pDCPatSgNB_2,
171 0, 0, /* No default value */
174 { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, mCGresources),
175 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
176 -1, /* IMPLICIT tag at current level */
177 &asn_DEF_mCGresources_6,
180 0, 0, /* No default value */
183 { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, sCGresources),
184 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
185 -1, /* IMPLICIT tag at current level */
186 &asn_DEF_sCGresources_10,
189 0, 0, /* No default value */
192 { ATF_POINTER, 1, offsetof(struct EN_DC_ResourceConfiguration, iE_Extensions),
193 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
194 -1, /* IMPLICIT tag at current level */
195 &asn_DEF_ProtocolExtensionContainer_7683P137,
198 0, 0, /* No default value */
202 static const int asn_MAP_EN_DC_ResourceConfiguration_oms_1[] = { 3 };
203 static const ber_tlv_tag_t asn_DEF_EN_DC_ResourceConfiguration_tags_1[] = {
204 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
206 static const asn_TYPE_tag2member_t asn_MAP_EN_DC_ResourceConfiguration_tag2el_1[] = {
207 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pDCPatSgNB */
208 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mCGresources */
209 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sCGresources */
210 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
212 asn_SEQUENCE_specifics_t asn_SPC_EN_DC_ResourceConfiguration_specs_1 = {
213 sizeof(struct EN_DC_ResourceConfiguration),
214 offsetof(struct EN_DC_ResourceConfiguration, _asn_ctx),
215 asn_MAP_EN_DC_ResourceConfiguration_tag2el_1,
216 4, /* Count of tags in the map */
217 asn_MAP_EN_DC_ResourceConfiguration_oms_1, /* Optional members */
218 1, 0, /* Root/Additions */
219 4, /* First extension addition */
221 asn_TYPE_descriptor_t asn_DEF_EN_DC_ResourceConfiguration = {
222 "EN-DC-ResourceConfiguration",
223 "EN-DC-ResourceConfiguration",
225 asn_DEF_EN_DC_ResourceConfiguration_tags_1,
226 sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1)
227 /sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1[0]), /* 1 */
228 asn_DEF_EN_DC_ResourceConfiguration_tags_1, /* Same as above */
229 sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1)
230 /sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1[0]), /* 1 */
231 { 0, 0, SEQUENCE_constraint },
232 asn_MBR_EN_DC_ResourceConfiguration_1,
233 4, /* Elements count */
234 &asn_SPC_EN_DC_ResourceConfiguration_specs_1 /* Additional specs */