Enhanced SIM for E2AP v1 for TS UC
[sim/e2-interface.git] / e2sim / e2apv1sim / ASN1c / RT-Period-IE.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2SM-KPM-IEs"
4  *      found in "/home/rshacham/e2sm_kpm_approved.asn"
5  *      `asn1c -fcompound-names`
6  */
7
8 #include "RT-Period-IE.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_RT_Period_IE_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_RT_Period_IE_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  0,  19 }   /* (0..19,...) */,
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_RT_Period_IE_value2enum_1[] = {
23         { 0,    4,      "ms10" },
24         { 1,    4,      "ms20" },
25         { 2,    4,      "ms32" },
26         { 3,    4,      "ms40" },
27         { 4,    4,      "ms60" },
28         { 5,    4,      "ms64" },
29         { 6,    4,      "ms70" },
30         { 7,    4,      "ms80" },
31         { 8,    5,      "ms128" },
32         { 9,    5,      "ms160" },
33         { 10,   5,      "ms256" },
34         { 11,   5,      "ms320" },
35         { 12,   5,      "ms512" },
36         { 13,   5,      "ms640" },
37         { 14,   6,      "ms1024" },
38         { 15,   6,      "ms1280" },
39         { 16,   6,      "ms2048" },
40         { 17,   6,      "ms2560" },
41         { 18,   6,      "ms5120" },
42         { 19,   7,      "ms10240" }
43         /* This list is extensible */
44 };
45 static const unsigned int asn_MAP_RT_Period_IE_enum2value_1[] = {
46         0,      /* ms10(0) */
47         14,     /* ms1024(14) */
48         19,     /* ms10240(19) */
49         8,      /* ms128(8) */
50         15,     /* ms1280(15) */
51         9,      /* ms160(9) */
52         1,      /* ms20(1) */
53         16,     /* ms2048(16) */
54         10,     /* ms256(10) */
55         17,     /* ms2560(17) */
56         2,      /* ms32(2) */
57         11,     /* ms320(11) */
58         3,      /* ms40(3) */
59         12,     /* ms512(12) */
60         18,     /* ms5120(18) */
61         4,      /* ms60(4) */
62         5,      /* ms64(5) */
63         13,     /* ms640(13) */
64         6,      /* ms70(6) */
65         7       /* ms80(7) */
66         /* This list is extensible */
67 };
68 const asn_INTEGER_specifics_t asn_SPC_RT_Period_IE_specs_1 = {
69         asn_MAP_RT_Period_IE_value2enum_1,      /* "tag" => N; sorted by tag */
70         asn_MAP_RT_Period_IE_enum2value_1,      /* N => "tag"; sorted by N */
71         20,     /* Number of elements in the maps */
72         21,     /* Extensions before this member */
73         1,      /* Strict enumeration */
74         0,      /* Native long size */
75         0
76 };
77 static const ber_tlv_tag_t asn_DEF_RT_Period_IE_tags_1[] = {
78         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
79 };
80 asn_TYPE_descriptor_t asn_DEF_RT_Period_IE = {
81         "RT-Period-IE",
82         "RT-Period-IE",
83         &asn_OP_NativeEnumerated,
84         asn_DEF_RT_Period_IE_tags_1,
85         sizeof(asn_DEF_RT_Period_IE_tags_1)
86                 /sizeof(asn_DEF_RT_Period_IE_tags_1[0]), /* 1 */
87         asn_DEF_RT_Period_IE_tags_1,    /* Same as above */
88         sizeof(asn_DEF_RT_Period_IE_tags_1)
89                 /sizeof(asn_DEF_RT_Period_IE_tags_1[0]), /* 1 */
90         { &asn_OER_type_RT_Period_IE_constr_1, &asn_PER_type_RT_Period_IE_constr_1, NativeEnumerated_constraint },
91         0, 0,   /* Defined elsewhere */
92         &asn_SPC_RT_Period_IE_specs_1   /* Additional specs */
93 };
94