[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / UL-DataSplitThreshold.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 "UL-DataSplitThreshold.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_UL_DataSplitThreshold_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_UL_DataSplitThreshold_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_UL_DataSplitThreshold_value2enum_1[] = {
23         { 0,    2,      "b0" },
24         { 1,    4,      "b100" },
25         { 2,    4,      "b200" },
26         { 3,    4,      "b400" },
27         { 4,    4,      "b800" },
28         { 5,    5,      "b1600" },
29         { 6,    5,      "b3200" },
30         { 7,    5,      "b6400" },
31         { 8,    6,      "b12800" },
32         { 9,    6,      "b25600" },
33         { 10,   6,      "b51200" },
34         { 11,   7,      "b102400" },
35         { 12,   7,      "b204800" },
36         { 13,   7,      "b409600" },
37         { 14,   7,      "b819200" },
38         { 15,   8,      "b1228800" },
39         { 16,   8,      "b1638400" },
40         { 17,   8,      "b2457600" },
41         { 18,   8,      "b3276800" },
42         { 19,   8,      "b4096000" },
43         { 20,   8,      "b4915200" },
44         { 21,   8,      "b5734400" },
45         { 22,   8,      "b6553600" },
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_UL_DataSplitThreshold_enum2value_1[] = {
57         0,      /* b0(0) */
58         1,      /* b100(1) */
59         11,     /* b102400(11) */
60         15,     /* b1228800(15) */
61         8,      /* b12800(8) */
62         5,      /* b1600(5) */
63         16,     /* b1638400(16) */
64         2,      /* b200(2) */
65         12,     /* b204800(12) */
66         17,     /* b2457600(17) */
67         9,      /* b25600(9) */
68         6,      /* b3200(6) */
69         18,     /* b3276800(18) */
70         3,      /* b400(3) */
71         13,     /* b409600(13) */
72         19,     /* b4096000(19) */
73         20,     /* b4915200(20) */
74         10,     /* b51200(10) */
75         21,     /* b5734400(21) */
76         7,      /* b6400(7) */
77         22,     /* b6553600(22) */
78         4,      /* b800(4) */
79         14,     /* b819200(14) */
80         23,     /* infinity(23) */
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_UL_DataSplitThreshold_specs_1 = {
91         asn_MAP_UL_DataSplitThreshold_value2enum_1,     /* "tag" => N; sorted by tag */
92         asn_MAP_UL_DataSplitThreshold_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_UL_DataSplitThreshold_tags_1[] = {
100         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
101 };
102 asn_TYPE_descriptor_t asn_DEF_UL_DataSplitThreshold = {
103         "UL-DataSplitThreshold",
104         "UL-DataSplitThreshold",
105         &asn_OP_NativeEnumerated,
106         asn_DEF_UL_DataSplitThreshold_tags_1,
107         sizeof(asn_DEF_UL_DataSplitThreshold_tags_1)
108                 /sizeof(asn_DEF_UL_DataSplitThreshold_tags_1[0]), /* 1 */
109         asn_DEF_UL_DataSplitThreshold_tags_1,   /* Same as above */
110         sizeof(asn_DEF_UL_DataSplitThreshold_tags_1)
111                 /sizeof(asn_DEF_UL_DataSplitThreshold_tags_1[0]), /* 1 */
112         { &asn_OER_type_UL_DataSplitThreshold_constr_1, &asn_PER_type_UL_DataSplitThreshold_constr_1, NativeEnumerated_constraint },
113         0, 0,   /* Defined elsewhere */
114         &asn_SPC_UL_DataSplitThreshold_specs_1  /* Additional specs */
115 };
116