[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / BWP-DownlinkDedicated.c
1 /*
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`
6  */
7
8 #include "BWP-DownlinkDedicated.h"
9
10 #include "PDCCH-Config.h"
11 #include "PDSCH-Config.h"
12 #include "SPS-Config.h"
13 #include "RadioLinkMonitoringConfig.h"
14 static asn_oer_constraints_t asn_OER_type_pdcch_Config_constr_2 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 static asn_per_constraints_t asn_PER_type_pdcch_Config_constr_2 CC_NOTUSED = {
18         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
19         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
20         0, 0    /* No PER value map */
21 };
22 static asn_oer_constraints_t asn_OER_type_pdsch_Config_constr_5 CC_NOTUSED = {
23         { 0, 0 },
24         -1};
25 static asn_per_constraints_t asn_PER_type_pdsch_Config_constr_5 CC_NOTUSED = {
26         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
27         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
28         0, 0    /* No PER value map */
29 };
30 static asn_oer_constraints_t asn_OER_type_sps_Config_constr_8 CC_NOTUSED = {
31         { 0, 0 },
32         -1};
33 static asn_per_constraints_t asn_PER_type_sps_Config_constr_8 CC_NOTUSED = {
34         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
35         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
36         0, 0    /* No PER value map */
37 };
38 static asn_oer_constraints_t asn_OER_type_radioLinkMonitoringConfig_constr_11 CC_NOTUSED = {
39         { 0, 0 },
40         -1};
41 static asn_per_constraints_t asn_PER_type_radioLinkMonitoringConfig_constr_11 CC_NOTUSED = {
42         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
43         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
44         0, 0    /* No PER value map */
45 };
46 static asn_TYPE_member_t asn_MBR_pdcch_Config_2[] = {
47         { ATF_NOFLAGS, 0, offsetof(struct BWP_DownlinkDedicated__pdcch_Config, choice.release),
48                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
49                 -1,     /* IMPLICIT tag at current level */
50                 &asn_DEF_NULL,
51                 0,
52                 { 0, 0, 0 },
53                 0, 0, /* No default value */
54                 "release"
55                 },
56         { ATF_POINTER, 0, offsetof(struct BWP_DownlinkDedicated__pdcch_Config, choice.setup),
57                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
58                 -1,     /* IMPLICIT tag at current level */
59                 &asn_DEF_PDCCH_Config,
60                 0,
61                 { 0, 0, 0 },
62                 0, 0, /* No default value */
63                 "setup"
64                 },
65 };
66 static const asn_TYPE_tag2member_t asn_MAP_pdcch_Config_tag2el_2[] = {
67     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
68     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
69 };
70 static asn_CHOICE_specifics_t asn_SPC_pdcch_Config_specs_2 = {
71         sizeof(struct BWP_DownlinkDedicated__pdcch_Config),
72         offsetof(struct BWP_DownlinkDedicated__pdcch_Config, _asn_ctx),
73         offsetof(struct BWP_DownlinkDedicated__pdcch_Config, present),
74         sizeof(((struct BWP_DownlinkDedicated__pdcch_Config *)0)->present),
75         asn_MAP_pdcch_Config_tag2el_2,
76         2,      /* Count of tags in the map */
77         0, 0,
78         -1      /* Extensions start */
79 };
80 static /* Use -fall-defs-global to expose */
81 asn_TYPE_descriptor_t asn_DEF_pdcch_Config_2 = {
82         "pdcch-Config",
83         "pdcch-Config",
84         &asn_OP_CHOICE,
85         0,      /* No effective tags (pointer) */
86         0,      /* No effective tags (count) */
87         0,      /* No tags (pointer) */
88         0,      /* No tags (count) */
89         { &asn_OER_type_pdcch_Config_constr_2, &asn_PER_type_pdcch_Config_constr_2, CHOICE_constraint },
90         asn_MBR_pdcch_Config_2,
91         2,      /* Elements count */
92         &asn_SPC_pdcch_Config_specs_2   /* Additional specs */
93 };
94
95 static asn_TYPE_member_t asn_MBR_pdsch_Config_5[] = {
96         { ATF_NOFLAGS, 0, offsetof(struct BWP_DownlinkDedicated__pdsch_Config, choice.release),
97                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
98                 -1,     /* IMPLICIT tag at current level */
99                 &asn_DEF_NULL,
100                 0,
101                 { 0, 0, 0 },
102                 0, 0, /* No default value */
103                 "release"
104                 },
105         { ATF_POINTER, 0, offsetof(struct BWP_DownlinkDedicated__pdsch_Config, choice.setup),
106                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
107                 -1,     /* IMPLICIT tag at current level */
108                 &asn_DEF_PDSCH_Config,
109                 0,
110                 { 0, 0, 0 },
111                 0, 0, /* No default value */
112                 "setup"
113                 },
114 };
115 static const asn_TYPE_tag2member_t asn_MAP_pdsch_Config_tag2el_5[] = {
116     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
117     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
118 };
119 static asn_CHOICE_specifics_t asn_SPC_pdsch_Config_specs_5 = {
120         sizeof(struct BWP_DownlinkDedicated__pdsch_Config),
121         offsetof(struct BWP_DownlinkDedicated__pdsch_Config, _asn_ctx),
122         offsetof(struct BWP_DownlinkDedicated__pdsch_Config, present),
123         sizeof(((struct BWP_DownlinkDedicated__pdsch_Config *)0)->present),
124         asn_MAP_pdsch_Config_tag2el_5,
125         2,      /* Count of tags in the map */
126         0, 0,
127         -1      /* Extensions start */
128 };
129 static /* Use -fall-defs-global to expose */
130 asn_TYPE_descriptor_t asn_DEF_pdsch_Config_5 = {
131         "pdsch-Config",
132         "pdsch-Config",
133         &asn_OP_CHOICE,
134         0,      /* No effective tags (pointer) */
135         0,      /* No effective tags (count) */
136         0,      /* No tags (pointer) */
137         0,      /* No tags (count) */
138         { &asn_OER_type_pdsch_Config_constr_5, &asn_PER_type_pdsch_Config_constr_5, CHOICE_constraint },
139         asn_MBR_pdsch_Config_5,
140         2,      /* Elements count */
141         &asn_SPC_pdsch_Config_specs_5   /* Additional specs */
142 };
143
144 static asn_TYPE_member_t asn_MBR_sps_Config_8[] = {
145         { ATF_NOFLAGS, 0, offsetof(struct BWP_DownlinkDedicated__sps_Config, choice.release),
146                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
147                 -1,     /* IMPLICIT tag at current level */
148                 &asn_DEF_NULL,
149                 0,
150                 { 0, 0, 0 },
151                 0, 0, /* No default value */
152                 "release"
153                 },
154         { ATF_POINTER, 0, offsetof(struct BWP_DownlinkDedicated__sps_Config, choice.setup),
155                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
156                 -1,     /* IMPLICIT tag at current level */
157                 &asn_DEF_SPS_Config,
158                 0,
159                 { 0, 0, 0 },
160                 0, 0, /* No default value */
161                 "setup"
162                 },
163 };
164 static const asn_TYPE_tag2member_t asn_MAP_sps_Config_tag2el_8[] = {
165     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
166     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
167 };
168 static asn_CHOICE_specifics_t asn_SPC_sps_Config_specs_8 = {
169         sizeof(struct BWP_DownlinkDedicated__sps_Config),
170         offsetof(struct BWP_DownlinkDedicated__sps_Config, _asn_ctx),
171         offsetof(struct BWP_DownlinkDedicated__sps_Config, present),
172         sizeof(((struct BWP_DownlinkDedicated__sps_Config *)0)->present),
173         asn_MAP_sps_Config_tag2el_8,
174         2,      /* Count of tags in the map */
175         0, 0,
176         -1      /* Extensions start */
177 };
178 static /* Use -fall-defs-global to expose */
179 asn_TYPE_descriptor_t asn_DEF_sps_Config_8 = {
180         "sps-Config",
181         "sps-Config",
182         &asn_OP_CHOICE,
183         0,      /* No effective tags (pointer) */
184         0,      /* No effective tags (count) */
185         0,      /* No tags (pointer) */
186         0,      /* No tags (count) */
187         { &asn_OER_type_sps_Config_constr_8, &asn_PER_type_sps_Config_constr_8, CHOICE_constraint },
188         asn_MBR_sps_Config_8,
189         2,      /* Elements count */
190         &asn_SPC_sps_Config_specs_8     /* Additional specs */
191 };
192
193 static asn_TYPE_member_t asn_MBR_radioLinkMonitoringConfig_11[] = {
194         { ATF_NOFLAGS, 0, offsetof(struct BWP_DownlinkDedicated__radioLinkMonitoringConfig, choice.release),
195                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
196                 -1,     /* IMPLICIT tag at current level */
197                 &asn_DEF_NULL,
198                 0,
199                 { 0, 0, 0 },
200                 0, 0, /* No default value */
201                 "release"
202                 },
203         { ATF_POINTER, 0, offsetof(struct BWP_DownlinkDedicated__radioLinkMonitoringConfig, choice.setup),
204                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
205                 -1,     /* IMPLICIT tag at current level */
206                 &asn_DEF_RadioLinkMonitoringConfig,
207                 0,
208                 { 0, 0, 0 },
209                 0, 0, /* No default value */
210                 "setup"
211                 },
212 };
213 static const asn_TYPE_tag2member_t asn_MAP_radioLinkMonitoringConfig_tag2el_11[] = {
214     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
215     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
216 };
217 static asn_CHOICE_specifics_t asn_SPC_radioLinkMonitoringConfig_specs_11 = {
218         sizeof(struct BWP_DownlinkDedicated__radioLinkMonitoringConfig),
219         offsetof(struct BWP_DownlinkDedicated__radioLinkMonitoringConfig, _asn_ctx),
220         offsetof(struct BWP_DownlinkDedicated__radioLinkMonitoringConfig, present),
221         sizeof(((struct BWP_DownlinkDedicated__radioLinkMonitoringConfig *)0)->present),
222         asn_MAP_radioLinkMonitoringConfig_tag2el_11,
223         2,      /* Count of tags in the map */
224         0, 0,
225         -1      /* Extensions start */
226 };
227 static /* Use -fall-defs-global to expose */
228 asn_TYPE_descriptor_t asn_DEF_radioLinkMonitoringConfig_11 = {
229         "radioLinkMonitoringConfig",
230         "radioLinkMonitoringConfig",
231         &asn_OP_CHOICE,
232         0,      /* No effective tags (pointer) */
233         0,      /* No effective tags (count) */
234         0,      /* No tags (pointer) */
235         0,      /* No tags (count) */
236         { &asn_OER_type_radioLinkMonitoringConfig_constr_11, &asn_PER_type_radioLinkMonitoringConfig_constr_11, CHOICE_constraint },
237         asn_MBR_radioLinkMonitoringConfig_11,
238         2,      /* Elements count */
239         &asn_SPC_radioLinkMonitoringConfig_specs_11     /* Additional specs */
240 };
241
242 asn_TYPE_member_t asn_MBR_BWP_DownlinkDedicated_1[] = {
243         { ATF_POINTER, 4, offsetof(struct BWP_DownlinkDedicated, pdcch_Config),
244                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
245                 +1,     /* EXPLICIT tag at current level */
246                 &asn_DEF_pdcch_Config_2,
247                 0,
248                 { 0, 0, 0 },
249                 0, 0, /* No default value */
250                 "pdcch-Config"
251                 },
252         { ATF_POINTER, 3, offsetof(struct BWP_DownlinkDedicated, pdsch_Config),
253                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
254                 +1,     /* EXPLICIT tag at current level */
255                 &asn_DEF_pdsch_Config_5,
256                 0,
257                 { 0, 0, 0 },
258                 0, 0, /* No default value */
259                 "pdsch-Config"
260                 },
261         { ATF_POINTER, 2, offsetof(struct BWP_DownlinkDedicated, sps_Config),
262                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
263                 +1,     /* EXPLICIT tag at current level */
264                 &asn_DEF_sps_Config_8,
265                 0,
266                 { 0, 0, 0 },
267                 0, 0, /* No default value */
268                 "sps-Config"
269                 },
270         { ATF_POINTER, 1, offsetof(struct BWP_DownlinkDedicated, radioLinkMonitoringConfig),
271                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
272                 +1,     /* EXPLICIT tag at current level */
273                 &asn_DEF_radioLinkMonitoringConfig_11,
274                 0,
275                 { 0, 0, 0 },
276                 0, 0, /* No default value */
277                 "radioLinkMonitoringConfig"
278                 },
279 };
280 static const int asn_MAP_BWP_DownlinkDedicated_oms_1[] = { 0, 1, 2, 3 };
281 static const ber_tlv_tag_t asn_DEF_BWP_DownlinkDedicated_tags_1[] = {
282         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
283 };
284 static const asn_TYPE_tag2member_t asn_MAP_BWP_DownlinkDedicated_tag2el_1[] = {
285     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pdcch-Config */
286     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* pdsch-Config */
287     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sps-Config */
288     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* radioLinkMonitoringConfig */
289 };
290 asn_SEQUENCE_specifics_t asn_SPC_BWP_DownlinkDedicated_specs_1 = {
291         sizeof(struct BWP_DownlinkDedicated),
292         offsetof(struct BWP_DownlinkDedicated, _asn_ctx),
293         asn_MAP_BWP_DownlinkDedicated_tag2el_1,
294         4,      /* Count of tags in the map */
295         asn_MAP_BWP_DownlinkDedicated_oms_1,    /* Optional members */
296         4, 0,   /* Root/Additions */
297         4,      /* First extension addition */
298 };
299 asn_TYPE_descriptor_t asn_DEF_BWP_DownlinkDedicated = {
300         "BWP-DownlinkDedicated",
301         "BWP-DownlinkDedicated",
302         &asn_OP_SEQUENCE,
303         asn_DEF_BWP_DownlinkDedicated_tags_1,
304         sizeof(asn_DEF_BWP_DownlinkDedicated_tags_1)
305                 /sizeof(asn_DEF_BWP_DownlinkDedicated_tags_1[0]), /* 1 */
306         asn_DEF_BWP_DownlinkDedicated_tags_1,   /* Same as above */
307         sizeof(asn_DEF_BWP_DownlinkDedicated_tags_1)
308                 /sizeof(asn_DEF_BWP_DownlinkDedicated_tags_1[0]), /* 1 */
309         { 0, 0, SEQUENCE_constraint },
310         asn_MBR_BWP_DownlinkDedicated_1,
311         4,      /* Elements count */
312         &asn_SPC_BWP_DownlinkDedicated_specs_1  /* Additional specs */
313 };
314