2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../../../rrc_15.5.1_asn.asn1"
5 * `asn1c -D ./rrc_out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "RRCRelease-IEs.h"
10 #include "RedirectedCarrierInfo.h"
11 #include "CellReselectionPriorities.h"
12 #include "SuspendConfig.h"
13 #include "RRCRelease-v1540-IEs.h"
15 * This type is implemented using NativeEnumerated,
16 * so here we adjust the DEF accordingly.
19 * This type is implemented using NativeEnumerated,
20 * so here we adjust the DEF accordingly.
22 static asn_oer_constraints_t asn_OER_type_deprioritisationType_constr_6 CC_NOTUSED = {
25 static asn_per_constraints_t asn_PER_type_deprioritisationType_constr_6 CC_NOTUSED = {
26 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
27 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
28 0, 0 /* No PER value map */
30 static asn_oer_constraints_t asn_OER_type_deprioritisationTimer_constr_9 CC_NOTUSED = {
33 static asn_per_constraints_t asn_PER_type_deprioritisationTimer_constr_9 CC_NOTUSED = {
34 { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
35 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
36 0, 0 /* No PER value map */
38 static const asn_INTEGER_enum_map_t asn_MAP_deprioritisationType_value2enum_6[] = {
39 { 0, 9, "frequency" },
42 static const unsigned int asn_MAP_deprioritisationType_enum2value_6[] = {
46 static const asn_INTEGER_specifics_t asn_SPC_deprioritisationType_specs_6 = {
47 asn_MAP_deprioritisationType_value2enum_6, /* "tag" => N; sorted by tag */
48 asn_MAP_deprioritisationType_enum2value_6, /* N => "tag"; sorted by N */
49 2, /* Number of elements in the maps */
50 0, /* Enumeration is not extensible */
51 1, /* Strict enumeration */
52 0, /* Native long size */
55 static const ber_tlv_tag_t asn_DEF_deprioritisationType_tags_6[] = {
56 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
57 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
59 static /* Use -fall-defs-global to expose */
60 asn_TYPE_descriptor_t asn_DEF_deprioritisationType_6 = {
61 "deprioritisationType",
62 "deprioritisationType",
63 &asn_OP_NativeEnumerated,
64 asn_DEF_deprioritisationType_tags_6,
65 sizeof(asn_DEF_deprioritisationType_tags_6)
66 /sizeof(asn_DEF_deprioritisationType_tags_6[0]) - 1, /* 1 */
67 asn_DEF_deprioritisationType_tags_6, /* Same as above */
68 sizeof(asn_DEF_deprioritisationType_tags_6)
69 /sizeof(asn_DEF_deprioritisationType_tags_6[0]), /* 2 */
70 { &asn_OER_type_deprioritisationType_constr_6, &asn_PER_type_deprioritisationType_constr_6, NativeEnumerated_constraint },
71 0, 0, /* Defined elsewhere */
72 &asn_SPC_deprioritisationType_specs_6 /* Additional specs */
75 static const asn_INTEGER_enum_map_t asn_MAP_deprioritisationTimer_value2enum_9[] = {
81 static const unsigned int asn_MAP_deprioritisationTimer_enum2value_9[] = {
87 static const asn_INTEGER_specifics_t asn_SPC_deprioritisationTimer_specs_9 = {
88 asn_MAP_deprioritisationTimer_value2enum_9, /* "tag" => N; sorted by tag */
89 asn_MAP_deprioritisationTimer_enum2value_9, /* N => "tag"; sorted by N */
90 4, /* Number of elements in the maps */
91 0, /* Enumeration is not extensible */
92 1, /* Strict enumeration */
93 0, /* Native long size */
96 static const ber_tlv_tag_t asn_DEF_deprioritisationTimer_tags_9[] = {
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_deprioritisationTimer_9 = {
102 "deprioritisationTimer",
103 "deprioritisationTimer",
104 &asn_OP_NativeEnumerated,
105 asn_DEF_deprioritisationTimer_tags_9,
106 sizeof(asn_DEF_deprioritisationTimer_tags_9)
107 /sizeof(asn_DEF_deprioritisationTimer_tags_9[0]) - 1, /* 1 */
108 asn_DEF_deprioritisationTimer_tags_9, /* Same as above */
109 sizeof(asn_DEF_deprioritisationTimer_tags_9)
110 /sizeof(asn_DEF_deprioritisationTimer_tags_9[0]), /* 2 */
111 { &asn_OER_type_deprioritisationTimer_constr_9, &asn_PER_type_deprioritisationTimer_constr_9, NativeEnumerated_constraint },
112 0, 0, /* Defined elsewhere */
113 &asn_SPC_deprioritisationTimer_specs_9 /* Additional specs */
116 static asn_TYPE_member_t asn_MBR_deprioritisationReq_5[] = {
117 { ATF_NOFLAGS, 0, offsetof(struct RRCRelease_IEs__deprioritisationReq, deprioritisationType),
118 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
119 -1, /* IMPLICIT tag at current level */
120 &asn_DEF_deprioritisationType_6,
123 0, 0, /* No default value */
124 "deprioritisationType"
126 { ATF_NOFLAGS, 0, offsetof(struct RRCRelease_IEs__deprioritisationReq, deprioritisationTimer),
127 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
128 -1, /* IMPLICIT tag at current level */
129 &asn_DEF_deprioritisationTimer_9,
132 0, 0, /* No default value */
133 "deprioritisationTimer"
136 static const ber_tlv_tag_t asn_DEF_deprioritisationReq_tags_5[] = {
137 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
138 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
140 static const asn_TYPE_tag2member_t asn_MAP_deprioritisationReq_tag2el_5[] = {
141 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* deprioritisationType */
142 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* deprioritisationTimer */
144 static asn_SEQUENCE_specifics_t asn_SPC_deprioritisationReq_specs_5 = {
145 sizeof(struct RRCRelease_IEs__deprioritisationReq),
146 offsetof(struct RRCRelease_IEs__deprioritisationReq, _asn_ctx),
147 asn_MAP_deprioritisationReq_tag2el_5,
148 2, /* Count of tags in the map */
149 0, 0, 0, /* Optional elements (not needed) */
150 -1, /* First extension addition */
152 static /* Use -fall-defs-global to expose */
153 asn_TYPE_descriptor_t asn_DEF_deprioritisationReq_5 = {
154 "deprioritisationReq",
155 "deprioritisationReq",
157 asn_DEF_deprioritisationReq_tags_5,
158 sizeof(asn_DEF_deprioritisationReq_tags_5)
159 /sizeof(asn_DEF_deprioritisationReq_tags_5[0]) - 1, /* 1 */
160 asn_DEF_deprioritisationReq_tags_5, /* Same as above */
161 sizeof(asn_DEF_deprioritisationReq_tags_5)
162 /sizeof(asn_DEF_deprioritisationReq_tags_5[0]), /* 2 */
163 { 0, 0, SEQUENCE_constraint },
164 asn_MBR_deprioritisationReq_5,
165 2, /* Elements count */
166 &asn_SPC_deprioritisationReq_specs_5 /* Additional specs */
169 asn_TYPE_member_t asn_MBR_RRCRelease_IEs_1[] = {
170 { ATF_POINTER, 6, offsetof(struct RRCRelease_IEs, redirectedCarrierInfo),
171 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
172 +1, /* EXPLICIT tag at current level */
173 &asn_DEF_RedirectedCarrierInfo,
176 0, 0, /* No default value */
177 "redirectedCarrierInfo"
179 { ATF_POINTER, 5, offsetof(struct RRCRelease_IEs, cellReselectionPriorities),
180 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
181 -1, /* IMPLICIT tag at current level */
182 &asn_DEF_CellReselectionPriorities,
185 0, 0, /* No default value */
186 "cellReselectionPriorities"
188 { ATF_POINTER, 4, offsetof(struct RRCRelease_IEs, suspendConfig),
189 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
190 -1, /* IMPLICIT tag at current level */
191 &asn_DEF_SuspendConfig,
194 0, 0, /* No default value */
197 { ATF_POINTER, 3, offsetof(struct RRCRelease_IEs, deprioritisationReq),
198 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
200 &asn_DEF_deprioritisationReq_5,
203 0, 0, /* No default value */
204 "deprioritisationReq"
206 { ATF_POINTER, 2, offsetof(struct RRCRelease_IEs, lateNonCriticalExtension),
207 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
208 -1, /* IMPLICIT tag at current level */
209 &asn_DEF_OCTET_STRING,
212 0, 0, /* No default value */
213 "lateNonCriticalExtension"
215 { ATF_POINTER, 1, offsetof(struct RRCRelease_IEs, nonCriticalExtension),
216 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
217 -1, /* IMPLICIT tag at current level */
218 &asn_DEF_RRCRelease_v1540_IEs,
221 0, 0, /* No default value */
222 "nonCriticalExtension"
225 static const int asn_MAP_RRCRelease_IEs_oms_1[] = { 0, 1, 2, 3, 4, 5 };
226 static const ber_tlv_tag_t asn_DEF_RRCRelease_IEs_tags_1[] = {
227 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
229 static const asn_TYPE_tag2member_t asn_MAP_RRCRelease_IEs_tag2el_1[] = {
230 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* redirectedCarrierInfo */
231 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cellReselectionPriorities */
232 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* suspendConfig */
233 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* deprioritisationReq */
234 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* lateNonCriticalExtension */
235 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* nonCriticalExtension */
237 asn_SEQUENCE_specifics_t asn_SPC_RRCRelease_IEs_specs_1 = {
238 sizeof(struct RRCRelease_IEs),
239 offsetof(struct RRCRelease_IEs, _asn_ctx),
240 asn_MAP_RRCRelease_IEs_tag2el_1,
241 6, /* Count of tags in the map */
242 asn_MAP_RRCRelease_IEs_oms_1, /* Optional members */
243 6, 0, /* Root/Additions */
244 -1, /* First extension addition */
246 asn_TYPE_descriptor_t asn_DEF_RRCRelease_IEs = {
250 asn_DEF_RRCRelease_IEs_tags_1,
251 sizeof(asn_DEF_RRCRelease_IEs_tags_1)
252 /sizeof(asn_DEF_RRCRelease_IEs_tags_1[0]), /* 1 */
253 asn_DEF_RRCRelease_IEs_tags_1, /* Same as above */
254 sizeof(asn_DEF_RRCRelease_IEs_tags_1)
255 /sizeof(asn_DEF_RRCRelease_IEs_tags_1[0]), /* 1 */
256 { 0, 0, SEQUENCE_constraint },
257 asn_MBR_RRCRelease_IEs_1,
258 6, /* Elements count */
259 &asn_SPC_RRCRelease_IEs_specs_1 /* Additional specs */