2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "/home/labadmin/hlal/rrc_15.3_asn.asn1"
5 * `asn1c -D ./15_3_rrc/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "RateMatchPattern.h"
11 memb_oneSlot_constraint_6(const asn_TYPE_descriptor_t *td, const void *sptr,
12 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
13 const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
17 ASN__CTFAIL(app_key, td, sptr,
18 "%s: value not given (%s:%d)",
19 td->name, __FILE__, __LINE__);
25 size = 8 * st->size - (st->bits_unused & 0x07);
31 /* Constraint check succeeded */
34 ASN__CTFAIL(app_key, td, sptr,
35 "%s: constraint failed (%s:%d)",
36 td->name, __FILE__, __LINE__);
42 memb_twoSlots_constraint_6(const asn_TYPE_descriptor_t *td, const void *sptr,
43 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
44 const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
48 ASN__CTFAIL(app_key, td, sptr,
49 "%s: value not given (%s:%d)",
50 td->name, __FILE__, __LINE__);
56 size = 8 * st->size - (st->bits_unused & 0x07);
62 /* Constraint check succeeded */
65 ASN__CTFAIL(app_key, td, sptr,
66 "%s: constraint failed (%s:%d)",
67 td->name, __FILE__, __LINE__);
73 memb_n2_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
74 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
75 const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
79 ASN__CTFAIL(app_key, td, sptr,
80 "%s: value not given (%s:%d)",
81 td->name, __FILE__, __LINE__);
87 size = 8 * st->size - (st->bits_unused & 0x07);
93 /* Constraint check succeeded */
96 ASN__CTFAIL(app_key, td, sptr,
97 "%s: constraint failed (%s:%d)",
98 td->name, __FILE__, __LINE__);
104 memb_n4_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
105 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
106 const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
110 ASN__CTFAIL(app_key, td, sptr,
111 "%s: value not given (%s:%d)",
112 td->name, __FILE__, __LINE__);
118 size = 8 * st->size - (st->bits_unused & 0x07);
124 /* Constraint check succeeded */
127 ASN__CTFAIL(app_key, td, sptr,
128 "%s: constraint failed (%s:%d)",
129 td->name, __FILE__, __LINE__);
135 memb_n5_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
136 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
137 const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
141 ASN__CTFAIL(app_key, td, sptr,
142 "%s: value not given (%s:%d)",
143 td->name, __FILE__, __LINE__);
149 size = 8 * st->size - (st->bits_unused & 0x07);
155 /* Constraint check succeeded */
158 ASN__CTFAIL(app_key, td, sptr,
159 "%s: constraint failed (%s:%d)",
160 td->name, __FILE__, __LINE__);
166 memb_n8_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
167 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
168 const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
172 ASN__CTFAIL(app_key, td, sptr,
173 "%s: value not given (%s:%d)",
174 td->name, __FILE__, __LINE__);
180 size = 8 * st->size - (st->bits_unused & 0x07);
186 /* Constraint check succeeded */
189 ASN__CTFAIL(app_key, td, sptr,
190 "%s: constraint failed (%s:%d)",
191 td->name, __FILE__, __LINE__);
197 memb_n10_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
198 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
199 const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
203 ASN__CTFAIL(app_key, td, sptr,
204 "%s: value not given (%s:%d)",
205 td->name, __FILE__, __LINE__);
211 size = 8 * st->size - (st->bits_unused & 0x07);
217 /* Constraint check succeeded */
220 ASN__CTFAIL(app_key, td, sptr,
221 "%s: constraint failed (%s:%d)",
222 td->name, __FILE__, __LINE__);
228 memb_n20_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
229 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
230 const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
234 ASN__CTFAIL(app_key, td, sptr,
235 "%s: value not given (%s:%d)",
236 td->name, __FILE__, __LINE__);
242 size = 8 * st->size - (st->bits_unused & 0x07);
248 /* Constraint check succeeded */
251 ASN__CTFAIL(app_key, td, sptr,
252 "%s: constraint failed (%s:%d)",
253 td->name, __FILE__, __LINE__);
259 memb_n40_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
260 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
261 const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
265 ASN__CTFAIL(app_key, td, sptr,
266 "%s: value not given (%s:%d)",
267 td->name, __FILE__, __LINE__);
273 size = 8 * st->size - (st->bits_unused & 0x07);
279 /* Constraint check succeeded */
282 ASN__CTFAIL(app_key, td, sptr,
283 "%s: constraint failed (%s:%d)",
284 td->name, __FILE__, __LINE__);
290 memb_resourceBlocks_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
291 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
292 const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
296 ASN__CTFAIL(app_key, td, sptr,
297 "%s: value not given (%s:%d)",
298 td->name, __FILE__, __LINE__);
304 size = 8 * st->size - (st->bits_unused & 0x07);
310 /* Constraint check succeeded */
313 ASN__CTFAIL(app_key, td, sptr,
314 "%s: constraint failed (%s:%d)",
315 td->name, __FILE__, __LINE__);
321 * This type is implemented using NativeEnumerated,
322 * so here we adjust the DEF accordingly.
324 static asn_oer_constraints_t asn_OER_memb_oneSlot_constr_7 CC_NOTUSED = {
326 14 /* (SIZE(14..14)) */};
327 static asn_per_constraints_t asn_PER_memb_oneSlot_constr_7 CC_NOTUSED = {
328 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
329 { APC_CONSTRAINED, 0, 0, 14, 14 } /* (SIZE(14..14)) */,
330 0, 0 /* No PER value map */
332 static asn_oer_constraints_t asn_OER_memb_twoSlots_constr_8 CC_NOTUSED = {
334 28 /* (SIZE(28..28)) */};
335 static asn_per_constraints_t asn_PER_memb_twoSlots_constr_8 CC_NOTUSED = {
336 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
337 { APC_CONSTRAINED, 0, 0, 28, 28 } /* (SIZE(28..28)) */,
338 0, 0 /* No PER value map */
340 static asn_oer_constraints_t asn_OER_type_symbolsInResourceBlock_constr_6 CC_NOTUSED = {
343 static asn_per_constraints_t asn_PER_type_symbolsInResourceBlock_constr_6 CC_NOTUSED = {
344 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
345 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
346 0, 0 /* No PER value map */
348 static asn_oer_constraints_t asn_OER_memb_n2_constr_10 CC_NOTUSED = {
350 2 /* (SIZE(2..2)) */};
351 static asn_per_constraints_t asn_PER_memb_n2_constr_10 CC_NOTUSED = {
352 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
353 { APC_CONSTRAINED, 0, 0, 2, 2 } /* (SIZE(2..2)) */,
354 0, 0 /* No PER value map */
356 static asn_oer_constraints_t asn_OER_memb_n4_constr_11 CC_NOTUSED = {
358 4 /* (SIZE(4..4)) */};
359 static asn_per_constraints_t asn_PER_memb_n4_constr_11 CC_NOTUSED = {
360 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
361 { APC_CONSTRAINED, 0, 0, 4, 4 } /* (SIZE(4..4)) */,
362 0, 0 /* No PER value map */
364 static asn_oer_constraints_t asn_OER_memb_n5_constr_12 CC_NOTUSED = {
366 5 /* (SIZE(5..5)) */};
367 static asn_per_constraints_t asn_PER_memb_n5_constr_12 CC_NOTUSED = {
368 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
369 { APC_CONSTRAINED, 0, 0, 5, 5 } /* (SIZE(5..5)) */,
370 0, 0 /* No PER value map */
372 static asn_oer_constraints_t asn_OER_memb_n8_constr_13 CC_NOTUSED = {
374 8 /* (SIZE(8..8)) */};
375 static asn_per_constraints_t asn_PER_memb_n8_constr_13 CC_NOTUSED = {
376 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
377 { APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */,
378 0, 0 /* No PER value map */
380 static asn_oer_constraints_t asn_OER_memb_n10_constr_14 CC_NOTUSED = {
382 10 /* (SIZE(10..10)) */};
383 static asn_per_constraints_t asn_PER_memb_n10_constr_14 CC_NOTUSED = {
384 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
385 { APC_CONSTRAINED, 0, 0, 10, 10 } /* (SIZE(10..10)) */,
386 0, 0 /* No PER value map */
388 static asn_oer_constraints_t asn_OER_memb_n20_constr_15 CC_NOTUSED = {
390 20 /* (SIZE(20..20)) */};
391 static asn_per_constraints_t asn_PER_memb_n20_constr_15 CC_NOTUSED = {
392 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
393 { APC_CONSTRAINED, 0, 0, 20, 20 } /* (SIZE(20..20)) */,
394 0, 0 /* No PER value map */
396 static asn_oer_constraints_t asn_OER_memb_n40_constr_16 CC_NOTUSED = {
398 40 /* (SIZE(40..40)) */};
399 static asn_per_constraints_t asn_PER_memb_n40_constr_16 CC_NOTUSED = {
400 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
401 { APC_CONSTRAINED, 0, 0, 40, 40 } /* (SIZE(40..40)) */,
402 0, 0 /* No PER value map */
404 static asn_oer_constraints_t asn_OER_type_periodicityAndPattern_constr_9 CC_NOTUSED = {
407 static asn_per_constraints_t asn_PER_type_periodicityAndPattern_constr_9 CC_NOTUSED = {
408 { APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */,
409 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
410 0, 0 /* No PER value map */
412 static asn_oer_constraints_t asn_OER_memb_resourceBlocks_constr_5 CC_NOTUSED = {
414 275 /* (SIZE(275..275)) */};
415 static asn_per_constraints_t asn_PER_memb_resourceBlocks_constr_5 CC_NOTUSED = {
416 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
417 { APC_CONSTRAINED, 0, 0, 275, 275 } /* (SIZE(275..275)) */,
418 0, 0 /* No PER value map */
420 static asn_oer_constraints_t asn_OER_type_patternType_constr_3 CC_NOTUSED = {
423 static asn_per_constraints_t asn_PER_type_patternType_constr_3 CC_NOTUSED = {
424 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
425 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
426 0, 0 /* No PER value map */
428 static asn_oer_constraints_t asn_OER_type_dummy_constr_20 CC_NOTUSED = {
431 static asn_per_constraints_t asn_PER_type_dummy_constr_20 CC_NOTUSED = {
432 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
433 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
434 0, 0 /* No PER value map */
436 static asn_TYPE_member_t asn_MBR_symbolsInResourceBlock_6[] = {
437 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock, choice.oneSlot),
438 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
439 -1, /* IMPLICIT tag at current level */
442 { &asn_OER_memb_oneSlot_constr_7, &asn_PER_memb_oneSlot_constr_7, memb_oneSlot_constraint_6 },
443 0, 0, /* No default value */
446 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock, choice.twoSlots),
447 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
448 -1, /* IMPLICIT tag at current level */
451 { &asn_OER_memb_twoSlots_constr_8, &asn_PER_memb_twoSlots_constr_8, memb_twoSlots_constraint_6 },
452 0, 0, /* No default value */
456 static const asn_TYPE_tag2member_t asn_MAP_symbolsInResourceBlock_tag2el_6[] = {
457 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* oneSlot */
458 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* twoSlots */
460 static asn_CHOICE_specifics_t asn_SPC_symbolsInResourceBlock_specs_6 = {
461 sizeof(struct RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock),
462 offsetof(struct RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock, _asn_ctx),
463 offsetof(struct RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock, present),
464 sizeof(((struct RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock *)0)->present),
465 asn_MAP_symbolsInResourceBlock_tag2el_6,
466 2, /* Count of tags in the map */
468 -1 /* Extensions start */
470 static /* Use -fall-defs-global to expose */
471 asn_TYPE_descriptor_t asn_DEF_symbolsInResourceBlock_6 = {
472 "symbolsInResourceBlock",
473 "symbolsInResourceBlock",
475 0, /* No effective tags (pointer) */
476 0, /* No effective tags (count) */
477 0, /* No tags (pointer) */
478 0, /* No tags (count) */
479 { &asn_OER_type_symbolsInResourceBlock_constr_6, &asn_PER_type_symbolsInResourceBlock_constr_6, CHOICE_constraint },
480 asn_MBR_symbolsInResourceBlock_6,
481 2, /* Elements count */
482 &asn_SPC_symbolsInResourceBlock_specs_6 /* Additional specs */
485 static asn_TYPE_member_t asn_MBR_periodicityAndPattern_9[] = {
486 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n2),
487 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
488 -1, /* IMPLICIT tag at current level */
491 { &asn_OER_memb_n2_constr_10, &asn_PER_memb_n2_constr_10, memb_n2_constraint_9 },
492 0, 0, /* No default value */
495 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n4),
496 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
497 -1, /* IMPLICIT tag at current level */
500 { &asn_OER_memb_n4_constr_11, &asn_PER_memb_n4_constr_11, memb_n4_constraint_9 },
501 0, 0, /* No default value */
504 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n5),
505 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
506 -1, /* IMPLICIT tag at current level */
509 { &asn_OER_memb_n5_constr_12, &asn_PER_memb_n5_constr_12, memb_n5_constraint_9 },
510 0, 0, /* No default value */
513 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n8),
514 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
515 -1, /* IMPLICIT tag at current level */
518 { &asn_OER_memb_n8_constr_13, &asn_PER_memb_n8_constr_13, memb_n8_constraint_9 },
519 0, 0, /* No default value */
522 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n10),
523 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
524 -1, /* IMPLICIT tag at current level */
527 { &asn_OER_memb_n10_constr_14, &asn_PER_memb_n10_constr_14, memb_n10_constraint_9 },
528 0, 0, /* No default value */
531 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n20),
532 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
533 -1, /* IMPLICIT tag at current level */
536 { &asn_OER_memb_n20_constr_15, &asn_PER_memb_n20_constr_15, memb_n20_constraint_9 },
537 0, 0, /* No default value */
540 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n40),
541 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
542 -1, /* IMPLICIT tag at current level */
545 { &asn_OER_memb_n40_constr_16, &asn_PER_memb_n40_constr_16, memb_n40_constraint_9 },
546 0, 0, /* No default value */
550 static const asn_TYPE_tag2member_t asn_MAP_periodicityAndPattern_tag2el_9[] = {
551 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* n2 */
552 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* n4 */
553 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* n5 */
554 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* n8 */
555 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* n10 */
556 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* n20 */
557 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* n40 */
559 static asn_CHOICE_specifics_t asn_SPC_periodicityAndPattern_specs_9 = {
560 sizeof(struct RateMatchPattern__patternType__bitmaps__periodicityAndPattern),
561 offsetof(struct RateMatchPattern__patternType__bitmaps__periodicityAndPattern, _asn_ctx),
562 offsetof(struct RateMatchPattern__patternType__bitmaps__periodicityAndPattern, present),
563 sizeof(((struct RateMatchPattern__patternType__bitmaps__periodicityAndPattern *)0)->present),
564 asn_MAP_periodicityAndPattern_tag2el_9,
565 7, /* Count of tags in the map */
567 -1 /* Extensions start */
569 static /* Use -fall-defs-global to expose */
570 asn_TYPE_descriptor_t asn_DEF_periodicityAndPattern_9 = {
571 "periodicityAndPattern",
572 "periodicityAndPattern",
574 0, /* No effective tags (pointer) */
575 0, /* No effective tags (count) */
576 0, /* No tags (pointer) */
577 0, /* No tags (count) */
578 { &asn_OER_type_periodicityAndPattern_constr_9, &asn_PER_type_periodicityAndPattern_constr_9, CHOICE_constraint },
579 asn_MBR_periodicityAndPattern_9,
580 7, /* Elements count */
581 &asn_SPC_periodicityAndPattern_specs_9 /* Additional specs */
584 static asn_TYPE_member_t asn_MBR_bitmaps_4[] = {
585 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern__patternType__bitmaps, resourceBlocks),
586 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
587 -1, /* IMPLICIT tag at current level */
590 { &asn_OER_memb_resourceBlocks_constr_5, &asn_PER_memb_resourceBlocks_constr_5, memb_resourceBlocks_constraint_4 },
591 0, 0, /* No default value */
594 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern__patternType__bitmaps, symbolsInResourceBlock),
595 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
596 +1, /* EXPLICIT tag at current level */
597 &asn_DEF_symbolsInResourceBlock_6,
600 0, 0, /* No default value */
601 "symbolsInResourceBlock"
603 { ATF_POINTER, 1, offsetof(struct RateMatchPattern__patternType__bitmaps, periodicityAndPattern),
604 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
605 +1, /* EXPLICIT tag at current level */
606 &asn_DEF_periodicityAndPattern_9,
609 0, 0, /* No default value */
610 "periodicityAndPattern"
613 static const int asn_MAP_bitmaps_oms_4[] = { 2 };
614 static const ber_tlv_tag_t asn_DEF_bitmaps_tags_4[] = {
615 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
616 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
618 static const asn_TYPE_tag2member_t asn_MAP_bitmaps_tag2el_4[] = {
619 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* resourceBlocks */
620 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* symbolsInResourceBlock */
621 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* periodicityAndPattern */
623 static asn_SEQUENCE_specifics_t asn_SPC_bitmaps_specs_4 = {
624 sizeof(struct RateMatchPattern__patternType__bitmaps),
625 offsetof(struct RateMatchPattern__patternType__bitmaps, _asn_ctx),
626 asn_MAP_bitmaps_tag2el_4,
627 3, /* Count of tags in the map */
628 asn_MAP_bitmaps_oms_4, /* Optional members */
629 1, 0, /* Root/Additions */
630 3, /* First extension addition */
632 static /* Use -fall-defs-global to expose */
633 asn_TYPE_descriptor_t asn_DEF_bitmaps_4 = {
637 asn_DEF_bitmaps_tags_4,
638 sizeof(asn_DEF_bitmaps_tags_4)
639 /sizeof(asn_DEF_bitmaps_tags_4[0]) - 1, /* 1 */
640 asn_DEF_bitmaps_tags_4, /* Same as above */
641 sizeof(asn_DEF_bitmaps_tags_4)
642 /sizeof(asn_DEF_bitmaps_tags_4[0]), /* 2 */
643 { 0, 0, SEQUENCE_constraint },
645 3, /* Elements count */
646 &asn_SPC_bitmaps_specs_4 /* Additional specs */
649 static asn_TYPE_member_t asn_MBR_patternType_3[] = {
650 { ATF_POINTER, 0, offsetof(struct RateMatchPattern__patternType, choice.bitmaps),
651 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
656 0, 0, /* No default value */
659 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern__patternType, choice.controlResourceSet),
660 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
661 -1, /* IMPLICIT tag at current level */
662 &asn_DEF_ControlResourceSetId,
665 0, 0, /* No default value */
669 static const asn_TYPE_tag2member_t asn_MAP_patternType_tag2el_3[] = {
670 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bitmaps */
671 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* controlResourceSet */
673 static asn_CHOICE_specifics_t asn_SPC_patternType_specs_3 = {
674 sizeof(struct RateMatchPattern__patternType),
675 offsetof(struct RateMatchPattern__patternType, _asn_ctx),
676 offsetof(struct RateMatchPattern__patternType, present),
677 sizeof(((struct RateMatchPattern__patternType *)0)->present),
678 asn_MAP_patternType_tag2el_3,
679 2, /* Count of tags in the map */
681 -1 /* Extensions start */
683 static /* Use -fall-defs-global to expose */
684 asn_TYPE_descriptor_t asn_DEF_patternType_3 = {
688 0, /* No effective tags (pointer) */
689 0, /* No effective tags (count) */
690 0, /* No tags (pointer) */
691 0, /* No tags (count) */
692 { &asn_OER_type_patternType_constr_3, &asn_PER_type_patternType_constr_3, CHOICE_constraint },
693 asn_MBR_patternType_3,
694 2, /* Elements count */
695 &asn_SPC_patternType_specs_3 /* Additional specs */
698 static const asn_INTEGER_enum_map_t asn_MAP_dummy_value2enum_20[] = {
700 { 1, 10, "semiStatic" }
702 static const unsigned int asn_MAP_dummy_enum2value_20[] = {
704 1 /* semiStatic(1) */
706 static const asn_INTEGER_specifics_t asn_SPC_dummy_specs_20 = {
707 asn_MAP_dummy_value2enum_20, /* "tag" => N; sorted by tag */
708 asn_MAP_dummy_enum2value_20, /* N => "tag"; sorted by N */
709 2, /* 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_dummy_tags_20[] = {
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_dummy_20 = {
723 &asn_OP_NativeEnumerated,
724 asn_DEF_dummy_tags_20,
725 sizeof(asn_DEF_dummy_tags_20)
726 /sizeof(asn_DEF_dummy_tags_20[0]) - 1, /* 1 */
727 asn_DEF_dummy_tags_20, /* Same as above */
728 sizeof(asn_DEF_dummy_tags_20)
729 /sizeof(asn_DEF_dummy_tags_20[0]), /* 2 */
730 { &asn_OER_type_dummy_constr_20, &asn_PER_type_dummy_constr_20, NativeEnumerated_constraint },
731 0, 0, /* Defined elsewhere */
732 &asn_SPC_dummy_specs_20 /* Additional specs */
735 asn_TYPE_member_t asn_MBR_RateMatchPattern_1[] = {
736 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern, rateMatchPatternId),
737 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
738 -1, /* IMPLICIT tag at current level */
739 &asn_DEF_RateMatchPatternId,
742 0, 0, /* No default value */
745 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern, patternType),
746 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
747 +1, /* EXPLICIT tag at current level */
748 &asn_DEF_patternType_3,
751 0, 0, /* No default value */
754 { ATF_POINTER, 1, offsetof(struct RateMatchPattern, subcarrierSpacing),
755 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
756 -1, /* IMPLICIT tag at current level */
757 &asn_DEF_SubcarrierSpacing,
760 0, 0, /* No default value */
763 { ATF_NOFLAGS, 0, offsetof(struct RateMatchPattern, dummy),
764 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
765 -1, /* IMPLICIT tag at current level */
769 0, 0, /* No default value */
773 static const int asn_MAP_RateMatchPattern_oms_1[] = { 2 };
774 static const ber_tlv_tag_t asn_DEF_RateMatchPattern_tags_1[] = {
775 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
777 static const asn_TYPE_tag2member_t asn_MAP_RateMatchPattern_tag2el_1[] = {
778 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rateMatchPatternId */
779 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* patternType */
780 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* subcarrierSpacing */
781 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* dummy */
783 asn_SEQUENCE_specifics_t asn_SPC_RateMatchPattern_specs_1 = {
784 sizeof(struct RateMatchPattern),
785 offsetof(struct RateMatchPattern, _asn_ctx),
786 asn_MAP_RateMatchPattern_tag2el_1,
787 4, /* Count of tags in the map */
788 asn_MAP_RateMatchPattern_oms_1, /* Optional members */
789 1, 0, /* Root/Additions */
790 4, /* First extension addition */
792 asn_TYPE_descriptor_t asn_DEF_RateMatchPattern = {
796 asn_DEF_RateMatchPattern_tags_1,
797 sizeof(asn_DEF_RateMatchPattern_tags_1)
798 /sizeof(asn_DEF_RateMatchPattern_tags_1[0]), /* 1 */
799 asn_DEF_RateMatchPattern_tags_1, /* Same as above */
800 sizeof(asn_DEF_RateMatchPattern_tags_1)
801 /sizeof(asn_DEF_RateMatchPattern_tags_1[0]), /* 1 */
802 { 0, 0, SEQUENCE_constraint },
803 asn_MBR_RateMatchPattern_1,
804 4, /* Elements count */
805 &asn_SPC_RateMatchPattern_specs_1 /* Additional specs */