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