Adding new comments for Oran in all files with licenses
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / NRNRB.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 "X2AP-IEs"
27  *      found in "../../asnFiles/X2AP-IEs.asn"
28  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
29  */
30
31 #include "NRNRB.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_NRNRB_constr_1 CC_NOTUSED = {
38         { APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  0,  28 }   /* (0..28,...) */,
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_NRNRB_value2enum_1[] = {
43         { 0,    5,      "nrb11" },
44         { 1,    5,      "nrb18" },
45         { 2,    5,      "nrb24" },
46         { 3,    5,      "nrb25" },
47         { 4,    5,      "nrb31" },
48         { 5,    5,      "nrb32" },
49         { 6,    5,      "nrb38" },
50         { 7,    5,      "nrb51" },
51         { 8,    5,      "nrb52" },
52         { 9,    5,      "nrb65" },
53         { 10,   5,      "nrb66" },
54         { 11,   5,      "nrb78" },
55         { 12,   5,      "nrb79" },
56         { 13,   5,      "nrb93" },
57         { 14,   6,      "nrb106" },
58         { 15,   6,      "nrb107" },
59         { 16,   6,      "nrb121" },
60         { 17,   6,      "nrb132" },
61         { 18,   6,      "nrb133" },
62         { 19,   6,      "nrb135" },
63         { 20,   6,      "nrb160" },
64         { 21,   6,      "nrb162" },
65         { 22,   6,      "nrb189" },
66         { 23,   6,      "nrb216" },
67         { 24,   6,      "nrb217" },
68         { 25,   6,      "nrb245" },
69         { 26,   6,      "nrb264" },
70         { 27,   6,      "nrb270" },
71         { 28,   6,      "nrb273" }
72         /* This list is extensible */
73 };
74 static const unsigned int asn_MAP_NRNRB_enum2value_1[] = {
75         14,     /* nrb106(14) */
76         15,     /* nrb107(15) */
77         0,      /* nrb11(0) */
78         16,     /* nrb121(16) */
79         17,     /* nrb132(17) */
80         18,     /* nrb133(18) */
81         19,     /* nrb135(19) */
82         20,     /* nrb160(20) */
83         21,     /* nrb162(21) */
84         1,      /* nrb18(1) */
85         22,     /* nrb189(22) */
86         23,     /* nrb216(23) */
87         24,     /* nrb217(24) */
88         2,      /* nrb24(2) */
89         25,     /* nrb245(25) */
90         3,      /* nrb25(3) */
91         26,     /* nrb264(26) */
92         27,     /* nrb270(27) */
93         28,     /* nrb273(28) */
94         4,      /* nrb31(4) */
95         5,      /* nrb32(5) */
96         6,      /* nrb38(6) */
97         7,      /* nrb51(7) */
98         8,      /* nrb52(8) */
99         9,      /* nrb65(9) */
100         10,     /* nrb66(10) */
101         11,     /* nrb78(11) */
102         12,     /* nrb79(12) */
103         13      /* nrb93(13) */
104         /* This list is extensible */
105 };
106 const asn_INTEGER_specifics_t asn_SPC_NRNRB_specs_1 = {
107         asn_MAP_NRNRB_value2enum_1,     /* "tag" => N; sorted by tag */
108         asn_MAP_NRNRB_enum2value_1,     /* N => "tag"; sorted by N */
109         29,     /* Number of elements in the maps */
110         30,     /* Extensions before this member */
111         1,      /* Strict enumeration */
112         0,      /* Native long size */
113         0
114 };
115 static const ber_tlv_tag_t asn_DEF_NRNRB_tags_1[] = {
116         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
117 };
118 asn_TYPE_descriptor_t asn_DEF_NRNRB = {
119         "NRNRB",
120         "NRNRB",
121         &asn_OP_NativeEnumerated,
122         asn_DEF_NRNRB_tags_1,
123         sizeof(asn_DEF_NRNRB_tags_1)
124                 /sizeof(asn_DEF_NRNRB_tags_1[0]), /* 1 */
125         asn_DEF_NRNRB_tags_1,   /* Same as above */
126         sizeof(asn_DEF_NRNRB_tags_1)
127                 /sizeof(asn_DEF_NRNRB_tags_1[0]), /* 1 */
128         { 0, &asn_PER_type_NRNRB_constr_1, NativeEnumerated_constraint },
129         0, 0,   /* Defined elsewhere */
130         &asn_SPC_NRNRB_specs_1  /* Additional specs */
131 };
132