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