7520deb23045d986997cfdb85f7d1e75cc456cd7
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / OffsetOfNbiotChannelNumberToEARFCN.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 "OffsetOfNbiotChannelNumberToEARFCN.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_OffsetOfNbiotChannelNumberToEARFCN_constr_1 CC_NOTUSED = {
38         { APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  0,  20 }   /* (0..20,...) */,
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_OffsetOfNbiotChannelNumberToEARFCN_value2enum_1[] = {
43         { 0,    8,      "minusTen" },
44         { 1,    9,      "minusNine" },
45         { 2,    10,     "minusEight" },
46         { 3,    10,     "minusSeven" },
47         { 4,    8,      "minusSix" },
48         { 5,    9,      "minusFive" },
49         { 6,    9,      "minusFour" },
50         { 7,    10,     "minusThree" },
51         { 8,    8,      "minusTwo" },
52         { 9,    8,      "minusOne" },
53         { 10,   16,     "minusZeroDotFive" },
54         { 11,   4,      "zero" },
55         { 12,   3,      "one" },
56         { 13,   3,      "two" },
57         { 14,   5,      "three" },
58         { 15,   4,      "four" },
59         { 16,   4,      "five" },
60         { 17,   3,      "six" },
61         { 18,   5,      "seven" },
62         { 19,   5,      "eight" },
63         { 20,   4,      "nine" }
64         /* This list is extensible */
65 };
66 static const unsigned int asn_MAP_OffsetOfNbiotChannelNumberToEARFCN_enum2value_1[] = {
67         19,     /* eight(19) */
68         16,     /* five(16) */
69         15,     /* four(15) */
70         2,      /* minusEight(2) */
71         5,      /* minusFive(5) */
72         6,      /* minusFour(6) */
73         1,      /* minusNine(1) */
74         9,      /* minusOne(9) */
75         3,      /* minusSeven(3) */
76         4,      /* minusSix(4) */
77         0,      /* minusTen(0) */
78         7,      /* minusThree(7) */
79         8,      /* minusTwo(8) */
80         10,     /* minusZeroDotFive(10) */
81         20,     /* nine(20) */
82         12,     /* one(12) */
83         18,     /* seven(18) */
84         17,     /* six(17) */
85         14,     /* three(14) */
86         13,     /* two(13) */
87         11      /* zero(11) */
88         /* This list is extensible */
89 };
90 const asn_INTEGER_specifics_t asn_SPC_OffsetOfNbiotChannelNumberToEARFCN_specs_1 = {
91         asn_MAP_OffsetOfNbiotChannelNumberToEARFCN_value2enum_1,        /* "tag" => N; sorted by tag */
92         asn_MAP_OffsetOfNbiotChannelNumberToEARFCN_enum2value_1,        /* N => "tag"; sorted by N */
93         21,     /* Number of elements in the maps */
94         22,     /* Extensions before this member */
95         1,      /* Strict enumeration */
96         0,      /* Native long size */
97         0
98 };
99 static const ber_tlv_tag_t asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1[] = {
100         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
101 };
102 asn_TYPE_descriptor_t asn_DEF_OffsetOfNbiotChannelNumberToEARFCN = {
103         "OffsetOfNbiotChannelNumberToEARFCN",
104         "OffsetOfNbiotChannelNumberToEARFCN",
105         &asn_OP_NativeEnumerated,
106         asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1,
107         sizeof(asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1)
108                 /sizeof(asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1[0]), /* 1 */
109         asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1,      /* Same as above */
110         sizeof(asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1)
111                 /sizeof(asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1[0]), /* 1 */
112         { 0, &asn_PER_type_OffsetOfNbiotChannelNumberToEARFCN_constr_1, NativeEnumerated_constraint },
113         0, 0,   /* Defined elsewhere */
114         &asn_SPC_OffsetOfNbiotChannelNumberToEARFCN_specs_1     /* Additional specs */
115 };
116