Issue-ID: SIM-18
[sim/e2-interface.git] / e2sim / e2apv1sim / ricsim / 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 "/home/rshacham/e2ap-v01.00.00.asn"
5  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -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 asn_per_constraints_t asn_PER_type_RICtimeToWait_constr_1 CC_NOTUSED = {
15         { APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  0,  17 }   /* (0..17,...) */,
16         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
17         0, 0    /* No PER value map */
18 };
19 static const asn_INTEGER_enum_map_t asn_MAP_RICtimeToWait_value2enum_1[] = {
20         { 0,    4,      "zero" },
21         { 1,    4,      "w1ms" },
22         { 2,    4,      "w2ms" },
23         { 3,    4,      "w5ms" },
24         { 4,    5,      "w10ms" },
25         { 5,    5,      "w20ms" },
26         { 6,    5,      "w30ms" },
27         { 7,    5,      "w40ms" },
28         { 8,    5,      "w50ms" },
29         { 9,    6,      "w100ms" },
30         { 10,   6,      "w200ms" },
31         { 11,   6,      "w500ms" },
32         { 12,   3,      "w1s" },
33         { 13,   3,      "w2s" },
34         { 14,   3,      "w5s" },
35         { 15,   4,      "w10s" },
36         { 16,   4,      "w20s" },
37         { 17,   4,      "w60s" }
38         /* This list is extensible */
39 };
40 static const unsigned int asn_MAP_RICtimeToWait_enum2value_1[] = {
41         9,      /* w100ms(9) */
42         4,      /* w10ms(4) */
43         15,     /* w10s(15) */
44         1,      /* w1ms(1) */
45         12,     /* w1s(12) */
46         10,     /* w200ms(10) */
47         5,      /* w20ms(5) */
48         16,     /* w20s(16) */
49         2,      /* w2ms(2) */
50         13,     /* w2s(13) */
51         6,      /* w30ms(6) */
52         7,      /* w40ms(7) */
53         11,     /* w500ms(11) */
54         8,      /* w50ms(8) */
55         3,      /* w5ms(3) */
56         14,     /* w5s(14) */
57         17,     /* w60s(17) */
58         0       /* zero(0) */
59         /* This list is extensible */
60 };
61 const asn_INTEGER_specifics_t asn_SPC_RICtimeToWait_specs_1 = {
62         asn_MAP_RICtimeToWait_value2enum_1,     /* "tag" => N; sorted by tag */
63         asn_MAP_RICtimeToWait_enum2value_1,     /* N => "tag"; sorted by N */
64         18,     /* Number of elements in the maps */
65         19,     /* Extensions before this member */
66         1,      /* Strict enumeration */
67         0,      /* Native long size */
68         0
69 };
70 static const ber_tlv_tag_t asn_DEF_RICtimeToWait_tags_1[] = {
71         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
72 };
73 asn_TYPE_descriptor_t asn_DEF_RICtimeToWait = {
74         "RICtimeToWait",
75         "RICtimeToWait",
76         &asn_OP_NativeEnumerated,
77         asn_DEF_RICtimeToWait_tags_1,
78         sizeof(asn_DEF_RICtimeToWait_tags_1)
79                 /sizeof(asn_DEF_RICtimeToWait_tags_1[0]), /* 1 */
80         asn_DEF_RICtimeToWait_tags_1,   /* Same as above */
81         sizeof(asn_DEF_RICtimeToWait_tags_1)
82                 /sizeof(asn_DEF_RICtimeToWait_tags_1[0]), /* 1 */
83         { 0, &asn_PER_type_RICtimeToWait_constr_1, NativeEnumerated_constraint },
84         0, 0,   /* Defined elsewhere */
85         &asn_SPC_RICtimeToWait_specs_1  /* Additional specs */
86 };
87