[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / SchedulingRequestResourceConfig.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 "SchedulingRequestResourceConfig.h"
9
10 static int
11 memb_sl2_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
12                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
13         long value;
14         
15         if(!sptr) {
16                 ASN__CTFAIL(app_key, td, sptr,
17                         "%s: value not given (%s:%d)",
18                         td->name, __FILE__, __LINE__);
19                 return -1;
20         }
21         
22         value = *(const long *)sptr;
23         
24         if((value >= 0 && value <= 1)) {
25                 /* Constraint check succeeded */
26                 return 0;
27         } else {
28                 ASN__CTFAIL(app_key, td, sptr,
29                         "%s: constraint failed (%s:%d)",
30                         td->name, __FILE__, __LINE__);
31                 return -1;
32         }
33 }
34
35 static int
36 memb_sl4_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
37                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
38         long value;
39         
40         if(!sptr) {
41                 ASN__CTFAIL(app_key, td, sptr,
42                         "%s: value not given (%s:%d)",
43                         td->name, __FILE__, __LINE__);
44                 return -1;
45         }
46         
47         value = *(const long *)sptr;
48         
49         if((value >= 0 && value <= 3)) {
50                 /* Constraint check succeeded */
51                 return 0;
52         } else {
53                 ASN__CTFAIL(app_key, td, sptr,
54                         "%s: constraint failed (%s:%d)",
55                         td->name, __FILE__, __LINE__);
56                 return -1;
57         }
58 }
59
60 static int
61 memb_sl5_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
62                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
63         long value;
64         
65         if(!sptr) {
66                 ASN__CTFAIL(app_key, td, sptr,
67                         "%s: value not given (%s:%d)",
68                         td->name, __FILE__, __LINE__);
69                 return -1;
70         }
71         
72         value = *(const long *)sptr;
73         
74         if((value >= 0 && value <= 4)) {
75                 /* Constraint check succeeded */
76                 return 0;
77         } else {
78                 ASN__CTFAIL(app_key, td, sptr,
79                         "%s: constraint failed (%s:%d)",
80                         td->name, __FILE__, __LINE__);
81                 return -1;
82         }
83 }
84
85 static int
86 memb_sl8_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
87                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
88         long value;
89         
90         if(!sptr) {
91                 ASN__CTFAIL(app_key, td, sptr,
92                         "%s: value not given (%s:%d)",
93                         td->name, __FILE__, __LINE__);
94                 return -1;
95         }
96         
97         value = *(const long *)sptr;
98         
99         if((value >= 0 && value <= 7)) {
100                 /* Constraint check succeeded */
101                 return 0;
102         } else {
103                 ASN__CTFAIL(app_key, td, sptr,
104                         "%s: constraint failed (%s:%d)",
105                         td->name, __FILE__, __LINE__);
106                 return -1;
107         }
108 }
109
110 static int
111 memb_sl10_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
112                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
113         long value;
114         
115         if(!sptr) {
116                 ASN__CTFAIL(app_key, td, sptr,
117                         "%s: value not given (%s:%d)",
118                         td->name, __FILE__, __LINE__);
119                 return -1;
120         }
121         
122         value = *(const long *)sptr;
123         
124         if((value >= 0 && value <= 9)) {
125                 /* Constraint check succeeded */
126                 return 0;
127         } else {
128                 ASN__CTFAIL(app_key, td, sptr,
129                         "%s: constraint failed (%s:%d)",
130                         td->name, __FILE__, __LINE__);
131                 return -1;
132         }
133 }
134
135 static int
136 memb_sl16_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
137                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
138         long value;
139         
140         if(!sptr) {
141                 ASN__CTFAIL(app_key, td, sptr,
142                         "%s: value not given (%s:%d)",
143                         td->name, __FILE__, __LINE__);
144                 return -1;
145         }
146         
147         value = *(const long *)sptr;
148         
149         if((value >= 0 && value <= 15)) {
150                 /* Constraint check succeeded */
151                 return 0;
152         } else {
153                 ASN__CTFAIL(app_key, td, sptr,
154                         "%s: constraint failed (%s:%d)",
155                         td->name, __FILE__, __LINE__);
156                 return -1;
157         }
158 }
159
160 static int
161 memb_sl20_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
162                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
163         long value;
164         
165         if(!sptr) {
166                 ASN__CTFAIL(app_key, td, sptr,
167                         "%s: value not given (%s:%d)",
168                         td->name, __FILE__, __LINE__);
169                 return -1;
170         }
171         
172         value = *(const long *)sptr;
173         
174         if((value >= 0 && value <= 19)) {
175                 /* Constraint check succeeded */
176                 return 0;
177         } else {
178                 ASN__CTFAIL(app_key, td, sptr,
179                         "%s: constraint failed (%s:%d)",
180                         td->name, __FILE__, __LINE__);
181                 return -1;
182         }
183 }
184
185 static int
186 memb_sl40_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
187                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
188         long value;
189         
190         if(!sptr) {
191                 ASN__CTFAIL(app_key, td, sptr,
192                         "%s: value not given (%s:%d)",
193                         td->name, __FILE__, __LINE__);
194                 return -1;
195         }
196         
197         value = *(const long *)sptr;
198         
199         if((value >= 0 && value <= 39)) {
200                 /* Constraint check succeeded */
201                 return 0;
202         } else {
203                 ASN__CTFAIL(app_key, td, sptr,
204                         "%s: constraint failed (%s:%d)",
205                         td->name, __FILE__, __LINE__);
206                 return -1;
207         }
208 }
209
210 static int
211 memb_sl80_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
212                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
213         long value;
214         
215         if(!sptr) {
216                 ASN__CTFAIL(app_key, td, sptr,
217                         "%s: value not given (%s:%d)",
218                         td->name, __FILE__, __LINE__);
219                 return -1;
220         }
221         
222         value = *(const long *)sptr;
223         
224         if((value >= 0 && value <= 79)) {
225                 /* Constraint check succeeded */
226                 return 0;
227         } else {
228                 ASN__CTFAIL(app_key, td, sptr,
229                         "%s: constraint failed (%s:%d)",
230                         td->name, __FILE__, __LINE__);
231                 return -1;
232         }
233 }
234
235 static int
236 memb_sl160_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
237                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
238         long value;
239         
240         if(!sptr) {
241                 ASN__CTFAIL(app_key, td, sptr,
242                         "%s: value not given (%s:%d)",
243                         td->name, __FILE__, __LINE__);
244                 return -1;
245         }
246         
247         value = *(const long *)sptr;
248         
249         if((value >= 0 && value <= 159)) {
250                 /* Constraint check succeeded */
251                 return 0;
252         } else {
253                 ASN__CTFAIL(app_key, td, sptr,
254                         "%s: constraint failed (%s:%d)",
255                         td->name, __FILE__, __LINE__);
256                 return -1;
257         }
258 }
259
260 static int
261 memb_sl320_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
262                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
263         long value;
264         
265         if(!sptr) {
266                 ASN__CTFAIL(app_key, td, sptr,
267                         "%s: value not given (%s:%d)",
268                         td->name, __FILE__, __LINE__);
269                 return -1;
270         }
271         
272         value = *(const long *)sptr;
273         
274         if((value >= 0 && value <= 319)) {
275                 /* Constraint check succeeded */
276                 return 0;
277         } else {
278                 ASN__CTFAIL(app_key, td, sptr,
279                         "%s: constraint failed (%s:%d)",
280                         td->name, __FILE__, __LINE__);
281                 return -1;
282         }
283 }
284
285 static int
286 memb_sl640_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
287                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
288         long value;
289         
290         if(!sptr) {
291                 ASN__CTFAIL(app_key, td, sptr,
292                         "%s: value not given (%s:%d)",
293                         td->name, __FILE__, __LINE__);
294                 return -1;
295         }
296         
297         value = *(const long *)sptr;
298         
299         if((value >= 0 && value <= 639)) {
300                 /* Constraint check succeeded */
301                 return 0;
302         } else {
303                 ASN__CTFAIL(app_key, td, sptr,
304                         "%s: constraint failed (%s:%d)",
305                         td->name, __FILE__, __LINE__);
306                 return -1;
307         }
308 }
309
310 static asn_oer_constraints_t asn_OER_memb_sl2_constr_8 CC_NOTUSED = {
311         { 1, 1 }        /* (0..1) */,
312         -1};
313 static asn_per_constraints_t asn_PER_memb_sl2_constr_8 CC_NOTUSED = {
314         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
315         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
316         0, 0    /* No PER value map */
317 };
318 static asn_oer_constraints_t asn_OER_memb_sl4_constr_9 CC_NOTUSED = {
319         { 1, 1 }        /* (0..3) */,
320         -1};
321 static asn_per_constraints_t asn_PER_memb_sl4_constr_9 CC_NOTUSED = {
322         { APC_CONSTRAINED,       2,  2,  0,  3 }        /* (0..3) */,
323         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
324         0, 0    /* No PER value map */
325 };
326 static asn_oer_constraints_t asn_OER_memb_sl5_constr_10 CC_NOTUSED = {
327         { 1, 1 }        /* (0..4) */,
328         -1};
329 static asn_per_constraints_t asn_PER_memb_sl5_constr_10 CC_NOTUSED = {
330         { APC_CONSTRAINED,       3,  3,  0,  4 }        /* (0..4) */,
331         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
332         0, 0    /* No PER value map */
333 };
334 static asn_oer_constraints_t asn_OER_memb_sl8_constr_11 CC_NOTUSED = {
335         { 1, 1 }        /* (0..7) */,
336         -1};
337 static asn_per_constraints_t asn_PER_memb_sl8_constr_11 CC_NOTUSED = {
338         { APC_CONSTRAINED,       3,  3,  0,  7 }        /* (0..7) */,
339         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
340         0, 0    /* No PER value map */
341 };
342 static asn_oer_constraints_t asn_OER_memb_sl10_constr_12 CC_NOTUSED = {
343         { 1, 1 }        /* (0..9) */,
344         -1};
345 static asn_per_constraints_t asn_PER_memb_sl10_constr_12 CC_NOTUSED = {
346         { APC_CONSTRAINED,       4,  4,  0,  9 }        /* (0..9) */,
347         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
348         0, 0    /* No PER value map */
349 };
350 static asn_oer_constraints_t asn_OER_memb_sl16_constr_13 CC_NOTUSED = {
351         { 1, 1 }        /* (0..15) */,
352         -1};
353 static asn_per_constraints_t asn_PER_memb_sl16_constr_13 CC_NOTUSED = {
354         { APC_CONSTRAINED,       4,  4,  0,  15 }       /* (0..15) */,
355         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
356         0, 0    /* No PER value map */
357 };
358 static asn_oer_constraints_t asn_OER_memb_sl20_constr_14 CC_NOTUSED = {
359         { 1, 1 }        /* (0..19) */,
360         -1};
361 static asn_per_constraints_t asn_PER_memb_sl20_constr_14 CC_NOTUSED = {
362         { APC_CONSTRAINED,       5,  5,  0,  19 }       /* (0..19) */,
363         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
364         0, 0    /* No PER value map */
365 };
366 static asn_oer_constraints_t asn_OER_memb_sl40_constr_15 CC_NOTUSED = {
367         { 1, 1 }        /* (0..39) */,
368         -1};
369 static asn_per_constraints_t asn_PER_memb_sl40_constr_15 CC_NOTUSED = {
370         { APC_CONSTRAINED,       6,  6,  0,  39 }       /* (0..39) */,
371         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
372         0, 0    /* No PER value map */
373 };
374 static asn_oer_constraints_t asn_OER_memb_sl80_constr_16 CC_NOTUSED = {
375         { 1, 1 }        /* (0..79) */,
376         -1};
377 static asn_per_constraints_t asn_PER_memb_sl80_constr_16 CC_NOTUSED = {
378         { APC_CONSTRAINED,       7,  7,  0,  79 }       /* (0..79) */,
379         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
380         0, 0    /* No PER value map */
381 };
382 static asn_oer_constraints_t asn_OER_memb_sl160_constr_17 CC_NOTUSED = {
383         { 1, 1 }        /* (0..159) */,
384         -1};
385 static asn_per_constraints_t asn_PER_memb_sl160_constr_17 CC_NOTUSED = {
386         { APC_CONSTRAINED,       8,  8,  0,  159 }      /* (0..159) */,
387         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
388         0, 0    /* No PER value map */
389 };
390 static asn_oer_constraints_t asn_OER_memb_sl320_constr_18 CC_NOTUSED = {
391         { 2, 1 }        /* (0..319) */,
392         -1};
393 static asn_per_constraints_t asn_PER_memb_sl320_constr_18 CC_NOTUSED = {
394         { APC_CONSTRAINED,       9,  9,  0,  319 }      /* (0..319) */,
395         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
396         0, 0    /* No PER value map */
397 };
398 static asn_oer_constraints_t asn_OER_memb_sl640_constr_19 CC_NOTUSED = {
399         { 2, 1 }        /* (0..639) */,
400         -1};
401 static asn_per_constraints_t asn_PER_memb_sl640_constr_19 CC_NOTUSED = {
402         { APC_CONSTRAINED,       10,  10,  0,  639 }    /* (0..639) */,
403         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
404         0, 0    /* No PER value map */
405 };
406 static asn_oer_constraints_t asn_OER_type_periodicityAndOffset_constr_4 CC_NOTUSED = {
407         { 0, 0 },
408         -1};
409 static asn_per_constraints_t asn_PER_type_periodicityAndOffset_constr_4 CC_NOTUSED = {
410         { APC_CONSTRAINED,       4,  4,  0,  14 }       /* (0..14) */,
411         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
412         0, 0    /* No PER value map */
413 };
414 static asn_TYPE_member_t asn_MBR_periodicityAndOffset_4[] = {
415         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sym2),
416                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
417                 -1,     /* IMPLICIT tag at current level */
418                 &asn_DEF_NULL,
419                 0,
420                 { 0, 0, 0 },
421                 0, 0, /* No default value */
422                 "sym2"
423                 },
424         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sym6or7),
425                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
426                 -1,     /* IMPLICIT tag at current level */
427                 &asn_DEF_NULL,
428                 0,
429                 { 0, 0, 0 },
430                 0, 0, /* No default value */
431                 "sym6or7"
432                 },
433         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl1),
434                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
435                 -1,     /* IMPLICIT tag at current level */
436                 &asn_DEF_NULL,
437                 0,
438                 { 0, 0, 0 },
439                 0, 0, /* No default value */
440                 "sl1"
441                 },
442         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl2),
443                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
444                 -1,     /* IMPLICIT tag at current level */
445                 &asn_DEF_NativeInteger,
446                 0,
447                 { &asn_OER_memb_sl2_constr_8, &asn_PER_memb_sl2_constr_8,  memb_sl2_constraint_4 },
448                 0, 0, /* No default value */
449                 "sl2"
450                 },
451         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl4),
452                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
453                 -1,     /* IMPLICIT tag at current level */
454                 &asn_DEF_NativeInteger,
455                 0,
456                 { &asn_OER_memb_sl4_constr_9, &asn_PER_memb_sl4_constr_9,  memb_sl4_constraint_4 },
457                 0, 0, /* No default value */
458                 "sl4"
459                 },
460         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl5),
461                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
462                 -1,     /* IMPLICIT tag at current level */
463                 &asn_DEF_NativeInteger,
464                 0,
465                 { &asn_OER_memb_sl5_constr_10, &asn_PER_memb_sl5_constr_10,  memb_sl5_constraint_4 },
466                 0, 0, /* No default value */
467                 "sl5"
468                 },
469         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl8),
470                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
471                 -1,     /* IMPLICIT tag at current level */
472                 &asn_DEF_NativeInteger,
473                 0,
474                 { &asn_OER_memb_sl8_constr_11, &asn_PER_memb_sl8_constr_11,  memb_sl8_constraint_4 },
475                 0, 0, /* No default value */
476                 "sl8"
477                 },
478         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl10),
479                 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
480                 -1,     /* IMPLICIT tag at current level */
481                 &asn_DEF_NativeInteger,
482                 0,
483                 { &asn_OER_memb_sl10_constr_12, &asn_PER_memb_sl10_constr_12,  memb_sl10_constraint_4 },
484                 0, 0, /* No default value */
485                 "sl10"
486                 },
487         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl16),
488                 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
489                 -1,     /* IMPLICIT tag at current level */
490                 &asn_DEF_NativeInteger,
491                 0,
492                 { &asn_OER_memb_sl16_constr_13, &asn_PER_memb_sl16_constr_13,  memb_sl16_constraint_4 },
493                 0, 0, /* No default value */
494                 "sl16"
495                 },
496         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl20),
497                 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
498                 -1,     /* IMPLICIT tag at current level */
499                 &asn_DEF_NativeInteger,
500                 0,
501                 { &asn_OER_memb_sl20_constr_14, &asn_PER_memb_sl20_constr_14,  memb_sl20_constraint_4 },
502                 0, 0, /* No default value */
503                 "sl20"
504                 },
505         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl40),
506                 (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
507                 -1,     /* IMPLICIT tag at current level */
508                 &asn_DEF_NativeInteger,
509                 0,
510                 { &asn_OER_memb_sl40_constr_15, &asn_PER_memb_sl40_constr_15,  memb_sl40_constraint_4 },
511                 0, 0, /* No default value */
512                 "sl40"
513                 },
514         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl80),
515                 (ASN_TAG_CLASS_CONTEXT | (11 << 2)),
516                 -1,     /* IMPLICIT tag at current level */
517                 &asn_DEF_NativeInteger,
518                 0,
519                 { &asn_OER_memb_sl80_constr_16, &asn_PER_memb_sl80_constr_16,  memb_sl80_constraint_4 },
520                 0, 0, /* No default value */
521                 "sl80"
522                 },
523         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl160),
524                 (ASN_TAG_CLASS_CONTEXT | (12 << 2)),
525                 -1,     /* IMPLICIT tag at current level */
526                 &asn_DEF_NativeInteger,
527                 0,
528                 { &asn_OER_memb_sl160_constr_17, &asn_PER_memb_sl160_constr_17,  memb_sl160_constraint_4 },
529                 0, 0, /* No default value */
530                 "sl160"
531                 },
532         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl320),
533                 (ASN_TAG_CLASS_CONTEXT | (13 << 2)),
534                 -1,     /* IMPLICIT tag at current level */
535                 &asn_DEF_NativeInteger,
536                 0,
537                 { &asn_OER_memb_sl320_constr_18, &asn_PER_memb_sl320_constr_18,  memb_sl320_constraint_4 },
538                 0, 0, /* No default value */
539                 "sl320"
540                 },
541         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, choice.sl640),
542                 (ASN_TAG_CLASS_CONTEXT | (14 << 2)),
543                 -1,     /* IMPLICIT tag at current level */
544                 &asn_DEF_NativeInteger,
545                 0,
546                 { &asn_OER_memb_sl640_constr_19, &asn_PER_memb_sl640_constr_19,  memb_sl640_constraint_4 },
547                 0, 0, /* No default value */
548                 "sl640"
549                 },
550 };
551 static const asn_TYPE_tag2member_t asn_MAP_periodicityAndOffset_tag2el_4[] = {
552     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sym2 */
553     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sym6or7 */
554     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sl1 */
555     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* sl2 */
556     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* sl4 */
557     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* sl5 */
558     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* sl8 */
559     { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* sl10 */
560     { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* sl16 */
561     { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* sl20 */
562     { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* sl40 */
563     { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* sl80 */
564     { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* sl160 */
565     { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* sl320 */
566     { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 } /* sl640 */
567 };
568 static asn_CHOICE_specifics_t asn_SPC_periodicityAndOffset_specs_4 = {
569         sizeof(struct SchedulingRequestResourceConfig__periodicityAndOffset),
570         offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, _asn_ctx),
571         offsetof(struct SchedulingRequestResourceConfig__periodicityAndOffset, present),
572         sizeof(((struct SchedulingRequestResourceConfig__periodicityAndOffset *)0)->present),
573         asn_MAP_periodicityAndOffset_tag2el_4,
574         15,     /* Count of tags in the map */
575         0, 0,
576         -1      /* Extensions start */
577 };
578 static /* Use -fall-defs-global to expose */
579 asn_TYPE_descriptor_t asn_DEF_periodicityAndOffset_4 = {
580         "periodicityAndOffset",
581         "periodicityAndOffset",
582         &asn_OP_CHOICE,
583         0,      /* No effective tags (pointer) */
584         0,      /* No effective tags (count) */
585         0,      /* No tags (pointer) */
586         0,      /* No tags (count) */
587         { &asn_OER_type_periodicityAndOffset_constr_4, &asn_PER_type_periodicityAndOffset_constr_4, CHOICE_constraint },
588         asn_MBR_periodicityAndOffset_4,
589         15,     /* Elements count */
590         &asn_SPC_periodicityAndOffset_specs_4   /* Additional specs */
591 };
592
593 asn_TYPE_member_t asn_MBR_SchedulingRequestResourceConfig_1[] = {
594         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig, schedulingRequestResourceId),
595                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
596                 -1,     /* IMPLICIT tag at current level */
597                 &asn_DEF_SchedulingRequestResourceId,
598                 0,
599                 { 0, 0, 0 },
600                 0, 0, /* No default value */
601                 "schedulingRequestResourceId"
602                 },
603         { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestResourceConfig, schedulingRequestID),
604                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
605                 -1,     /* IMPLICIT tag at current level */
606                 &asn_DEF_SchedulingRequestId,
607                 0,
608                 { 0, 0, 0 },
609                 0, 0, /* No default value */
610                 "schedulingRequestID"
611                 },
612         { ATF_POINTER, 2, offsetof(struct SchedulingRequestResourceConfig, periodicityAndOffset),
613                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
614                 +1,     /* EXPLICIT tag at current level */
615                 &asn_DEF_periodicityAndOffset_4,
616                 0,
617                 { 0, 0, 0 },
618                 0, 0, /* No default value */
619                 "periodicityAndOffset"
620                 },
621         { ATF_POINTER, 1, offsetof(struct SchedulingRequestResourceConfig, resource),
622                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
623                 -1,     /* IMPLICIT tag at current level */
624                 &asn_DEF_PUCCH_ResourceId,
625                 0,
626                 { 0, 0, 0 },
627                 0, 0, /* No default value */
628                 "resource"
629                 },
630 };
631 static const int asn_MAP_SchedulingRequestResourceConfig_oms_1[] = { 2, 3 };
632 static const ber_tlv_tag_t asn_DEF_SchedulingRequestResourceConfig_tags_1[] = {
633         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
634 };
635 static const asn_TYPE_tag2member_t asn_MAP_SchedulingRequestResourceConfig_tag2el_1[] = {
636     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* schedulingRequestResourceId */
637     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* schedulingRequestID */
638     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* periodicityAndOffset */
639     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* resource */
640 };
641 asn_SEQUENCE_specifics_t asn_SPC_SchedulingRequestResourceConfig_specs_1 = {
642         sizeof(struct SchedulingRequestResourceConfig),
643         offsetof(struct SchedulingRequestResourceConfig, _asn_ctx),
644         asn_MAP_SchedulingRequestResourceConfig_tag2el_1,
645         4,      /* Count of tags in the map */
646         asn_MAP_SchedulingRequestResourceConfig_oms_1,  /* Optional members */
647         2, 0,   /* Root/Additions */
648         -1,     /* First extension addition */
649 };
650 asn_TYPE_descriptor_t asn_DEF_SchedulingRequestResourceConfig = {
651         "SchedulingRequestResourceConfig",
652         "SchedulingRequestResourceConfig",
653         &asn_OP_SEQUENCE,
654         asn_DEF_SchedulingRequestResourceConfig_tags_1,
655         sizeof(asn_DEF_SchedulingRequestResourceConfig_tags_1)
656                 /sizeof(asn_DEF_SchedulingRequestResourceConfig_tags_1[0]), /* 1 */
657         asn_DEF_SchedulingRequestResourceConfig_tags_1, /* Same as above */
658         sizeof(asn_DEF_SchedulingRequestResourceConfig_tags_1)
659                 /sizeof(asn_DEF_SchedulingRequestResourceConfig_tags_1[0]), /* 1 */
660         { 0, 0, SEQUENCE_constraint },
661         asn_MBR_SchedulingRequestResourceConfig_1,
662         4,      /* Elements count */
663         &asn_SPC_SchedulingRequestResourceConfig_specs_1        /* Additional specs */
664 };
665