2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "./22April22_Paging/rrc_15.3_asn.asn1"
5 * `asn1c -D ./22April22_Paging -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "PDCCH-ServingCellConfig.h"
10 #include "SlotFormatIndicator.h"
11 static asn_oer_constraints_t asn_OER_type_slotFormatIndicator_constr_2 CC_NOTUSED = {
14 static asn_per_constraints_t asn_PER_type_slotFormatIndicator_constr_2 CC_NOTUSED = {
15 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
16 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
17 0, 0 /* No PER value map */
19 static asn_TYPE_member_t asn_MBR_slotFormatIndicator_2[] = {
20 { ATF_NOFLAGS, 0, offsetof(struct PDCCH_ServingCellConfig__slotFormatIndicator, choice.release),
21 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
22 -1, /* IMPLICIT tag at current level */
26 0, 0, /* No default value */
29 { ATF_POINTER, 0, offsetof(struct PDCCH_ServingCellConfig__slotFormatIndicator, choice.setup),
30 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
31 -1, /* IMPLICIT tag at current level */
32 &asn_DEF_SlotFormatIndicator,
35 0, 0, /* No default value */
39 static const asn_TYPE_tag2member_t asn_MAP_slotFormatIndicator_tag2el_2[] = {
40 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
41 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
43 static asn_CHOICE_specifics_t asn_SPC_slotFormatIndicator_specs_2 = {
44 sizeof(struct PDCCH_ServingCellConfig__slotFormatIndicator),
45 offsetof(struct PDCCH_ServingCellConfig__slotFormatIndicator, _asn_ctx),
46 offsetof(struct PDCCH_ServingCellConfig__slotFormatIndicator, present),
47 sizeof(((struct PDCCH_ServingCellConfig__slotFormatIndicator *)0)->present),
48 asn_MAP_slotFormatIndicator_tag2el_2,
49 2, /* Count of tags in the map */
51 -1 /* Extensions start */
53 static /* Use -fall-defs-global to expose */
54 asn_TYPE_descriptor_t asn_DEF_slotFormatIndicator_2 = {
55 "slotFormatIndicator",
56 "slotFormatIndicator",
58 0, /* No effective tags (pointer) */
59 0, /* No effective tags (count) */
60 0, /* No tags (pointer) */
61 0, /* No tags (count) */
62 { &asn_OER_type_slotFormatIndicator_constr_2, &asn_PER_type_slotFormatIndicator_constr_2, CHOICE_constraint },
63 asn_MBR_slotFormatIndicator_2,
64 2, /* Elements count */
65 &asn_SPC_slotFormatIndicator_specs_2 /* Additional specs */
68 asn_TYPE_member_t asn_MBR_PDCCH_ServingCellConfig_1[] = {
69 { ATF_POINTER, 1, offsetof(struct PDCCH_ServingCellConfig, slotFormatIndicator),
70 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
71 +1, /* EXPLICIT tag at current level */
72 &asn_DEF_slotFormatIndicator_2,
75 0, 0, /* No default value */
79 static const int asn_MAP_PDCCH_ServingCellConfig_oms_1[] = { 0 };
80 static const ber_tlv_tag_t asn_DEF_PDCCH_ServingCellConfig_tags_1[] = {
81 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
83 static const asn_TYPE_tag2member_t asn_MAP_PDCCH_ServingCellConfig_tag2el_1[] = {
84 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* slotFormatIndicator */
86 asn_SEQUENCE_specifics_t asn_SPC_PDCCH_ServingCellConfig_specs_1 = {
87 sizeof(struct PDCCH_ServingCellConfig),
88 offsetof(struct PDCCH_ServingCellConfig, _asn_ctx),
89 asn_MAP_PDCCH_ServingCellConfig_tag2el_1,
90 1, /* Count of tags in the map */
91 asn_MAP_PDCCH_ServingCellConfig_oms_1, /* Optional members */
92 1, 0, /* Root/Additions */
93 1, /* First extension addition */
95 asn_TYPE_descriptor_t asn_DEF_PDCCH_ServingCellConfig = {
96 "PDCCH-ServingCellConfig",
97 "PDCCH-ServingCellConfig",
99 asn_DEF_PDCCH_ServingCellConfig_tags_1,
100 sizeof(asn_DEF_PDCCH_ServingCellConfig_tags_1)
101 /sizeof(asn_DEF_PDCCH_ServingCellConfig_tags_1[0]), /* 1 */
102 asn_DEF_PDCCH_ServingCellConfig_tags_1, /* Same as above */
103 sizeof(asn_DEF_PDCCH_ServingCellConfig_tags_1)
104 /sizeof(asn_DEF_PDCCH_ServingCellConfig_tags_1[0]), /* 1 */
105 { 0, 0, SEQUENCE_constraint },
106 asn_MBR_PDCCH_ServingCellConfig_1,
107 1, /* Elements count */
108 &asn_SPC_PDCCH_ServingCellConfig_specs_1 /* Additional specs */