[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / PollPDU.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 "PollPDU.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 static asn_oer_constraints_t asn_OER_type_PollPDU_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_PollPDU_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED,       5,  5,  0,  31 }       /* (0..31) */,
19         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
20         0, 0    /* No PER value map */
21 };
22 static const asn_INTEGER_enum_map_t asn_MAP_PollPDU_value2enum_1[] = {
23         { 0,    2,      "p4" },
24         { 1,    2,      "p8" },
25         { 2,    3,      "p16" },
26         { 3,    3,      "p32" },
27         { 4,    3,      "p64" },
28         { 5,    4,      "p128" },
29         { 6,    4,      "p256" },
30         { 7,    4,      "p512" },
31         { 8,    5,      "p1024" },
32         { 9,    5,      "p2048" },
33         { 10,   5,      "p4096" },
34         { 11,   5,      "p6144" },
35         { 12,   5,      "p8192" },
36         { 13,   6,      "p12288" },
37         { 14,   6,      "p16384" },
38         { 15,   6,      "p20480" },
39         { 16,   6,      "p24576" },
40         { 17,   6,      "p28672" },
41         { 18,   6,      "p32768" },
42         { 19,   6,      "p40960" },
43         { 20,   6,      "p49152" },
44         { 21,   6,      "p57344" },
45         { 22,   6,      "p65536" },
46         { 23,   8,      "infinity" },
47         { 24,   6,      "spare8" },
48         { 25,   6,      "spare7" },
49         { 26,   6,      "spare6" },
50         { 27,   6,      "spare5" },
51         { 28,   6,      "spare4" },
52         { 29,   6,      "spare3" },
53         { 30,   6,      "spare2" },
54         { 31,   6,      "spare1" }
55 };
56 static const unsigned int asn_MAP_PollPDU_enum2value_1[] = {
57         23,     /* infinity(23) */
58         8,      /* p1024(8) */
59         13,     /* p12288(13) */
60         5,      /* p128(5) */
61         2,      /* p16(2) */
62         14,     /* p16384(14) */
63         9,      /* p2048(9) */
64         15,     /* p20480(15) */
65         16,     /* p24576(16) */
66         6,      /* p256(6) */
67         17,     /* p28672(17) */
68         3,      /* p32(3) */
69         18,     /* p32768(18) */
70         0,      /* p4(0) */
71         10,     /* p4096(10) */
72         19,     /* p40960(19) */
73         20,     /* p49152(20) */
74         7,      /* p512(7) */
75         21,     /* p57344(21) */
76         11,     /* p6144(11) */
77         4,      /* p64(4) */
78         22,     /* p65536(22) */
79         1,      /* p8(1) */
80         12,     /* p8192(12) */
81         31,     /* spare1(31) */
82         30,     /* spare2(30) */
83         29,     /* spare3(29) */
84         28,     /* spare4(28) */
85         27,     /* spare5(27) */
86         26,     /* spare6(26) */
87         25,     /* spare7(25) */
88         24      /* spare8(24) */
89 };
90 const asn_INTEGER_specifics_t asn_SPC_PollPDU_specs_1 = {
91         asn_MAP_PollPDU_value2enum_1,   /* "tag" => N; sorted by tag */
92         asn_MAP_PollPDU_enum2value_1,   /* N => "tag"; sorted by N */
93         32,     /* Number of elements in the maps */
94         0,      /* Enumeration is not extensible */
95         1,      /* Strict enumeration */
96         0,      /* Native long size */
97         0
98 };
99 static const ber_tlv_tag_t asn_DEF_PollPDU_tags_1[] = {
100         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
101 };
102 asn_TYPE_descriptor_t asn_DEF_PollPDU = {
103         "PollPDU",
104         "PollPDU",
105         &asn_OP_NativeEnumerated,
106         asn_DEF_PollPDU_tags_1,
107         sizeof(asn_DEF_PollPDU_tags_1)
108                 /sizeof(asn_DEF_PollPDU_tags_1[0]), /* 1 */
109         asn_DEF_PollPDU_tags_1, /* Same as above */
110         sizeof(asn_DEF_PollPDU_tags_1)
111                 /sizeof(asn_DEF_PollPDU_tags_1[0]), /* 1 */
112         { &asn_OER_type_PollPDU_constr_1, &asn_PER_type_PollPDU_constr_1, NativeEnumerated_constraint },
113         0, 0,   /* Defined elsewhere */
114         &asn_SPC_PollPDU_specs_1        /* Additional specs */
115 };
116