[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / CSI-ResourcePeriodicityAndOffset.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 "CSI-ResourcePeriodicityAndOffset.h"
9
10 static int
11 memb_slots4_constraint_1(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 <= 3)) {
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_slots5_constraint_1(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 <= 4)) {
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_slots8_constraint_1(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 <= 7)) {
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_slots10_constraint_1(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 <= 9)) {
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_slots16_constraint_1(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 <= 15)) {
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_slots20_constraint_1(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 <= 19)) {
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_slots32_constraint_1(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 <= 31)) {
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_slots40_constraint_1(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_slots64_constraint_1(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 <= 63)) {
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_slots80_constraint_1(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 <= 79)) {
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_slots160_constraint_1(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 <= 159)) {
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_slots320_constraint_1(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 <= 319)) {
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 int
311 memb_slots640_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
312                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
313         long value;
314         
315         if(!sptr) {
316                 ASN__CTFAIL(app_key, td, sptr,
317                         "%s: value not given (%s:%d)",
318                         td->name, __FILE__, __LINE__);
319                 return -1;
320         }
321         
322         value = *(const long *)sptr;
323         
324         if((value >= 0 && value <= 639)) {
325                 /* Constraint check succeeded */
326                 return 0;
327         } else {
328                 ASN__CTFAIL(app_key, td, sptr,
329                         "%s: constraint failed (%s:%d)",
330                         td->name, __FILE__, __LINE__);
331                 return -1;
332         }
333 }
334
335 static asn_oer_constraints_t asn_OER_memb_slots4_constr_2 CC_NOTUSED = {
336         { 1, 1 }        /* (0..3) */,
337         -1};
338 static asn_per_constraints_t asn_PER_memb_slots4_constr_2 CC_NOTUSED = {
339         { APC_CONSTRAINED,       2,  2,  0,  3 }        /* (0..3) */,
340         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
341         0, 0    /* No PER value map */
342 };
343 static asn_oer_constraints_t asn_OER_memb_slots5_constr_3 CC_NOTUSED = {
344         { 1, 1 }        /* (0..4) */,
345         -1};
346 static asn_per_constraints_t asn_PER_memb_slots5_constr_3 CC_NOTUSED = {
347         { APC_CONSTRAINED,       3,  3,  0,  4 }        /* (0..4) */,
348         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
349         0, 0    /* No PER value map */
350 };
351 static asn_oer_constraints_t asn_OER_memb_slots8_constr_4 CC_NOTUSED = {
352         { 1, 1 }        /* (0..7) */,
353         -1};
354 static asn_per_constraints_t asn_PER_memb_slots8_constr_4 CC_NOTUSED = {
355         { APC_CONSTRAINED,       3,  3,  0,  7 }        /* (0..7) */,
356         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
357         0, 0    /* No PER value map */
358 };
359 static asn_oer_constraints_t asn_OER_memb_slots10_constr_5 CC_NOTUSED = {
360         { 1, 1 }        /* (0..9) */,
361         -1};
362 static asn_per_constraints_t asn_PER_memb_slots10_constr_5 CC_NOTUSED = {
363         { APC_CONSTRAINED,       4,  4,  0,  9 }        /* (0..9) */,
364         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
365         0, 0    /* No PER value map */
366 };
367 static asn_oer_constraints_t asn_OER_memb_slots16_constr_6 CC_NOTUSED = {
368         { 1, 1 }        /* (0..15) */,
369         -1};
370 static asn_per_constraints_t asn_PER_memb_slots16_constr_6 CC_NOTUSED = {
371         { APC_CONSTRAINED,       4,  4,  0,  15 }       /* (0..15) */,
372         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
373         0, 0    /* No PER value map */
374 };
375 static asn_oer_constraints_t asn_OER_memb_slots20_constr_7 CC_NOTUSED = {
376         { 1, 1 }        /* (0..19) */,
377         -1};
378 static asn_per_constraints_t asn_PER_memb_slots20_constr_7 CC_NOTUSED = {
379         { APC_CONSTRAINED,       5,  5,  0,  19 }       /* (0..19) */,
380         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
381         0, 0    /* No PER value map */
382 };
383 static asn_oer_constraints_t asn_OER_memb_slots32_constr_8 CC_NOTUSED = {
384         { 1, 1 }        /* (0..31) */,
385         -1};
386 static asn_per_constraints_t asn_PER_memb_slots32_constr_8 CC_NOTUSED = {
387         { APC_CONSTRAINED,       5,  5,  0,  31 }       /* (0..31) */,
388         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
389         0, 0    /* No PER value map */
390 };
391 static asn_oer_constraints_t asn_OER_memb_slots40_constr_9 CC_NOTUSED = {
392         { 1, 1 }        /* (0..39) */,
393         -1};
394 static asn_per_constraints_t asn_PER_memb_slots40_constr_9 CC_NOTUSED = {
395         { APC_CONSTRAINED,       6,  6,  0,  39 }       /* (0..39) */,
396         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
397         0, 0    /* No PER value map */
398 };
399 static asn_oer_constraints_t asn_OER_memb_slots64_constr_10 CC_NOTUSED = {
400         { 1, 1 }        /* (0..63) */,
401         -1};
402 static asn_per_constraints_t asn_PER_memb_slots64_constr_10 CC_NOTUSED = {
403         { APC_CONSTRAINED,       6,  6,  0,  63 }       /* (0..63) */,
404         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
405         0, 0    /* No PER value map */
406 };
407 static asn_oer_constraints_t asn_OER_memb_slots80_constr_11 CC_NOTUSED = {
408         { 1, 1 }        /* (0..79) */,
409         -1};
410 static asn_per_constraints_t asn_PER_memb_slots80_constr_11 CC_NOTUSED = {
411         { APC_CONSTRAINED,       7,  7,  0,  79 }       /* (0..79) */,
412         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
413         0, 0    /* No PER value map */
414 };
415 static asn_oer_constraints_t asn_OER_memb_slots160_constr_12 CC_NOTUSED = {
416         { 1, 1 }        /* (0..159) */,
417         -1};
418 static asn_per_constraints_t asn_PER_memb_slots160_constr_12 CC_NOTUSED = {
419         { APC_CONSTRAINED,       8,  8,  0,  159 }      /* (0..159) */,
420         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
421         0, 0    /* No PER value map */
422 };
423 static asn_oer_constraints_t asn_OER_memb_slots320_constr_13 CC_NOTUSED = {
424         { 2, 1 }        /* (0..319) */,
425         -1};
426 static asn_per_constraints_t asn_PER_memb_slots320_constr_13 CC_NOTUSED = {
427         { APC_CONSTRAINED,       9,  9,  0,  319 }      /* (0..319) */,
428         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
429         0, 0    /* No PER value map */
430 };
431 static asn_oer_constraints_t asn_OER_memb_slots640_constr_14 CC_NOTUSED = {
432         { 2, 1 }        /* (0..639) */,
433         -1};
434 static asn_per_constraints_t asn_PER_memb_slots640_constr_14 CC_NOTUSED = {
435         { APC_CONSTRAINED,       10,  10,  0,  639 }    /* (0..639) */,
436         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
437         0, 0    /* No PER value map */
438 };
439 static asn_oer_constraints_t asn_OER_type_CSI_ResourcePeriodicityAndOffset_constr_1 CC_NOTUSED = {
440         { 0, 0 },
441         -1};
442 asn_per_constraints_t asn_PER_type_CSI_ResourcePeriodicityAndOffset_constr_1 CC_NOTUSED = {
443         { APC_CONSTRAINED,       4,  4,  0,  12 }       /* (0..12) */,
444         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
445         0, 0    /* No PER value map */
446 };
447 asn_TYPE_member_t asn_MBR_CSI_ResourcePeriodicityAndOffset_1[] = {
448         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots4),
449                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
450                 -1,     /* IMPLICIT tag at current level */
451                 &asn_DEF_NativeInteger,
452                 0,
453                 { &asn_OER_memb_slots4_constr_2, &asn_PER_memb_slots4_constr_2,  memb_slots4_constraint_1 },
454                 0, 0, /* No default value */
455                 "slots4"
456                 },
457         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots5),
458                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
459                 -1,     /* IMPLICIT tag at current level */
460                 &asn_DEF_NativeInteger,
461                 0,
462                 { &asn_OER_memb_slots5_constr_3, &asn_PER_memb_slots5_constr_3,  memb_slots5_constraint_1 },
463                 0, 0, /* No default value */
464                 "slots5"
465                 },
466         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots8),
467                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
468                 -1,     /* IMPLICIT tag at current level */
469                 &asn_DEF_NativeInteger,
470                 0,
471                 { &asn_OER_memb_slots8_constr_4, &asn_PER_memb_slots8_constr_4,  memb_slots8_constraint_1 },
472                 0, 0, /* No default value */
473                 "slots8"
474                 },
475         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots10),
476                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
477                 -1,     /* IMPLICIT tag at current level */
478                 &asn_DEF_NativeInteger,
479                 0,
480                 { &asn_OER_memb_slots10_constr_5, &asn_PER_memb_slots10_constr_5,  memb_slots10_constraint_1 },
481                 0, 0, /* No default value */
482                 "slots10"
483                 },
484         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots16),
485                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
486                 -1,     /* IMPLICIT tag at current level */
487                 &asn_DEF_NativeInteger,
488                 0,
489                 { &asn_OER_memb_slots16_constr_6, &asn_PER_memb_slots16_constr_6,  memb_slots16_constraint_1 },
490                 0, 0, /* No default value */
491                 "slots16"
492                 },
493         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots20),
494                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
495                 -1,     /* IMPLICIT tag at current level */
496                 &asn_DEF_NativeInteger,
497                 0,
498                 { &asn_OER_memb_slots20_constr_7, &asn_PER_memb_slots20_constr_7,  memb_slots20_constraint_1 },
499                 0, 0, /* No default value */
500                 "slots20"
501                 },
502         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots32),
503                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
504                 -1,     /* IMPLICIT tag at current level */
505                 &asn_DEF_NativeInteger,
506                 0,
507                 { &asn_OER_memb_slots32_constr_8, &asn_PER_memb_slots32_constr_8,  memb_slots32_constraint_1 },
508                 0, 0, /* No default value */
509                 "slots32"
510                 },
511         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots40),
512                 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
513                 -1,     /* IMPLICIT tag at current level */
514                 &asn_DEF_NativeInteger,
515                 0,
516                 { &asn_OER_memb_slots40_constr_9, &asn_PER_memb_slots40_constr_9,  memb_slots40_constraint_1 },
517                 0, 0, /* No default value */
518                 "slots40"
519                 },
520         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots64),
521                 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
522                 -1,     /* IMPLICIT tag at current level */
523                 &asn_DEF_NativeInteger,
524                 0,
525                 { &asn_OER_memb_slots64_constr_10, &asn_PER_memb_slots64_constr_10,  memb_slots64_constraint_1 },
526                 0, 0, /* No default value */
527                 "slots64"
528                 },
529         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots80),
530                 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
531                 -1,     /* IMPLICIT tag at current level */
532                 &asn_DEF_NativeInteger,
533                 0,
534                 { &asn_OER_memb_slots80_constr_11, &asn_PER_memb_slots80_constr_11,  memb_slots80_constraint_1 },
535                 0, 0, /* No default value */
536                 "slots80"
537                 },
538         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots160),
539                 (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
540                 -1,     /* IMPLICIT tag at current level */
541                 &asn_DEF_NativeInteger,
542                 0,
543                 { &asn_OER_memb_slots160_constr_12, &asn_PER_memb_slots160_constr_12,  memb_slots160_constraint_1 },
544                 0, 0, /* No default value */
545                 "slots160"
546                 },
547         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots320),
548                 (ASN_TAG_CLASS_CONTEXT | (11 << 2)),
549                 -1,     /* IMPLICIT tag at current level */
550                 &asn_DEF_NativeInteger,
551                 0,
552                 { &asn_OER_memb_slots320_constr_13, &asn_PER_memb_slots320_constr_13,  memb_slots320_constraint_1 },
553                 0, 0, /* No default value */
554                 "slots320"
555                 },
556         { ATF_NOFLAGS, 0, offsetof(struct CSI_ResourcePeriodicityAndOffset, choice.slots640),
557                 (ASN_TAG_CLASS_CONTEXT | (12 << 2)),
558                 -1,     /* IMPLICIT tag at current level */
559                 &asn_DEF_NativeInteger,
560                 0,
561                 { &asn_OER_memb_slots640_constr_14, &asn_PER_memb_slots640_constr_14,  memb_slots640_constraint_1 },
562                 0, 0, /* No default value */
563                 "slots640"
564                 },
565 };
566 static const asn_TYPE_tag2member_t asn_MAP_CSI_ResourcePeriodicityAndOffset_tag2el_1[] = {
567     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* slots4 */
568     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* slots5 */
569     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* slots8 */
570     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* slots10 */
571     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* slots16 */
572     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* slots20 */
573     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* slots32 */
574     { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* slots40 */
575     { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* slots64 */
576     { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* slots80 */
577     { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* slots160 */
578     { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* slots320 */
579     { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 } /* slots640 */
580 };
581 asn_CHOICE_specifics_t asn_SPC_CSI_ResourcePeriodicityAndOffset_specs_1 = {
582         sizeof(struct CSI_ResourcePeriodicityAndOffset),
583         offsetof(struct CSI_ResourcePeriodicityAndOffset, _asn_ctx),
584         offsetof(struct CSI_ResourcePeriodicityAndOffset, present),
585         sizeof(((struct CSI_ResourcePeriodicityAndOffset *)0)->present),
586         asn_MAP_CSI_ResourcePeriodicityAndOffset_tag2el_1,
587         13,     /* Count of tags in the map */
588         0, 0,
589         -1      /* Extensions start */
590 };
591 asn_TYPE_descriptor_t asn_DEF_CSI_ResourcePeriodicityAndOffset = {
592         "CSI-ResourcePeriodicityAndOffset",
593         "CSI-ResourcePeriodicityAndOffset",
594         &asn_OP_CHOICE,
595         0,      /* No effective tags (pointer) */
596         0,      /* No effective tags (count) */
597         0,      /* No tags (pointer) */
598         0,      /* No tags (count) */
599         { &asn_OER_type_CSI_ResourcePeriodicityAndOffset_constr_1, &asn_PER_type_CSI_ResourcePeriodicityAndOffset_constr_1, CHOICE_constraint },
600         asn_MBR_CSI_ResourcePeriodicityAndOffset_1,
601         13,     /* Elements count */
602         &asn_SPC_CSI_ResourcePeriodicityAndOffset_specs_1       /* Additional specs */
603 };
604