SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / 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-ied-v03.01.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
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 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
15 asn_per_constraints_t asn_PER_type_RICtimeToWait_constr_1 CC_NOTUSED = {
16         { APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  0,  16 }   /* (0..16,...) */,
17         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
18         0, 0    /* No PER value map */
19 };
20 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
21 static const asn_INTEGER_enum_map_t asn_MAP_RICtimeToWait_value2enum_1[] = {
22         { 0,    4,      "w1ms" },
23         { 1,    4,      "w2ms" },
24         { 2,    4,      "w5ms" },
25         { 3,    5,      "w10ms" },
26         { 4,    5,      "w20ms" },
27         { 5,    5,      "w30ms" },
28         { 6,    5,      "w40ms" },
29         { 7,    5,      "w50ms" },
30         { 8,    6,      "w100ms" },
31         { 9,    6,      "w200ms" },
32         { 10,   6,      "w500ms" },
33         { 11,   3,      "w1s" },
34         { 12,   3,      "w2s" },
35         { 13,   3,      "w5s" },
36         { 14,   4,      "w10s" },
37         { 15,   4,      "w20s" },
38         { 16,   4,      "w60s" }
39         /* This list is extensible */
40 };
41 static const unsigned int asn_MAP_RICtimeToWait_enum2value_1[] = {
42         8,      /* w100ms(8) */
43         3,      /* w10ms(3) */
44         14,     /* w10s(14) */
45         0,      /* w1ms(0) */
46         11,     /* w1s(11) */
47         9,      /* w200ms(9) */
48         4,      /* w20ms(4) */
49         15,     /* w20s(15) */
50         1,      /* w2ms(1) */
51         12,     /* w2s(12) */
52         5,      /* w30ms(5) */
53         6,      /* w40ms(6) */
54         10,     /* w500ms(10) */
55         7,      /* w50ms(7) */
56         2,      /* w5ms(2) */
57         13,     /* w5s(13) */
58         16      /* w60s(16) */
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         17,     /* Number of elements in the maps */
65         18,     /* 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         {
84 #if !defined(ASN_DISABLE_OER_SUPPORT)
85                 0,
86 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
87 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
88                 &asn_PER_type_RICtimeToWait_constr_1,
89 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
90                 NativeEnumerated_constraint
91         },
92         0, 0,   /* Defined elsewhere */
93         &asn_SPC_RICtimeToWait_specs_1  /* Additional specs */
94 };
95