2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../ASN1_Input/rrc_15_3_asn.asn1"
5 * `asn1c -D ../RRC_output_14Nov/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
8 #include "MeasGapSharingConfig.h"
10 static asn_oer_constraints_t asn_OER_type_gapSharingFR2_constr_2 CC_NOTUSED = {
13 static asn_per_constraints_t asn_PER_type_gapSharingFR2_constr_2 CC_NOTUSED = {
14 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
15 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
16 0, 0 /* No PER value map */
18 static asn_oer_constraints_t asn_OER_type_gapSharingFR1_constr_7 CC_NOTUSED = {
21 static asn_per_constraints_t asn_PER_type_gapSharingFR1_constr_7 CC_NOTUSED = {
22 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
23 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
24 0, 0 /* No PER value map */
26 static asn_oer_constraints_t asn_OER_type_gapSharingUE_constr_10 CC_NOTUSED = {
29 static asn_per_constraints_t asn_PER_type_gapSharingUE_constr_10 CC_NOTUSED = {
30 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
31 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
32 0, 0 /* No PER value map */
34 static asn_TYPE_member_t asn_MBR_gapSharingFR2_2[] = {
35 { ATF_NOFLAGS, 0, offsetof(struct MeasGapSharingConfig__gapSharingFR2, choice.release),
36 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
37 -1, /* IMPLICIT tag at current level */
41 0, 0, /* No default value */
44 { ATF_NOFLAGS, 0, offsetof(struct MeasGapSharingConfig__gapSharingFR2, choice.setup),
45 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
46 -1, /* IMPLICIT tag at current level */
47 &asn_DEF_MeasGapSharingScheme,
50 0, 0, /* No default value */
54 static const asn_TYPE_tag2member_t asn_MAP_gapSharingFR2_tag2el_2[] = {
55 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
56 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
58 static asn_CHOICE_specifics_t asn_SPC_gapSharingFR2_specs_2 = {
59 sizeof(struct MeasGapSharingConfig__gapSharingFR2),
60 offsetof(struct MeasGapSharingConfig__gapSharingFR2, _asn_ctx),
61 offsetof(struct MeasGapSharingConfig__gapSharingFR2, present),
62 sizeof(((struct MeasGapSharingConfig__gapSharingFR2 *)0)->present),
63 asn_MAP_gapSharingFR2_tag2el_2,
64 2, /* Count of tags in the map */
66 -1 /* Extensions start */
68 static /* Use -fall-defs-global to expose */
69 asn_TYPE_descriptor_t asn_DEF_gapSharingFR2_2 = {
73 0, /* No effective tags (pointer) */
74 0, /* No effective tags (count) */
75 0, /* No tags (pointer) */
76 0, /* No tags (count) */
77 { &asn_OER_type_gapSharingFR2_constr_2, &asn_PER_type_gapSharingFR2_constr_2, CHOICE_constraint },
78 asn_MBR_gapSharingFR2_2,
79 2, /* Elements count */
80 &asn_SPC_gapSharingFR2_specs_2 /* Additional specs */
83 static asn_TYPE_member_t asn_MBR_gapSharingFR1_7[] = {
84 { ATF_NOFLAGS, 0, offsetof(struct MeasGapSharingConfig__ext1__gapSharingFR1, choice.release),
85 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
86 -1, /* IMPLICIT tag at current level */
90 0, 0, /* No default value */
93 { ATF_NOFLAGS, 0, offsetof(struct MeasGapSharingConfig__ext1__gapSharingFR1, choice.setup),
94 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
95 -1, /* IMPLICIT tag at current level */
96 &asn_DEF_MeasGapSharingScheme,
99 0, 0, /* No default value */
103 static const asn_TYPE_tag2member_t asn_MAP_gapSharingFR1_tag2el_7[] = {
104 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
105 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
107 static asn_CHOICE_specifics_t asn_SPC_gapSharingFR1_specs_7 = {
108 sizeof(struct MeasGapSharingConfig__ext1__gapSharingFR1),
109 offsetof(struct MeasGapSharingConfig__ext1__gapSharingFR1, _asn_ctx),
110 offsetof(struct MeasGapSharingConfig__ext1__gapSharingFR1, present),
111 sizeof(((struct MeasGapSharingConfig__ext1__gapSharingFR1 *)0)->present),
112 asn_MAP_gapSharingFR1_tag2el_7,
113 2, /* Count of tags in the map */
115 -1 /* Extensions start */
117 static /* Use -fall-defs-global to expose */
118 asn_TYPE_descriptor_t asn_DEF_gapSharingFR1_7 = {
122 0, /* No effective tags (pointer) */
123 0, /* No effective tags (count) */
124 0, /* No tags (pointer) */
125 0, /* No tags (count) */
126 { &asn_OER_type_gapSharingFR1_constr_7, &asn_PER_type_gapSharingFR1_constr_7, CHOICE_constraint },
127 asn_MBR_gapSharingFR1_7,
128 2, /* Elements count */
129 &asn_SPC_gapSharingFR1_specs_7 /* Additional specs */
132 static asn_TYPE_member_t asn_MBR_gapSharingUE_10[] = {
133 { ATF_NOFLAGS, 0, offsetof(struct MeasGapSharingConfig__ext1__gapSharingUE, choice.release),
134 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
135 -1, /* IMPLICIT tag at current level */
139 0, 0, /* No default value */
142 { ATF_NOFLAGS, 0, offsetof(struct MeasGapSharingConfig__ext1__gapSharingUE, choice.setup),
143 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
144 -1, /* IMPLICIT tag at current level */
145 &asn_DEF_MeasGapSharingScheme,
148 0, 0, /* No default value */
152 static const asn_TYPE_tag2member_t asn_MAP_gapSharingUE_tag2el_10[] = {
153 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
154 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
156 static asn_CHOICE_specifics_t asn_SPC_gapSharingUE_specs_10 = {
157 sizeof(struct MeasGapSharingConfig__ext1__gapSharingUE),
158 offsetof(struct MeasGapSharingConfig__ext1__gapSharingUE, _asn_ctx),
159 offsetof(struct MeasGapSharingConfig__ext1__gapSharingUE, present),
160 sizeof(((struct MeasGapSharingConfig__ext1__gapSharingUE *)0)->present),
161 asn_MAP_gapSharingUE_tag2el_10,
162 2, /* Count of tags in the map */
164 -1 /* Extensions start */
166 static /* Use -fall-defs-global to expose */
167 asn_TYPE_descriptor_t asn_DEF_gapSharingUE_10 = {
171 0, /* No effective tags (pointer) */
172 0, /* No effective tags (count) */
173 0, /* No tags (pointer) */
174 0, /* No tags (count) */
175 { &asn_OER_type_gapSharingUE_constr_10, &asn_PER_type_gapSharingUE_constr_10, CHOICE_constraint },
176 asn_MBR_gapSharingUE_10,
177 2, /* Elements count */
178 &asn_SPC_gapSharingUE_specs_10 /* Additional specs */
181 static asn_TYPE_member_t asn_MBR_ext1_6[] = {
182 { ATF_POINTER, 2, offsetof(struct MeasGapSharingConfig__ext1, gapSharingFR1),
183 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
184 +1, /* EXPLICIT tag at current level */
185 &asn_DEF_gapSharingFR1_7,
188 0, 0, /* No default value */
191 { ATF_POINTER, 1, offsetof(struct MeasGapSharingConfig__ext1, gapSharingUE),
192 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
193 +1, /* EXPLICIT tag at current level */
194 &asn_DEF_gapSharingUE_10,
197 0, 0, /* No default value */
201 static const int asn_MAP_ext1_oms_6[] = { 0, 1 };
202 static const ber_tlv_tag_t asn_DEF_ext1_tags_6[] = {
203 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
204 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
206 static const asn_TYPE_tag2member_t asn_MAP_ext1_tag2el_6[] = {
207 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gapSharingFR1 */
208 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* gapSharingUE */
210 static asn_SEQUENCE_specifics_t asn_SPC_ext1_specs_6 = {
211 sizeof(struct MeasGapSharingConfig__ext1),
212 offsetof(struct MeasGapSharingConfig__ext1, _asn_ctx),
213 asn_MAP_ext1_tag2el_6,
214 2, /* Count of tags in the map */
215 asn_MAP_ext1_oms_6, /* Optional members */
216 2, 0, /* Root/Additions */
217 -1, /* First extension addition */
219 static /* Use -fall-defs-global to expose */
220 asn_TYPE_descriptor_t asn_DEF_ext1_6 = {
225 sizeof(asn_DEF_ext1_tags_6)
226 /sizeof(asn_DEF_ext1_tags_6[0]) - 1, /* 1 */
227 asn_DEF_ext1_tags_6, /* Same as above */
228 sizeof(asn_DEF_ext1_tags_6)
229 /sizeof(asn_DEF_ext1_tags_6[0]), /* 2 */
230 { 0, 0, SEQUENCE_constraint },
232 2, /* Elements count */
233 &asn_SPC_ext1_specs_6 /* Additional specs */
236 asn_TYPE_member_t asn_MBR_MeasGapSharingConfig_1[] = {
237 { ATF_POINTER, 2, offsetof(struct MeasGapSharingConfig, gapSharingFR2),
238 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
239 +1, /* EXPLICIT tag at current level */
240 &asn_DEF_gapSharingFR2_2,
243 0, 0, /* No default value */
246 { ATF_POINTER, 1, offsetof(struct MeasGapSharingConfig, ext1),
247 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
252 0, 0, /* No default value */
256 static const int asn_MAP_MeasGapSharingConfig_oms_1[] = { 0, 1 };
257 static const ber_tlv_tag_t asn_DEF_MeasGapSharingConfig_tags_1[] = {
258 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
260 static const asn_TYPE_tag2member_t asn_MAP_MeasGapSharingConfig_tag2el_1[] = {
261 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gapSharingFR2 */
262 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ext1 */
264 asn_SEQUENCE_specifics_t asn_SPC_MeasGapSharingConfig_specs_1 = {
265 sizeof(struct MeasGapSharingConfig),
266 offsetof(struct MeasGapSharingConfig, _asn_ctx),
267 asn_MAP_MeasGapSharingConfig_tag2el_1,
268 2, /* Count of tags in the map */
269 asn_MAP_MeasGapSharingConfig_oms_1, /* Optional members */
270 1, 1, /* Root/Additions */
271 1, /* First extension addition */
273 asn_TYPE_descriptor_t asn_DEF_MeasGapSharingConfig = {
274 "MeasGapSharingConfig",
275 "MeasGapSharingConfig",
277 asn_DEF_MeasGapSharingConfig_tags_1,
278 sizeof(asn_DEF_MeasGapSharingConfig_tags_1)
279 /sizeof(asn_DEF_MeasGapSharingConfig_tags_1[0]), /* 1 */
280 asn_DEF_MeasGapSharingConfig_tags_1, /* Same as above */
281 sizeof(asn_DEF_MeasGapSharingConfig_tags_1)
282 /sizeof(asn_DEF_MeasGapSharingConfig_tags_1[0]), /* 1 */
283 { 0, 0, SEQUENCE_constraint },
284 asn_MBR_MeasGapSharingConfig_1,
285 2, /* Elements count */
286 &asn_SPC_MeasGapSharingConfig_specs_1 /* Additional specs */