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