[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git] / src / codec_utils / RRC / BWP-UplinkCommon.c
1 /*
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`
6  */
7
8 #include "BWP-UplinkCommon.h"
9
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 = {
14         { 0, 0 },
15         -1};
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 */
20 };
21 static asn_oer_constraints_t asn_OER_type_pusch_ConfigCommon_constr_6 CC_NOTUSED = {
22         { 0, 0 },
23         -1};
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 */
28 };
29 static asn_oer_constraints_t asn_OER_type_pucch_ConfigCommon_constr_9 CC_NOTUSED = {
30         { 0, 0 },
31         -1};
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 */
36 };
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 */
41                 &asn_DEF_NULL,
42                 0,
43                 { 0, 0, 0 },
44                 0, 0, /* No default value */
45                 "release"
46                 },
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,
51                 0,
52                 { 0, 0, 0 },
53                 0, 0, /* No default value */
54                 "setup"
55                 },
56 };
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 */
60 };
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 */
68         0, 0,
69         -1      /* Extensions start */
70 };
71 static /* Use -fall-defs-global to expose */
72 asn_TYPE_descriptor_t asn_DEF_rach_ConfigCommon_3 = {
73         "rach-ConfigCommon",
74         "rach-ConfigCommon",
75         &asn_OP_CHOICE,
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 */
84 };
85
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 */
90                 &asn_DEF_NULL,
91                 0,
92                 { 0, 0, 0 },
93                 0, 0, /* No default value */
94                 "release"
95                 },
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,
100                 0,
101                 { 0, 0, 0 },
102                 0, 0, /* No default value */
103                 "setup"
104                 },
105 };
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 */
109 };
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 */
117         0, 0,
118         -1      /* Extensions start */
119 };
120 static /* Use -fall-defs-global to expose */
121 asn_TYPE_descriptor_t asn_DEF_pusch_ConfigCommon_6 = {
122         "pusch-ConfigCommon",
123         "pusch-ConfigCommon",
124         &asn_OP_CHOICE,
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 */
133 };
134
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 */
139                 &asn_DEF_NULL,
140                 0,
141                 { 0, 0, 0 },
142                 0, 0, /* No default value */
143                 "release"
144                 },
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,
149                 0,
150                 { 0, 0, 0 },
151                 0, 0, /* No default value */
152                 "setup"
153                 },
154 };
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 */
158 };
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 */
166         0, 0,
167         -1      /* Extensions start */
168 };
169 static /* Use -fall-defs-global to expose */
170 asn_TYPE_descriptor_t asn_DEF_pucch_ConfigCommon_9 = {
171         "pucch-ConfigCommon",
172         "pucch-ConfigCommon",
173         &asn_OP_CHOICE,
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 */
182 };
183
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 */
188                 &asn_DEF_BWP,
189                 0,
190                 { 0, 0, 0 },
191                 0, 0, /* No default value */
192                 "genericParameters"
193                 },
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,
198                 0,
199                 { 0, 0, 0 },
200                 0, 0, /* No default value */
201                 "rach-ConfigCommon"
202                 },
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,
207                 0,
208                 { 0, 0, 0 },
209                 0, 0, /* No default value */
210                 "pusch-ConfigCommon"
211                 },
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,
216                 0,
217                 { 0, 0, 0 },
218                 0, 0, /* No default value */
219                 "pucch-ConfigCommon"
220                 },
221 };
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))
225 };
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 */
231 };
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 */
240 };
241 asn_TYPE_descriptor_t asn_DEF_BWP_UplinkCommon = {
242         "BWP-UplinkCommon",
243         "BWP-UplinkCommon",
244         &asn_OP_SEQUENCE,
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 */
255 };
256