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 ./mib_sib_out/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "BWP-UplinkCommon.h"
10 #include "RACH-ConfigCommon.h"
11 #include "PUSCH-ConfigCommon.h"
12 #include "PUCCH-ConfigCommon.h"
13 static asn_oer_constraints_t asn_OER_type_rach_ConfigCommon_constr_3 CC_NOTUSED = {
16 static asn_per_constraints_t asn_PER_type_rach_ConfigCommon_constr_3 CC_NOTUSED = {
17 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
18 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
19 0, 0 /* No PER value map */
21 static asn_oer_constraints_t asn_OER_type_pusch_ConfigCommon_constr_6 CC_NOTUSED = {
24 static asn_per_constraints_t asn_PER_type_pusch_ConfigCommon_constr_6 CC_NOTUSED = {
25 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
26 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
27 0, 0 /* No PER value map */
29 static asn_oer_constraints_t asn_OER_type_pucch_ConfigCommon_constr_9 CC_NOTUSED = {
32 static asn_per_constraints_t asn_PER_type_pucch_ConfigCommon_constr_9 CC_NOTUSED = {
33 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
34 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
35 0, 0 /* No PER value map */
37 static asn_TYPE_member_t asn_MBR_rach_ConfigCommon_3[] = {
38 { ATF_NOFLAGS, 0, offsetof(struct BWP_UplinkCommon__rach_ConfigCommon, choice.release),
39 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
40 -1, /* IMPLICIT tag at current level */
44 0, 0, /* No default value */
47 { ATF_POINTER, 0, offsetof(struct BWP_UplinkCommon__rach_ConfigCommon, choice.setup),
48 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
49 -1, /* IMPLICIT tag at current level */
50 &asn_DEF_RACH_ConfigCommon,
53 0, 0, /* No default value */
57 static const asn_TYPE_tag2member_t asn_MAP_rach_ConfigCommon_tag2el_3[] = {
58 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
59 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
61 static asn_CHOICE_specifics_t asn_SPC_rach_ConfigCommon_specs_3 = {
62 sizeof(struct BWP_UplinkCommon__rach_ConfigCommon),
63 offsetof(struct BWP_UplinkCommon__rach_ConfigCommon, _asn_ctx),
64 offsetof(struct BWP_UplinkCommon__rach_ConfigCommon, present),
65 sizeof(((struct BWP_UplinkCommon__rach_ConfigCommon *)0)->present),
66 asn_MAP_rach_ConfigCommon_tag2el_3,
67 2, /* Count of tags in the map */
69 -1 /* Extensions start */
71 static /* Use -fall-defs-global to expose */
72 asn_TYPE_descriptor_t asn_DEF_rach_ConfigCommon_3 = {
76 0, /* No effective tags (pointer) */
77 0, /* No effective tags (count) */
78 0, /* No tags (pointer) */
79 0, /* No tags (count) */
80 { &asn_OER_type_rach_ConfigCommon_constr_3, &asn_PER_type_rach_ConfigCommon_constr_3, CHOICE_constraint },
81 asn_MBR_rach_ConfigCommon_3,
82 2, /* Elements count */
83 &asn_SPC_rach_ConfigCommon_specs_3 /* Additional specs */
86 static asn_TYPE_member_t asn_MBR_pusch_ConfigCommon_6[] = {
87 { ATF_NOFLAGS, 0, offsetof(struct BWP_UplinkCommon__pusch_ConfigCommon, choice.release),
88 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
89 -1, /* IMPLICIT tag at current level */
93 0, 0, /* No default value */
96 { ATF_POINTER, 0, offsetof(struct BWP_UplinkCommon__pusch_ConfigCommon, choice.setup),
97 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
98 -1, /* IMPLICIT tag at current level */
99 &asn_DEF_PUSCH_ConfigCommon,
102 0, 0, /* No default value */
106 static const asn_TYPE_tag2member_t asn_MAP_pusch_ConfigCommon_tag2el_6[] = {
107 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
108 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
110 static asn_CHOICE_specifics_t asn_SPC_pusch_ConfigCommon_specs_6 = {
111 sizeof(struct BWP_UplinkCommon__pusch_ConfigCommon),
112 offsetof(struct BWP_UplinkCommon__pusch_ConfigCommon, _asn_ctx),
113 offsetof(struct BWP_UplinkCommon__pusch_ConfigCommon, present),
114 sizeof(((struct BWP_UplinkCommon__pusch_ConfigCommon *)0)->present),
115 asn_MAP_pusch_ConfigCommon_tag2el_6,
116 2, /* Count of tags in the map */
118 -1 /* Extensions start */
120 static /* Use -fall-defs-global to expose */
121 asn_TYPE_descriptor_t asn_DEF_pusch_ConfigCommon_6 = {
122 "pusch-ConfigCommon",
123 "pusch-ConfigCommon",
125 0, /* No effective tags (pointer) */
126 0, /* No effective tags (count) */
127 0, /* No tags (pointer) */
128 0, /* No tags (count) */
129 { &asn_OER_type_pusch_ConfigCommon_constr_6, &asn_PER_type_pusch_ConfigCommon_constr_6, CHOICE_constraint },
130 asn_MBR_pusch_ConfigCommon_6,
131 2, /* Elements count */
132 &asn_SPC_pusch_ConfigCommon_specs_6 /* Additional specs */
135 static asn_TYPE_member_t asn_MBR_pucch_ConfigCommon_9[] = {
136 { ATF_NOFLAGS, 0, offsetof(struct BWP_UplinkCommon__pucch_ConfigCommon, choice.release),
137 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
138 -1, /* IMPLICIT tag at current level */
142 0, 0, /* No default value */
145 { ATF_POINTER, 0, offsetof(struct BWP_UplinkCommon__pucch_ConfigCommon, choice.setup),
146 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
147 -1, /* IMPLICIT tag at current level */
148 &asn_DEF_PUCCH_ConfigCommon,
151 0, 0, /* No default value */
155 static const asn_TYPE_tag2member_t asn_MAP_pucch_ConfigCommon_tag2el_9[] = {
156 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
157 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
159 static asn_CHOICE_specifics_t asn_SPC_pucch_ConfigCommon_specs_9 = {
160 sizeof(struct BWP_UplinkCommon__pucch_ConfigCommon),
161 offsetof(struct BWP_UplinkCommon__pucch_ConfigCommon, _asn_ctx),
162 offsetof(struct BWP_UplinkCommon__pucch_ConfigCommon, present),
163 sizeof(((struct BWP_UplinkCommon__pucch_ConfigCommon *)0)->present),
164 asn_MAP_pucch_ConfigCommon_tag2el_9,
165 2, /* Count of tags in the map */
167 -1 /* Extensions start */
169 static /* Use -fall-defs-global to expose */
170 asn_TYPE_descriptor_t asn_DEF_pucch_ConfigCommon_9 = {
171 "pucch-ConfigCommon",
172 "pucch-ConfigCommon",
174 0, /* No effective tags (pointer) */
175 0, /* No effective tags (count) */
176 0, /* No tags (pointer) */
177 0, /* No tags (count) */
178 { &asn_OER_type_pucch_ConfigCommon_constr_9, &asn_PER_type_pucch_ConfigCommon_constr_9, CHOICE_constraint },
179 asn_MBR_pucch_ConfigCommon_9,
180 2, /* Elements count */
181 &asn_SPC_pucch_ConfigCommon_specs_9 /* Additional specs */
184 asn_TYPE_member_t asn_MBR_BWP_UplinkCommon_1[] = {
185 { ATF_NOFLAGS, 0, offsetof(struct BWP_UplinkCommon, genericParameters),
186 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
187 -1, /* IMPLICIT tag at current level */
191 0, 0, /* No default value */
194 { ATF_POINTER, 3, offsetof(struct BWP_UplinkCommon, rach_ConfigCommon),
195 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
196 +1, /* EXPLICIT tag at current level */
197 &asn_DEF_rach_ConfigCommon_3,
200 0, 0, /* No default value */
203 { ATF_POINTER, 2, offsetof(struct BWP_UplinkCommon, pusch_ConfigCommon),
204 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
205 +1, /* EXPLICIT tag at current level */
206 &asn_DEF_pusch_ConfigCommon_6,
209 0, 0, /* No default value */
212 { ATF_POINTER, 1, offsetof(struct BWP_UplinkCommon, pucch_ConfigCommon),
213 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
214 +1, /* EXPLICIT tag at current level */
215 &asn_DEF_pucch_ConfigCommon_9,
218 0, 0, /* No default value */
222 static const int asn_MAP_BWP_UplinkCommon_oms_1[] = { 1, 2, 3 };
223 static const ber_tlv_tag_t asn_DEF_BWP_UplinkCommon_tags_1[] = {
224 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
226 static const asn_TYPE_tag2member_t asn_MAP_BWP_UplinkCommon_tag2el_1[] = {
227 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* genericParameters */
228 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rach-ConfigCommon */
229 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pusch-ConfigCommon */
230 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* pucch-ConfigCommon */
232 asn_SEQUENCE_specifics_t asn_SPC_BWP_UplinkCommon_specs_1 = {
233 sizeof(struct BWP_UplinkCommon),
234 offsetof(struct BWP_UplinkCommon, _asn_ctx),
235 asn_MAP_BWP_UplinkCommon_tag2el_1,
236 4, /* Count of tags in the map */
237 asn_MAP_BWP_UplinkCommon_oms_1, /* Optional members */
238 3, 0, /* Root/Additions */
239 4, /* First extension addition */
241 asn_TYPE_descriptor_t asn_DEF_BWP_UplinkCommon = {
245 asn_DEF_BWP_UplinkCommon_tags_1,
246 sizeof(asn_DEF_BWP_UplinkCommon_tags_1)
247 /sizeof(asn_DEF_BWP_UplinkCommon_tags_1[0]), /* 1 */
248 asn_DEF_BWP_UplinkCommon_tags_1, /* Same as above */
249 sizeof(asn_DEF_BWP_UplinkCommon_tags_1)
250 /sizeof(asn_DEF_BWP_UplinkCommon_tags_1[0]), /* 1 */
251 { 0, 0, SEQUENCE_constraint },
252 asn_MBR_BWP_UplinkCommon_1,
253 4, /* Elements count */
254 &asn_SPC_BWP_UplinkCommon_specs_1 /* Additional specs */