Separated E2Sim lib from E2SM-specific code
[sim/e2-interface.git] / e2sim / src / ASN1c / RICtimeToWait.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "/root/e2ap-v01.00.00.asn"
5  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -D .`
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,  17 }   /* (0..17,...) */,
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,      "zero" },
24         { 1,    4,      "w1ms" },
25         { 2,    4,      "w2ms" },
26         { 3,    4,      "w5ms" },
27         { 4,    5,      "w10ms" },
28         { 5,    5,      "w20ms" },
29         { 6,    5,      "w30ms" },
30         { 7,    5,      "w40ms" },
31         { 8,    5,      "w50ms" },
32         { 9,    6,      "w100ms" },
33         { 10,   6,      "w200ms" },
34         { 11,   6,      "w500ms" },
35         { 12,   3,      "w1s" },
36         { 13,   3,      "w2s" },
37         { 14,   3,      "w5s" },
38         { 15,   4,      "w10s" },
39         { 16,   4,      "w20s" },
40         { 17,   4,      "w60s" }
41         /* This list is extensible */
42 };
43 static const unsigned int asn_MAP_RICtimeToWait_enum2value_1[] = {
44         9,      /* w100ms(9) */
45         4,      /* w10ms(4) */
46         15,     /* w10s(15) */
47         1,      /* w1ms(1) */
48         12,     /* w1s(12) */
49         10,     /* w200ms(10) */
50         5,      /* w20ms(5) */
51         16,     /* w20s(16) */
52         2,      /* w2ms(2) */
53         13,     /* w2s(13) */
54         6,      /* w30ms(6) */
55         7,      /* w40ms(7) */
56         11,     /* w500ms(11) */
57         8,      /* w50ms(8) */
58         3,      /* w5ms(3) */
59         14,     /* w5s(14) */
60         17,     /* w60s(17) */
61         0       /* zero(0) */
62         /* This list is extensible */
63 };
64 const asn_INTEGER_specifics_t asn_SPC_RICtimeToWait_specs_1 = {
65         asn_MAP_RICtimeToWait_value2enum_1,     /* "tag" => N; sorted by tag */
66         asn_MAP_RICtimeToWait_enum2value_1,     /* N => "tag"; sorted by N */
67         18,     /* Number of elements in the maps */
68         19,     /* Extensions before this member */
69         1,      /* Strict enumeration */
70         0,      /* Native long size */
71         0
72 };
73 static const ber_tlv_tag_t asn_DEF_RICtimeToWait_tags_1[] = {
74         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
75 };
76 asn_TYPE_descriptor_t asn_DEF_RICtimeToWait = {
77         "RICtimeToWait",
78         "RICtimeToWait",
79         &asn_OP_NativeEnumerated,
80         asn_DEF_RICtimeToWait_tags_1,
81         sizeof(asn_DEF_RICtimeToWait_tags_1)
82                 /sizeof(asn_DEF_RICtimeToWait_tags_1[0]), /* 1 */
83         asn_DEF_RICtimeToWait_tags_1,   /* Same as above */
84         sizeof(asn_DEF_RICtimeToWait_tags_1)
85                 /sizeof(asn_DEF_RICtimeToWait_tags_1[0]), /* 1 */
86         { &asn_OER_type_RICtimeToWait_constr_1, &asn_PER_type_RICtimeToWait_constr_1, NativeEnumerated_constraint },
87         0, 0,   /* Defined elsewhere */
88         &asn_SPC_RICtimeToWait_specs_1  /* Additional specs */
89 };
90