[Epic-ID: ODUHIGH-488][Task-ID: ODUHIGH-492] WG8 Alignment [DCI Information]
[o-du/l2.git] / src / codec_utils / E2AP / RICtimeToWait.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "2022_E2AP.asn1"
5  *      `asn1c -D ./E2AP/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "RICtimeToWait.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_RICtimeToWait_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_RICtimeToWait_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  0,  16 }   /* (0..16,...) */,
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_RICtimeToWait_value2enum_1[] = {
23         { 0,    4,      "w1ms" },
24         { 1,    4,      "w2ms" },
25         { 2,    4,      "w5ms" },
26         { 3,    5,      "w10ms" },
27         { 4,    5,      "w20ms" },
28         { 5,    5,      "w30ms" },
29         { 6,    5,      "w40ms" },
30         { 7,    5,      "w50ms" },
31         { 8,    6,      "w100ms" },
32         { 9,    6,      "w200ms" },
33         { 10,   6,      "w500ms" },
34         { 11,   3,      "w1s" },
35         { 12,   3,      "w2s" },
36         { 13,   3,      "w5s" },
37         { 14,   4,      "w10s" },
38         { 15,   4,      "w20s" },
39         { 16,   4,      "w60s" }
40         /* This list is extensible */
41 };
42 static const unsigned int asn_MAP_RICtimeToWait_enum2value_1[] = {
43         8,      /* w100ms(8) */
44         3,      /* w10ms(3) */
45         14,     /* w10s(14) */
46         0,      /* w1ms(0) */
47         11,     /* w1s(11) */
48         9,      /* w200ms(9) */
49         4,      /* w20ms(4) */
50         15,     /* w20s(15) */
51         1,      /* w2ms(1) */
52         12,     /* w2s(12) */
53         5,      /* w30ms(5) */
54         6,      /* w40ms(6) */
55         10,     /* w500ms(10) */
56         7,      /* w50ms(7) */
57         2,      /* w5ms(2) */
58         13,     /* w5s(13) */
59         16      /* w60s(16) */
60         /* This list is extensible */
61 };
62 const asn_INTEGER_specifics_t asn_SPC_RICtimeToWait_specs_1 = {
63         asn_MAP_RICtimeToWait_value2enum_1,     /* "tag" => N; sorted by tag */
64         asn_MAP_RICtimeToWait_enum2value_1,     /* N => "tag"; sorted by N */
65         17,     /* Number of elements in the maps */
66         18,     /* Extensions before this member */
67         1,      /* Strict enumeration */
68         0,      /* Native long size */
69         0
70 };
71 static const ber_tlv_tag_t asn_DEF_RICtimeToWait_tags_1[] = {
72         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
73 };
74 asn_TYPE_descriptor_t asn_DEF_RICtimeToWait = {
75         "RICtimeToWait",
76         "RICtimeToWait",
77         &asn_OP_NativeEnumerated,
78         asn_DEF_RICtimeToWait_tags_1,
79         sizeof(asn_DEF_RICtimeToWait_tags_1)
80                 /sizeof(asn_DEF_RICtimeToWait_tags_1[0]), /* 1 */
81         asn_DEF_RICtimeToWait_tags_1,   /* Same as above */
82         sizeof(asn_DEF_RICtimeToWait_tags_1)
83                 /sizeof(asn_DEF_RICtimeToWait_tags_1[0]), /* 1 */
84         { &asn_OER_type_RICtimeToWait_constr_1, &asn_PER_type_RICtimeToWait_constr_1, NativeEnumerated_constraint },
85         0, 0,   /* Defined elsewhere */
86         &asn_SPC_RICtimeToWait_specs_1  /* Additional specs */
87 };
88