2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../../../rrc_15.3_asn.asn1"
5 * `asn1c -D ./25_02_2022_RRC/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "ReconfigurationWithSync.h"
10 #include "ServingCellConfigCommon.h"
11 #include "RACH-ConfigDedicated.h"
14 * This type is implemented using NativeEnumerated,
15 * so here we adjust the DEF accordingly.
17 static asn_oer_constraints_t asn_OER_type_t304_constr_4 CC_NOTUSED = {
20 static asn_per_constraints_t asn_PER_type_t304_constr_4 CC_NOTUSED = {
21 { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */,
22 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
23 0, 0 /* No PER value map */
25 static asn_oer_constraints_t asn_OER_type_rach_ConfigDedicated_constr_13 CC_NOTUSED = {
28 static asn_per_constraints_t asn_PER_type_rach_ConfigDedicated_constr_13 CC_NOTUSED = {
29 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
30 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
31 0, 0 /* No PER value map */
33 static const asn_INTEGER_enum_map_t asn_MAP_t304_value2enum_4[] = {
43 static const unsigned int asn_MAP_t304_enum2value_4[] = {
53 static const asn_INTEGER_specifics_t asn_SPC_t304_specs_4 = {
54 asn_MAP_t304_value2enum_4, /* "tag" => N; sorted by tag */
55 asn_MAP_t304_enum2value_4, /* N => "tag"; sorted by N */
56 8, /* Number of elements in the maps */
57 0, /* Enumeration is not extensible */
58 1, /* Strict enumeration */
59 0, /* Native long size */
62 static const ber_tlv_tag_t asn_DEF_t304_tags_4[] = {
63 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
64 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
66 static /* Use -fall-defs-global to expose */
67 asn_TYPE_descriptor_t asn_DEF_t304_4 = {
70 &asn_OP_NativeEnumerated,
72 sizeof(asn_DEF_t304_tags_4)
73 /sizeof(asn_DEF_t304_tags_4[0]) - 1, /* 1 */
74 asn_DEF_t304_tags_4, /* Same as above */
75 sizeof(asn_DEF_t304_tags_4)
76 /sizeof(asn_DEF_t304_tags_4[0]), /* 2 */
77 { &asn_OER_type_t304_constr_4, &asn_PER_type_t304_constr_4, NativeEnumerated_constraint },
78 0, 0, /* Defined elsewhere */
79 &asn_SPC_t304_specs_4 /* Additional specs */
82 static asn_TYPE_member_t asn_MBR_rach_ConfigDedicated_13[] = {
83 { ATF_POINTER, 0, offsetof(struct ReconfigurationWithSync__rach_ConfigDedicated, choice.uplink),
84 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
85 -1, /* IMPLICIT tag at current level */
86 &asn_DEF_RACH_ConfigDedicated,
89 0, 0, /* No default value */
92 { ATF_POINTER, 0, offsetof(struct ReconfigurationWithSync__rach_ConfigDedicated, choice.supplementaryUplink),
93 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
94 -1, /* IMPLICIT tag at current level */
95 &asn_DEF_RACH_ConfigDedicated,
98 0, 0, /* No default value */
102 static const asn_TYPE_tag2member_t asn_MAP_rach_ConfigDedicated_tag2el_13[] = {
103 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* uplink */
104 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* supplementaryUplink */
106 static asn_CHOICE_specifics_t asn_SPC_rach_ConfigDedicated_specs_13 = {
107 sizeof(struct ReconfigurationWithSync__rach_ConfigDedicated),
108 offsetof(struct ReconfigurationWithSync__rach_ConfigDedicated, _asn_ctx),
109 offsetof(struct ReconfigurationWithSync__rach_ConfigDedicated, present),
110 sizeof(((struct ReconfigurationWithSync__rach_ConfigDedicated *)0)->present),
111 asn_MAP_rach_ConfigDedicated_tag2el_13,
112 2, /* Count of tags in the map */
114 -1 /* Extensions start */
116 static /* Use -fall-defs-global to expose */
117 asn_TYPE_descriptor_t asn_DEF_rach_ConfigDedicated_13 = {
118 "rach-ConfigDedicated",
119 "rach-ConfigDedicated",
121 0, /* No effective tags (pointer) */
122 0, /* No effective tags (count) */
123 0, /* No tags (pointer) */
124 0, /* No tags (count) */
125 { &asn_OER_type_rach_ConfigDedicated_constr_13, &asn_PER_type_rach_ConfigDedicated_constr_13, CHOICE_constraint },
126 asn_MBR_rach_ConfigDedicated_13,
127 2, /* Elements count */
128 &asn_SPC_rach_ConfigDedicated_specs_13 /* Additional specs */
131 static asn_TYPE_member_t asn_MBR_ext1_17[] = {
132 { ATF_POINTER, 1, offsetof(struct ReconfigurationWithSync__ext1, smtc),
133 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
134 -1, /* IMPLICIT tag at current level */
138 0, 0, /* No default value */
142 static const int asn_MAP_ext1_oms_17[] = { 0 };
143 static const ber_tlv_tag_t asn_DEF_ext1_tags_17[] = {
144 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
145 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
147 static const asn_TYPE_tag2member_t asn_MAP_ext1_tag2el_17[] = {
148 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* smtc */
150 static asn_SEQUENCE_specifics_t asn_SPC_ext1_specs_17 = {
151 sizeof(struct ReconfigurationWithSync__ext1),
152 offsetof(struct ReconfigurationWithSync__ext1, _asn_ctx),
153 asn_MAP_ext1_tag2el_17,
154 1, /* Count of tags in the map */
155 asn_MAP_ext1_oms_17, /* Optional members */
156 1, 0, /* Root/Additions */
157 -1, /* First extension addition */
159 static /* Use -fall-defs-global to expose */
160 asn_TYPE_descriptor_t asn_DEF_ext1_17 = {
164 asn_DEF_ext1_tags_17,
165 sizeof(asn_DEF_ext1_tags_17)
166 /sizeof(asn_DEF_ext1_tags_17[0]) - 1, /* 1 */
167 asn_DEF_ext1_tags_17, /* Same as above */
168 sizeof(asn_DEF_ext1_tags_17)
169 /sizeof(asn_DEF_ext1_tags_17[0]), /* 2 */
170 { 0, 0, SEQUENCE_constraint },
172 1, /* Elements count */
173 &asn_SPC_ext1_specs_17 /* Additional specs */
176 asn_TYPE_member_t asn_MBR_ReconfigurationWithSync_1[] = {
177 { ATF_POINTER, 1, offsetof(struct ReconfigurationWithSync, spCellConfigCommon),
178 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
179 -1, /* IMPLICIT tag at current level */
180 &asn_DEF_ServingCellConfigCommon,
183 0, 0, /* No default value */
186 { ATF_NOFLAGS, 0, offsetof(struct ReconfigurationWithSync, newUE_Identity),
187 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
188 -1, /* IMPLICIT tag at current level */
192 0, 0, /* No default value */
195 { ATF_NOFLAGS, 0, offsetof(struct ReconfigurationWithSync, t304),
196 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
197 -1, /* IMPLICIT tag at current level */
201 0, 0, /* No default value */
204 { ATF_POINTER, 2, offsetof(struct ReconfigurationWithSync, rach_ConfigDedicated),
205 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
206 +1, /* EXPLICIT tag at current level */
207 &asn_DEF_rach_ConfigDedicated_13,
210 0, 0, /* No default value */
211 "rach-ConfigDedicated"
213 { ATF_POINTER, 1, offsetof(struct ReconfigurationWithSync, ext1),
214 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
219 0, 0, /* No default value */
223 static const int asn_MAP_ReconfigurationWithSync_oms_1[] = { 0, 3, 4 };
224 static const ber_tlv_tag_t asn_DEF_ReconfigurationWithSync_tags_1[] = {
225 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
227 static const asn_TYPE_tag2member_t asn_MAP_ReconfigurationWithSync_tag2el_1[] = {
228 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* spCellConfigCommon */
229 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* newUE-Identity */
230 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* t304 */
231 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* rach-ConfigDedicated */
232 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* ext1 */
234 asn_SEQUENCE_specifics_t asn_SPC_ReconfigurationWithSync_specs_1 = {
235 sizeof(struct ReconfigurationWithSync),
236 offsetof(struct ReconfigurationWithSync, _asn_ctx),
237 asn_MAP_ReconfigurationWithSync_tag2el_1,
238 5, /* Count of tags in the map */
239 asn_MAP_ReconfigurationWithSync_oms_1, /* Optional members */
240 2, 1, /* Root/Additions */
241 4, /* First extension addition */
243 asn_TYPE_descriptor_t asn_DEF_ReconfigurationWithSync = {
244 "ReconfigurationWithSync",
245 "ReconfigurationWithSync",
247 asn_DEF_ReconfigurationWithSync_tags_1,
248 sizeof(asn_DEF_ReconfigurationWithSync_tags_1)
249 /sizeof(asn_DEF_ReconfigurationWithSync_tags_1[0]), /* 1 */
250 asn_DEF_ReconfigurationWithSync_tags_1, /* Same as above */
251 sizeof(asn_DEF_ReconfigurationWithSync_tags_1)
252 /sizeof(asn_DEF_ReconfigurationWithSync_tags_1[0]), /* 1 */
253 { 0, 0, SEQUENCE_constraint },
254 asn_MBR_ReconfigurationWithSync_1,
255 5, /* Elements count */
256 &asn_SPC_ReconfigurationWithSync_specs_1 /* Additional specs */