5406b15548771ca58c9ef9e2776bd181d0ed9076
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / RICtimeToWait.c
1 /*
2  *
3  * Copyright 2019 AT&T Intellectual Property
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18
19
20 /*
21  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
22  * From ASN.1 module "E2AP-IEs"
23  *      found in "../../asnFiles/e2ap-v031.asn"
24  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
25  */
26
27 #include "RICtimeToWait.h"
28
29 /*
30  * This type is implemented using NativeEnumerated,
31  * so here we adjust the DEF accordingly.
32  */
33 asn_per_constraints_t asn_PER_type_RICtimeToWait_constr_1 CC_NOTUSED = {
34         { APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  0,  17 }   /* (0..17,...) */,
35         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
36         0, 0    /* No PER value map */
37 };
38 static const asn_INTEGER_enum_map_t asn_MAP_RICtimeToWait_value2enum_1[] = {
39         { 0,    4,      "zero" },
40         { 1,    4,      "w1ms" },
41         { 2,    4,      "w2ms" },
42         { 3,    4,      "w5ms" },
43         { 4,    5,      "w10ms" },
44         { 5,    5,      "w20ms" },
45         { 6,    5,      "w30ms" },
46         { 7,    5,      "w40ms" },
47         { 8,    5,      "w50ms" },
48         { 9,    6,      "w100ms" },
49         { 10,   6,      "w200ms" },
50         { 11,   6,      "w500ms" },
51         { 12,   3,      "w1s" },
52         { 13,   3,      "w2s" },
53         { 14,   3,      "w5s" },
54         { 15,   4,      "w10s" },
55         { 16,   4,      "w20s" },
56         { 17,   4,      "w60s" }
57         /* This list is extensible */
58 };
59 static const unsigned int asn_MAP_RICtimeToWait_enum2value_1[] = {
60         9,      /* w100ms(9) */
61         4,      /* w10ms(4) */
62         15,     /* w10s(15) */
63         1,      /* w1ms(1) */
64         12,     /* w1s(12) */
65         10,     /* w200ms(10) */
66         5,      /* w20ms(5) */
67         16,     /* w20s(16) */
68         2,      /* w2ms(2) */
69         13,     /* w2s(13) */
70         6,      /* w30ms(6) */
71         7,      /* w40ms(7) */
72         11,     /* w500ms(11) */
73         8,      /* w50ms(8) */
74         3,      /* w5ms(3) */
75         14,     /* w5s(14) */
76         17,     /* w60s(17) */
77         0       /* zero(0) */
78         /* This list is extensible */
79 };
80 const asn_INTEGER_specifics_t asn_SPC_RICtimeToWait_specs_1 = {
81         asn_MAP_RICtimeToWait_value2enum_1,     /* "tag" => N; sorted by tag */
82         asn_MAP_RICtimeToWait_enum2value_1,     /* N => "tag"; sorted by N */
83         18,     /* Number of elements in the maps */
84         19,     /* Extensions before this member */
85         1,      /* Strict enumeration */
86         0,      /* Native long size */
87         0
88 };
89 static const ber_tlv_tag_t asn_DEF_RICtimeToWait_tags_1[] = {
90         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
91 };
92 asn_TYPE_descriptor_t asn_DEF_RICtimeToWait = {
93         "RICtimeToWait",
94         "RICtimeToWait",
95         &asn_OP_NativeEnumerated,
96         asn_DEF_RICtimeToWait_tags_1,
97         sizeof(asn_DEF_RICtimeToWait_tags_1)
98                 /sizeof(asn_DEF_RICtimeToWait_tags_1[0]), /* 1 */
99         asn_DEF_RICtimeToWait_tags_1,   /* Same as above */
100         sizeof(asn_DEF_RICtimeToWait_tags_1)
101                 /sizeof(asn_DEF_RICtimeToWait_tags_1[0]), /* 1 */
102         { 0, &asn_PER_type_RICtimeToWait_constr_1, NativeEnumerated_constraint },
103         0, 0,   /* Defined elsewhere */
104         &asn_SPC_RICtimeToWait_specs_1  /* Additional specs */
105 };
106