2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../../mib_sib1.asn1"
5 * `asn1c -D ./new_out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "BWP-DownlinkCommon.h"
10 #include "PDCCH-ConfigCommon.h"
11 #include "PDSCH-ConfigCommon.h"
12 static asn_oer_constraints_t asn_OER_type_pdcch_ConfigCommon_constr_3 CC_NOTUSED = {
15 static asn_per_constraints_t asn_PER_type_pdcch_ConfigCommon_constr_3 CC_NOTUSED = {
16 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
17 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
18 0, 0 /* No PER value map */
20 static asn_oer_constraints_t asn_OER_type_pdsch_ConfigCommon_constr_6 CC_NOTUSED = {
23 static asn_per_constraints_t asn_PER_type_pdsch_ConfigCommon_constr_6 CC_NOTUSED = {
24 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
25 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
26 0, 0 /* No PER value map */
28 static asn_TYPE_member_t asn_MBR_pdcch_ConfigCommon_3[] = {
29 { ATF_NOFLAGS, 0, offsetof(struct BWP_DownlinkCommon__pdcch_ConfigCommon, choice.release),
30 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
31 -1, /* IMPLICIT tag at current level */
35 0, 0, /* No default value */
38 { ATF_POINTER, 0, offsetof(struct BWP_DownlinkCommon__pdcch_ConfigCommon, choice.setup),
39 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
40 -1, /* IMPLICIT tag at current level */
41 &asn_DEF_PDCCH_ConfigCommon,
44 0, 0, /* No default value */
48 static const asn_TYPE_tag2member_t asn_MAP_pdcch_ConfigCommon_tag2el_3[] = {
49 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
50 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
52 static asn_CHOICE_specifics_t asn_SPC_pdcch_ConfigCommon_specs_3 = {
53 sizeof(struct BWP_DownlinkCommon__pdcch_ConfigCommon),
54 offsetof(struct BWP_DownlinkCommon__pdcch_ConfigCommon, _asn_ctx),
55 offsetof(struct BWP_DownlinkCommon__pdcch_ConfigCommon, present),
56 sizeof(((struct BWP_DownlinkCommon__pdcch_ConfigCommon *)0)->present),
57 asn_MAP_pdcch_ConfigCommon_tag2el_3,
58 2, /* Count of tags in the map */
60 -1 /* Extensions start */
62 static /* Use -fall-defs-global to expose */
63 asn_TYPE_descriptor_t asn_DEF_pdcch_ConfigCommon_3 = {
67 0, /* No effective tags (pointer) */
68 0, /* No effective tags (count) */
69 0, /* No tags (pointer) */
70 0, /* No tags (count) */
71 { &asn_OER_type_pdcch_ConfigCommon_constr_3, &asn_PER_type_pdcch_ConfigCommon_constr_3, CHOICE_constraint },
72 asn_MBR_pdcch_ConfigCommon_3,
73 2, /* Elements count */
74 &asn_SPC_pdcch_ConfigCommon_specs_3 /* Additional specs */
77 static asn_TYPE_member_t asn_MBR_pdsch_ConfigCommon_6[] = {
78 { ATF_NOFLAGS, 0, offsetof(struct BWP_DownlinkCommon__pdsch_ConfigCommon, choice.release),
79 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
80 -1, /* IMPLICIT tag at current level */
84 0, 0, /* No default value */
87 { ATF_POINTER, 0, offsetof(struct BWP_DownlinkCommon__pdsch_ConfigCommon, choice.setup),
88 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
89 -1, /* IMPLICIT tag at current level */
90 &asn_DEF_PDSCH_ConfigCommon,
93 0, 0, /* No default value */
97 static const asn_TYPE_tag2member_t asn_MAP_pdsch_ConfigCommon_tag2el_6[] = {
98 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
99 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
101 static asn_CHOICE_specifics_t asn_SPC_pdsch_ConfigCommon_specs_6 = {
102 sizeof(struct BWP_DownlinkCommon__pdsch_ConfigCommon),
103 offsetof(struct BWP_DownlinkCommon__pdsch_ConfigCommon, _asn_ctx),
104 offsetof(struct BWP_DownlinkCommon__pdsch_ConfigCommon, present),
105 sizeof(((struct BWP_DownlinkCommon__pdsch_ConfigCommon *)0)->present),
106 asn_MAP_pdsch_ConfigCommon_tag2el_6,
107 2, /* Count of tags in the map */
109 -1 /* Extensions start */
111 static /* Use -fall-defs-global to expose */
112 asn_TYPE_descriptor_t asn_DEF_pdsch_ConfigCommon_6 = {
113 "pdsch-ConfigCommon",
114 "pdsch-ConfigCommon",
116 0, /* No effective tags (pointer) */
117 0, /* No effective tags (count) */
118 0, /* No tags (pointer) */
119 0, /* No tags (count) */
120 { &asn_OER_type_pdsch_ConfigCommon_constr_6, &asn_PER_type_pdsch_ConfigCommon_constr_6, CHOICE_constraint },
121 asn_MBR_pdsch_ConfigCommon_6,
122 2, /* Elements count */
123 &asn_SPC_pdsch_ConfigCommon_specs_6 /* Additional specs */
126 asn_TYPE_member_t asn_MBR_BWP_DownlinkCommon_1[] = {
127 { ATF_NOFLAGS, 0, offsetof(struct BWP_DownlinkCommon, genericParameters),
128 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
129 -1, /* IMPLICIT tag at current level */
133 0, 0, /* No default value */
136 { ATF_POINTER, 2, offsetof(struct BWP_DownlinkCommon, pdcch_ConfigCommon),
137 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
138 +1, /* EXPLICIT tag at current level */
139 &asn_DEF_pdcch_ConfigCommon_3,
142 0, 0, /* No default value */
145 { ATF_POINTER, 1, offsetof(struct BWP_DownlinkCommon, pdsch_ConfigCommon),
146 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
147 +1, /* EXPLICIT tag at current level */
148 &asn_DEF_pdsch_ConfigCommon_6,
151 0, 0, /* No default value */
155 static const int asn_MAP_BWP_DownlinkCommon_oms_1[] = { 1, 2 };
156 static const ber_tlv_tag_t asn_DEF_BWP_DownlinkCommon_tags_1[] = {
157 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
159 static const asn_TYPE_tag2member_t asn_MAP_BWP_DownlinkCommon_tag2el_1[] = {
160 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* genericParameters */
161 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* pdcch-ConfigCommon */
162 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* pdsch-ConfigCommon */
164 asn_SEQUENCE_specifics_t asn_SPC_BWP_DownlinkCommon_specs_1 = {
165 sizeof(struct BWP_DownlinkCommon),
166 offsetof(struct BWP_DownlinkCommon, _asn_ctx),
167 asn_MAP_BWP_DownlinkCommon_tag2el_1,
168 3, /* Count of tags in the map */
169 asn_MAP_BWP_DownlinkCommon_oms_1, /* Optional members */
170 2, 0, /* Root/Additions */
171 3, /* First extension addition */
173 asn_TYPE_descriptor_t asn_DEF_BWP_DownlinkCommon = {
174 "BWP-DownlinkCommon",
175 "BWP-DownlinkCommon",
177 asn_DEF_BWP_DownlinkCommon_tags_1,
178 sizeof(asn_DEF_BWP_DownlinkCommon_tags_1)
179 /sizeof(asn_DEF_BWP_DownlinkCommon_tags_1[0]), /* 1 */
180 asn_DEF_BWP_DownlinkCommon_tags_1, /* Same as above */
181 sizeof(asn_DEF_BWP_DownlinkCommon_tags_1)
182 /sizeof(asn_DEF_BWP_DownlinkCommon_tags_1[0]), /* 1 */
183 { 0, 0, SEQUENCE_constraint },
184 asn_MBR_BWP_DownlinkCommon_1,
185 3, /* Elements count */
186 &asn_SPC_BWP_DownlinkCommon_specs_1 /* Additional specs */