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 "EventTriggerConfig.h"
10 #include "MeasReportQuantity.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 memb_maxReportCells_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
21 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
25 ASN__CTFAIL(app_key, td, sptr,
26 "%s: value not given (%s:%d)",
27 td->name, __FILE__, __LINE__);
31 value = *(const long *)sptr;
33 if((value >= 1 && value <= 8)) {
34 /* Constraint check succeeded */
37 ASN__CTFAIL(app_key, td, sptr,
38 "%s: constraint failed (%s:%d)",
39 td->name, __FILE__, __LINE__);
45 memb_maxNrofRS_IndexesToReport_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
46 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
50 ASN__CTFAIL(app_key, td, sptr,
51 "%s: value not given (%s:%d)",
52 td->name, __FILE__, __LINE__);
56 value = *(const long *)sptr;
58 if((value >= 1 && value <= 32)) {
59 /* Constraint check succeeded */
62 ASN__CTFAIL(app_key, td, sptr,
63 "%s: constraint failed (%s:%d)",
64 td->name, __FILE__, __LINE__);
69 static asn_oer_constraints_t asn_OER_type_eventId_constr_2 CC_NOTUSED = {
72 static asn_per_constraints_t asn_PER_type_eventId_constr_2 CC_NOTUSED = {
73 { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 5 } /* (0..5,...) */,
74 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
75 0, 0 /* No PER value map */
77 static asn_oer_constraints_t asn_OER_type_reportAmount_constr_41 CC_NOTUSED = {
80 static asn_per_constraints_t asn_PER_type_reportAmount_constr_41 CC_NOTUSED = {
81 { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */,
82 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
83 0, 0 /* No PER value map */
85 static asn_oer_constraints_t asn_OER_type_reportAddNeighMeas_constr_55 CC_NOTUSED = {
88 static asn_per_constraints_t asn_PER_type_reportAddNeighMeas_constr_55 CC_NOTUSED = {
89 { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
90 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
91 0, 0 /* No PER value map */
93 static asn_oer_constraints_t asn_OER_memb_maxReportCells_constr_51 CC_NOTUSED = {
94 { 1, 1 } /* (1..8) */,
96 static asn_per_constraints_t asn_PER_memb_maxReportCells_constr_51 CC_NOTUSED = {
97 { APC_CONSTRAINED, 3, 3, 1, 8 } /* (1..8) */,
98 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
99 0, 0 /* No PER value map */
101 static asn_oer_constraints_t asn_OER_memb_maxNrofRS_IndexesToReport_constr_53 CC_NOTUSED = {
102 { 1, 1 } /* (1..32) */,
104 static asn_per_constraints_t asn_PER_memb_maxNrofRS_IndexesToReport_constr_53 CC_NOTUSED = {
105 { APC_CONSTRAINED, 5, 5, 1, 32 } /* (1..32) */,
106 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
107 0, 0 /* No PER value map */
109 static asn_TYPE_member_t asn_MBR_eventA1_3[] = {
110 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA1, a1_Threshold),
111 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
112 +1, /* EXPLICIT tag at current level */
113 &asn_DEF_MeasTriggerQuantity,
116 0, 0, /* No default value */
119 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA1, reportOnLeave),
120 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
121 -1, /* IMPLICIT tag at current level */
125 0, 0, /* No default value */
128 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA1, hysteresis),
129 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
130 -1, /* IMPLICIT tag at current level */
134 0, 0, /* No default value */
137 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA1, timeToTrigger),
138 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
139 -1, /* IMPLICIT tag at current level */
140 &asn_DEF_TimeToTrigger,
143 0, 0, /* No default value */
147 static const ber_tlv_tag_t asn_DEF_eventA1_tags_3[] = {
148 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
149 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
151 static const asn_TYPE_tag2member_t asn_MAP_eventA1_tag2el_3[] = {
152 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a1-Threshold */
153 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* reportOnLeave */
154 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* hysteresis */
155 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* timeToTrigger */
157 static asn_SEQUENCE_specifics_t asn_SPC_eventA1_specs_3 = {
158 sizeof(struct EventTriggerConfig__eventId__eventA1),
159 offsetof(struct EventTriggerConfig__eventId__eventA1, _asn_ctx),
160 asn_MAP_eventA1_tag2el_3,
161 4, /* Count of tags in the map */
162 0, 0, 0, /* Optional elements (not needed) */
163 -1, /* First extension addition */
165 static /* Use -fall-defs-global to expose */
166 asn_TYPE_descriptor_t asn_DEF_eventA1_3 = {
170 asn_DEF_eventA1_tags_3,
171 sizeof(asn_DEF_eventA1_tags_3)
172 /sizeof(asn_DEF_eventA1_tags_3[0]) - 1, /* 1 */
173 asn_DEF_eventA1_tags_3, /* Same as above */
174 sizeof(asn_DEF_eventA1_tags_3)
175 /sizeof(asn_DEF_eventA1_tags_3[0]), /* 2 */
176 { 0, 0, SEQUENCE_constraint },
178 4, /* Elements count */
179 &asn_SPC_eventA1_specs_3 /* Additional specs */
182 static asn_TYPE_member_t asn_MBR_eventA2_8[] = {
183 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA2, a2_Threshold),
184 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
185 +1, /* EXPLICIT tag at current level */
186 &asn_DEF_MeasTriggerQuantity,
189 0, 0, /* No default value */
192 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA2, reportOnLeave),
193 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
194 -1, /* IMPLICIT tag at current level */
198 0, 0, /* No default value */
201 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA2, hysteresis),
202 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
203 -1, /* IMPLICIT tag at current level */
207 0, 0, /* No default value */
210 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA2, timeToTrigger),
211 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
212 -1, /* IMPLICIT tag at current level */
213 &asn_DEF_TimeToTrigger,
216 0, 0, /* No default value */
220 static const ber_tlv_tag_t asn_DEF_eventA2_tags_8[] = {
221 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
222 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
224 static const asn_TYPE_tag2member_t asn_MAP_eventA2_tag2el_8[] = {
225 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a2-Threshold */
226 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* reportOnLeave */
227 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* hysteresis */
228 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* timeToTrigger */
230 static asn_SEQUENCE_specifics_t asn_SPC_eventA2_specs_8 = {
231 sizeof(struct EventTriggerConfig__eventId__eventA2),
232 offsetof(struct EventTriggerConfig__eventId__eventA2, _asn_ctx),
233 asn_MAP_eventA2_tag2el_8,
234 4, /* Count of tags in the map */
235 0, 0, 0, /* Optional elements (not needed) */
236 -1, /* First extension addition */
238 static /* Use -fall-defs-global to expose */
239 asn_TYPE_descriptor_t asn_DEF_eventA2_8 = {
243 asn_DEF_eventA2_tags_8,
244 sizeof(asn_DEF_eventA2_tags_8)
245 /sizeof(asn_DEF_eventA2_tags_8[0]) - 1, /* 1 */
246 asn_DEF_eventA2_tags_8, /* Same as above */
247 sizeof(asn_DEF_eventA2_tags_8)
248 /sizeof(asn_DEF_eventA2_tags_8[0]), /* 2 */
249 { 0, 0, SEQUENCE_constraint },
251 4, /* Elements count */
252 &asn_SPC_eventA2_specs_8 /* Additional specs */
255 static asn_TYPE_member_t asn_MBR_eventA3_13[] = {
256 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA3, a3_Offset),
257 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
258 +1, /* EXPLICIT tag at current level */
259 &asn_DEF_MeasTriggerQuantityOffset,
262 0, 0, /* No default value */
265 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA3, reportOnLeave),
266 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
267 -1, /* IMPLICIT tag at current level */
271 0, 0, /* No default value */
274 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA3, hysteresis),
275 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
276 -1, /* IMPLICIT tag at current level */
280 0, 0, /* No default value */
283 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA3, timeToTrigger),
284 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
285 -1, /* IMPLICIT tag at current level */
286 &asn_DEF_TimeToTrigger,
289 0, 0, /* No default value */
292 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA3, useWhiteCellList),
293 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
294 -1, /* IMPLICIT tag at current level */
298 0, 0, /* No default value */
302 static const ber_tlv_tag_t asn_DEF_eventA3_tags_13[] = {
303 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
304 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
306 static const asn_TYPE_tag2member_t asn_MAP_eventA3_tag2el_13[] = {
307 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a3-Offset */
308 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* reportOnLeave */
309 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* hysteresis */
310 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* timeToTrigger */
311 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* useWhiteCellList */
313 static asn_SEQUENCE_specifics_t asn_SPC_eventA3_specs_13 = {
314 sizeof(struct EventTriggerConfig__eventId__eventA3),
315 offsetof(struct EventTriggerConfig__eventId__eventA3, _asn_ctx),
316 asn_MAP_eventA3_tag2el_13,
317 5, /* Count of tags in the map */
318 0, 0, 0, /* Optional elements (not needed) */
319 -1, /* First extension addition */
321 static /* Use -fall-defs-global to expose */
322 asn_TYPE_descriptor_t asn_DEF_eventA3_13 = {
326 asn_DEF_eventA3_tags_13,
327 sizeof(asn_DEF_eventA3_tags_13)
328 /sizeof(asn_DEF_eventA3_tags_13[0]) - 1, /* 1 */
329 asn_DEF_eventA3_tags_13, /* Same as above */
330 sizeof(asn_DEF_eventA3_tags_13)
331 /sizeof(asn_DEF_eventA3_tags_13[0]), /* 2 */
332 { 0, 0, SEQUENCE_constraint },
334 5, /* Elements count */
335 &asn_SPC_eventA3_specs_13 /* Additional specs */
338 static asn_TYPE_member_t asn_MBR_eventA4_19[] = {
339 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA4, a4_Threshold),
340 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
341 +1, /* EXPLICIT tag at current level */
342 &asn_DEF_MeasTriggerQuantity,
345 0, 0, /* No default value */
348 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA4, reportOnLeave),
349 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
350 -1, /* IMPLICIT tag at current level */
354 0, 0, /* No default value */
357 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA4, hysteresis),
358 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
359 -1, /* IMPLICIT tag at current level */
363 0, 0, /* No default value */
366 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA4, timeToTrigger),
367 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
368 -1, /* IMPLICIT tag at current level */
369 &asn_DEF_TimeToTrigger,
372 0, 0, /* No default value */
375 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA4, useWhiteCellList),
376 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
377 -1, /* IMPLICIT tag at current level */
381 0, 0, /* No default value */
385 static const ber_tlv_tag_t asn_DEF_eventA4_tags_19[] = {
386 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
387 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
389 static const asn_TYPE_tag2member_t asn_MAP_eventA4_tag2el_19[] = {
390 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a4-Threshold */
391 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* reportOnLeave */
392 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* hysteresis */
393 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* timeToTrigger */
394 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* useWhiteCellList */
396 static asn_SEQUENCE_specifics_t asn_SPC_eventA4_specs_19 = {
397 sizeof(struct EventTriggerConfig__eventId__eventA4),
398 offsetof(struct EventTriggerConfig__eventId__eventA4, _asn_ctx),
399 asn_MAP_eventA4_tag2el_19,
400 5, /* Count of tags in the map */
401 0, 0, 0, /* Optional elements (not needed) */
402 -1, /* First extension addition */
404 static /* Use -fall-defs-global to expose */
405 asn_TYPE_descriptor_t asn_DEF_eventA4_19 = {
409 asn_DEF_eventA4_tags_19,
410 sizeof(asn_DEF_eventA4_tags_19)
411 /sizeof(asn_DEF_eventA4_tags_19[0]) - 1, /* 1 */
412 asn_DEF_eventA4_tags_19, /* Same as above */
413 sizeof(asn_DEF_eventA4_tags_19)
414 /sizeof(asn_DEF_eventA4_tags_19[0]), /* 2 */
415 { 0, 0, SEQUENCE_constraint },
417 5, /* Elements count */
418 &asn_SPC_eventA4_specs_19 /* Additional specs */
421 static asn_TYPE_member_t asn_MBR_eventA5_25[] = {
422 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA5, a5_Threshold1),
423 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
424 +1, /* EXPLICIT tag at current level */
425 &asn_DEF_MeasTriggerQuantity,
428 0, 0, /* No default value */
431 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA5, a5_Threshold2),
432 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
433 +1, /* EXPLICIT tag at current level */
434 &asn_DEF_MeasTriggerQuantity,
437 0, 0, /* No default value */
440 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA5, reportOnLeave),
441 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
442 -1, /* IMPLICIT tag at current level */
446 0, 0, /* No default value */
449 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA5, hysteresis),
450 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
451 -1, /* IMPLICIT tag at current level */
455 0, 0, /* No default value */
458 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA5, timeToTrigger),
459 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
460 -1, /* IMPLICIT tag at current level */
461 &asn_DEF_TimeToTrigger,
464 0, 0, /* No default value */
467 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA5, useWhiteCellList),
468 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
469 -1, /* IMPLICIT tag at current level */
473 0, 0, /* No default value */
477 static const ber_tlv_tag_t asn_DEF_eventA5_tags_25[] = {
478 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
479 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
481 static const asn_TYPE_tag2member_t asn_MAP_eventA5_tag2el_25[] = {
482 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a5-Threshold1 */
483 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* a5-Threshold2 */
484 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* reportOnLeave */
485 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* hysteresis */
486 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* timeToTrigger */
487 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* useWhiteCellList */
489 static asn_SEQUENCE_specifics_t asn_SPC_eventA5_specs_25 = {
490 sizeof(struct EventTriggerConfig__eventId__eventA5),
491 offsetof(struct EventTriggerConfig__eventId__eventA5, _asn_ctx),
492 asn_MAP_eventA5_tag2el_25,
493 6, /* Count of tags in the map */
494 0, 0, 0, /* Optional elements (not needed) */
495 -1, /* First extension addition */
497 static /* Use -fall-defs-global to expose */
498 asn_TYPE_descriptor_t asn_DEF_eventA5_25 = {
502 asn_DEF_eventA5_tags_25,
503 sizeof(asn_DEF_eventA5_tags_25)
504 /sizeof(asn_DEF_eventA5_tags_25[0]) - 1, /* 1 */
505 asn_DEF_eventA5_tags_25, /* Same as above */
506 sizeof(asn_DEF_eventA5_tags_25)
507 /sizeof(asn_DEF_eventA5_tags_25[0]), /* 2 */
508 { 0, 0, SEQUENCE_constraint },
510 6, /* Elements count */
511 &asn_SPC_eventA5_specs_25 /* Additional specs */
514 static asn_TYPE_member_t asn_MBR_eventA6_32[] = {
515 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA6, a6_Offset),
516 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
517 +1, /* EXPLICIT tag at current level */
518 &asn_DEF_MeasTriggerQuantityOffset,
521 0, 0, /* No default value */
524 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA6, reportOnLeave),
525 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
526 -1, /* IMPLICIT tag at current level */
530 0, 0, /* No default value */
533 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA6, hysteresis),
534 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
535 -1, /* IMPLICIT tag at current level */
539 0, 0, /* No default value */
542 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA6, timeToTrigger),
543 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
544 -1, /* IMPLICIT tag at current level */
545 &asn_DEF_TimeToTrigger,
548 0, 0, /* No default value */
551 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig__eventId__eventA6, useWhiteCellList),
552 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
553 -1, /* IMPLICIT tag at current level */
557 0, 0, /* No default value */
561 static const ber_tlv_tag_t asn_DEF_eventA6_tags_32[] = {
562 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
563 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
565 static const asn_TYPE_tag2member_t asn_MAP_eventA6_tag2el_32[] = {
566 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a6-Offset */
567 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* reportOnLeave */
568 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* hysteresis */
569 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* timeToTrigger */
570 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* useWhiteCellList */
572 static asn_SEQUENCE_specifics_t asn_SPC_eventA6_specs_32 = {
573 sizeof(struct EventTriggerConfig__eventId__eventA6),
574 offsetof(struct EventTriggerConfig__eventId__eventA6, _asn_ctx),
575 asn_MAP_eventA6_tag2el_32,
576 5, /* Count of tags in the map */
577 0, 0, 0, /* Optional elements (not needed) */
578 -1, /* First extension addition */
580 static /* Use -fall-defs-global to expose */
581 asn_TYPE_descriptor_t asn_DEF_eventA6_32 = {
585 asn_DEF_eventA6_tags_32,
586 sizeof(asn_DEF_eventA6_tags_32)
587 /sizeof(asn_DEF_eventA6_tags_32[0]) - 1, /* 1 */
588 asn_DEF_eventA6_tags_32, /* Same as above */
589 sizeof(asn_DEF_eventA6_tags_32)
590 /sizeof(asn_DEF_eventA6_tags_32[0]), /* 2 */
591 { 0, 0, SEQUENCE_constraint },
593 5, /* Elements count */
594 &asn_SPC_eventA6_specs_32 /* Additional specs */
597 static asn_TYPE_member_t asn_MBR_eventId_2[] = {
598 { ATF_POINTER, 0, offsetof(struct EventTriggerConfig__eventId, choice.eventA1),
599 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
604 0, 0, /* No default value */
607 { ATF_POINTER, 0, offsetof(struct EventTriggerConfig__eventId, choice.eventA2),
608 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
613 0, 0, /* No default value */
616 { ATF_POINTER, 0, offsetof(struct EventTriggerConfig__eventId, choice.eventA3),
617 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
622 0, 0, /* No default value */
625 { ATF_POINTER, 0, offsetof(struct EventTriggerConfig__eventId, choice.eventA4),
626 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
631 0, 0, /* No default value */
634 { ATF_POINTER, 0, offsetof(struct EventTriggerConfig__eventId, choice.eventA5),
635 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
640 0, 0, /* No default value */
643 { ATF_POINTER, 0, offsetof(struct EventTriggerConfig__eventId, choice.eventA6),
644 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
649 0, 0, /* No default value */
653 static const asn_TYPE_tag2member_t asn_MAP_eventId_tag2el_2[] = {
654 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eventA1 */
655 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* eventA2 */
656 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* eventA3 */
657 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* eventA4 */
658 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* eventA5 */
659 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* eventA6 */
661 static asn_CHOICE_specifics_t asn_SPC_eventId_specs_2 = {
662 sizeof(struct EventTriggerConfig__eventId),
663 offsetof(struct EventTriggerConfig__eventId, _asn_ctx),
664 offsetof(struct EventTriggerConfig__eventId, present),
665 sizeof(((struct EventTriggerConfig__eventId *)0)->present),
666 asn_MAP_eventId_tag2el_2,
667 6, /* Count of tags in the map */
669 6 /* Extensions start */
671 static /* Use -fall-defs-global to expose */
672 asn_TYPE_descriptor_t asn_DEF_eventId_2 = {
676 0, /* No effective tags (pointer) */
677 0, /* No effective tags (count) */
678 0, /* No tags (pointer) */
679 0, /* No tags (count) */
680 { &asn_OER_type_eventId_constr_2, &asn_PER_type_eventId_constr_2, CHOICE_constraint },
682 6, /* Elements count */
683 &asn_SPC_eventId_specs_2 /* Additional specs */
686 static const asn_INTEGER_enum_map_t asn_MAP_reportAmount_value2enum_41[] = {
696 static const unsigned int asn_MAP_reportAmount_enum2value_41[] = {
706 static const asn_INTEGER_specifics_t asn_SPC_reportAmount_specs_41 = {
707 asn_MAP_reportAmount_value2enum_41, /* "tag" => N; sorted by tag */
708 asn_MAP_reportAmount_enum2value_41, /* N => "tag"; sorted by N */
709 8, /* Number of elements in the maps */
710 0, /* Enumeration is not extensible */
711 1, /* Strict enumeration */
712 0, /* Native long size */
715 static const ber_tlv_tag_t asn_DEF_reportAmount_tags_41[] = {
716 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
717 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
719 static /* Use -fall-defs-global to expose */
720 asn_TYPE_descriptor_t asn_DEF_reportAmount_41 = {
723 &asn_OP_NativeEnumerated,
724 asn_DEF_reportAmount_tags_41,
725 sizeof(asn_DEF_reportAmount_tags_41)
726 /sizeof(asn_DEF_reportAmount_tags_41[0]) - 1, /* 1 */
727 asn_DEF_reportAmount_tags_41, /* Same as above */
728 sizeof(asn_DEF_reportAmount_tags_41)
729 /sizeof(asn_DEF_reportAmount_tags_41[0]), /* 2 */
730 { &asn_OER_type_reportAmount_constr_41, &asn_PER_type_reportAmount_constr_41, NativeEnumerated_constraint },
731 0, 0, /* Defined elsewhere */
732 &asn_SPC_reportAmount_specs_41 /* Additional specs */
735 static const asn_INTEGER_enum_map_t asn_MAP_reportAddNeighMeas_value2enum_55[] = {
738 static const unsigned int asn_MAP_reportAddNeighMeas_enum2value_55[] = {
741 static const asn_INTEGER_specifics_t asn_SPC_reportAddNeighMeas_specs_55 = {
742 asn_MAP_reportAddNeighMeas_value2enum_55, /* "tag" => N; sorted by tag */
743 asn_MAP_reportAddNeighMeas_enum2value_55, /* N => "tag"; sorted by N */
744 1, /* Number of elements in the maps */
745 0, /* Enumeration is not extensible */
746 1, /* Strict enumeration */
747 0, /* Native long size */
750 static const ber_tlv_tag_t asn_DEF_reportAddNeighMeas_tags_55[] = {
751 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
752 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
754 static /* Use -fall-defs-global to expose */
755 asn_TYPE_descriptor_t asn_DEF_reportAddNeighMeas_55 = {
756 "reportAddNeighMeas",
757 "reportAddNeighMeas",
758 &asn_OP_NativeEnumerated,
759 asn_DEF_reportAddNeighMeas_tags_55,
760 sizeof(asn_DEF_reportAddNeighMeas_tags_55)
761 /sizeof(asn_DEF_reportAddNeighMeas_tags_55[0]) - 1, /* 1 */
762 asn_DEF_reportAddNeighMeas_tags_55, /* Same as above */
763 sizeof(asn_DEF_reportAddNeighMeas_tags_55)
764 /sizeof(asn_DEF_reportAddNeighMeas_tags_55[0]), /* 2 */
765 { &asn_OER_type_reportAddNeighMeas_constr_55, &asn_PER_type_reportAddNeighMeas_constr_55, NativeEnumerated_constraint },
766 0, 0, /* Defined elsewhere */
767 &asn_SPC_reportAddNeighMeas_specs_55 /* Additional specs */
770 asn_TYPE_member_t asn_MBR_EventTriggerConfig_1[] = {
771 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig, eventId),
772 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
773 +1, /* EXPLICIT tag at current level */
777 0, 0, /* No default value */
780 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig, rsType),
781 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
782 -1, /* IMPLICIT tag at current level */
786 0, 0, /* No default value */
789 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig, reportInterval),
790 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
791 -1, /* IMPLICIT tag at current level */
792 &asn_DEF_ReportInterval,
795 0, 0, /* No default value */
798 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig, reportAmount),
799 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
800 -1, /* IMPLICIT tag at current level */
801 &asn_DEF_reportAmount_41,
804 0, 0, /* No default value */
807 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig, reportQuantityCell),
808 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
809 -1, /* IMPLICIT tag at current level */
810 &asn_DEF_MeasReportQuantity,
813 0, 0, /* No default value */
816 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig, maxReportCells),
817 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
818 -1, /* IMPLICIT tag at current level */
819 &asn_DEF_NativeInteger,
821 { &asn_OER_memb_maxReportCells_constr_51, &asn_PER_memb_maxReportCells_constr_51, memb_maxReportCells_constraint_1 },
822 0, 0, /* No default value */
825 { ATF_POINTER, 2, offsetof(struct EventTriggerConfig, reportQuantityRS_Indexes),
826 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
827 -1, /* IMPLICIT tag at current level */
828 &asn_DEF_MeasReportQuantity,
831 0, 0, /* No default value */
832 "reportQuantityRS-Indexes"
834 { ATF_POINTER, 1, offsetof(struct EventTriggerConfig, maxNrofRS_IndexesToReport),
835 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
836 -1, /* IMPLICIT tag at current level */
837 &asn_DEF_NativeInteger,
839 { &asn_OER_memb_maxNrofRS_IndexesToReport_constr_53, &asn_PER_memb_maxNrofRS_IndexesToReport_constr_53, memb_maxNrofRS_IndexesToReport_constraint_1 },
840 0, 0, /* No default value */
841 "maxNrofRS-IndexesToReport"
843 { ATF_NOFLAGS, 0, offsetof(struct EventTriggerConfig, includeBeamMeasurements),
844 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
845 -1, /* IMPLICIT tag at current level */
849 0, 0, /* No default value */
850 "includeBeamMeasurements"
852 { ATF_POINTER, 1, offsetof(struct EventTriggerConfig, reportAddNeighMeas),
853 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
854 -1, /* IMPLICIT tag at current level */
855 &asn_DEF_reportAddNeighMeas_55,
858 0, 0, /* No default value */
862 static const int asn_MAP_EventTriggerConfig_oms_1[] = { 6, 7, 9 };
863 static const ber_tlv_tag_t asn_DEF_EventTriggerConfig_tags_1[] = {
864 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
866 static const asn_TYPE_tag2member_t asn_MAP_EventTriggerConfig_tag2el_1[] = {
867 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eventId */
868 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rsType */
869 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* reportInterval */
870 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* reportAmount */
871 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* reportQuantityCell */
872 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* maxReportCells */
873 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* reportQuantityRS-Indexes */
874 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* maxNrofRS-IndexesToReport */
875 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* includeBeamMeasurements */
876 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* reportAddNeighMeas */
878 asn_SEQUENCE_specifics_t asn_SPC_EventTriggerConfig_specs_1 = {
879 sizeof(struct EventTriggerConfig),
880 offsetof(struct EventTriggerConfig, _asn_ctx),
881 asn_MAP_EventTriggerConfig_tag2el_1,
882 10, /* Count of tags in the map */
883 asn_MAP_EventTriggerConfig_oms_1, /* Optional members */
884 3, 0, /* Root/Additions */
885 10, /* First extension addition */
887 asn_TYPE_descriptor_t asn_DEF_EventTriggerConfig = {
888 "EventTriggerConfig",
889 "EventTriggerConfig",
891 asn_DEF_EventTriggerConfig_tags_1,
892 sizeof(asn_DEF_EventTriggerConfig_tags_1)
893 /sizeof(asn_DEF_EventTriggerConfig_tags_1[0]), /* 1 */
894 asn_DEF_EventTriggerConfig_tags_1, /* Same as above */
895 sizeof(asn_DEF_EventTriggerConfig_tags_1)
896 /sizeof(asn_DEF_EventTriggerConfig_tags_1[0]), /* 1 */
897 { 0, 0, SEQUENCE_constraint },
898 asn_MBR_EventTriggerConfig_1,
899 10, /* Elements count */
900 &asn_SPC_EventTriggerConfig_specs_1 /* Additional specs */