[Epic-ID: ODUHIGH-475][Task-ID: ODUHIGH-476]F1AP codec update
[o-du/l2.git] / src / codec_utils / F1AP / ShortDRXCycleLength.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "F1AP-IEs"
4  *      found in "../F1.asn1"
5  *      `asn1c -D ../F1_output/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #include "ShortDRXCycleLength.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_ShortDRXCycleLength_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_ShortDRXCycleLength_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  0,  22 }   /* (0..22,...) */,
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_ShortDRXCycleLength_value2enum_1[] = {
23         { 0,    3,      "ms2" },
24         { 1,    3,      "ms3" },
25         { 2,    3,      "ms4" },
26         { 3,    3,      "ms5" },
27         { 4,    3,      "ms6" },
28         { 5,    3,      "ms7" },
29         { 6,    3,      "ms8" },
30         { 7,    4,      "ms10" },
31         { 8,    4,      "ms14" },
32         { 9,    4,      "ms16" },
33         { 10,   4,      "ms20" },
34         { 11,   4,      "ms30" },
35         { 12,   4,      "ms32" },
36         { 13,   4,      "ms35" },
37         { 14,   4,      "ms40" },
38         { 15,   4,      "ms64" },
39         { 16,   4,      "ms80" },
40         { 17,   5,      "ms128" },
41         { 18,   5,      "ms160" },
42         { 19,   5,      "ms256" },
43         { 20,   5,      "ms320" },
44         { 21,   5,      "ms512" },
45         { 22,   5,      "ms640" }
46         /* This list is extensible */
47 };
48 static const unsigned int asn_MAP_ShortDRXCycleLength_enum2value_1[] = {
49         7,      /* ms10(7) */
50         17,     /* ms128(17) */
51         8,      /* ms14(8) */
52         9,      /* ms16(9) */
53         18,     /* ms160(18) */
54         0,      /* ms2(0) */
55         10,     /* ms20(10) */
56         19,     /* ms256(19) */
57         1,      /* ms3(1) */
58         11,     /* ms30(11) */
59         12,     /* ms32(12) */
60         20,     /* ms320(20) */
61         13,     /* ms35(13) */
62         2,      /* ms4(2) */
63         14,     /* ms40(14) */
64         3,      /* ms5(3) */
65         21,     /* ms512(21) */
66         4,      /* ms6(4) */
67         15,     /* ms64(15) */
68         22,     /* ms640(22) */
69         5,      /* ms7(5) */
70         6,      /* ms8(6) */
71         16      /* ms80(16) */
72         /* This list is extensible */
73 };
74 const asn_INTEGER_specifics_t asn_SPC_ShortDRXCycleLength_specs_1 = {
75         asn_MAP_ShortDRXCycleLength_value2enum_1,       /* "tag" => N; sorted by tag */
76         asn_MAP_ShortDRXCycleLength_enum2value_1,       /* N => "tag"; sorted by N */
77         23,     /* Number of elements in the maps */
78         24,     /* Extensions before this member */
79         1,      /* Strict enumeration */
80         0,      /* Native long size */
81         0
82 };
83 static const ber_tlv_tag_t asn_DEF_ShortDRXCycleLength_tags_1[] = {
84         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
85 };
86 asn_TYPE_descriptor_t asn_DEF_ShortDRXCycleLength = {
87         "ShortDRXCycleLength",
88         "ShortDRXCycleLength",
89         &asn_OP_NativeEnumerated,
90         asn_DEF_ShortDRXCycleLength_tags_1,
91         sizeof(asn_DEF_ShortDRXCycleLength_tags_1)
92                 /sizeof(asn_DEF_ShortDRXCycleLength_tags_1[0]), /* 1 */
93         asn_DEF_ShortDRXCycleLength_tags_1,     /* Same as above */
94         sizeof(asn_DEF_ShortDRXCycleLength_tags_1)
95                 /sizeof(asn_DEF_ShortDRXCycleLength_tags_1[0]), /* 1 */
96         { &asn_OER_type_ShortDRXCycleLength_constr_1, &asn_PER_type_ShortDRXCycleLength_constr_1, NativeEnumerated_constraint },
97         0, 0,   /* Defined elsewhere */
98         &asn_SPC_ShortDRXCycleLength_specs_1    /* Additional specs */
99 };
100