Change version after creation of r2 branch
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / CauseRadioNetwork.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 "CauseRadioNetwork.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_CauseRadioNetwork_constr_1 CC_NOTUSED = {
34         { APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  0,  21 }   /* (0..21,...) */,
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_CauseRadioNetwork_value2enum_1[] = {
39         { 0,    36,     "handover-desirable-for-radio-reasons" },
40         { 1,    22,     "time-critical-handover" },
41         { 2,    30,     "resource-optimisation-handover" },
42         { 3,    27,     "reduce-load-in-serving-cell" },
43         { 4,    16,     "partial-handover" },
44         { 5,    26,     "unknown-new-eNB-UE-X2AP-ID" },
45         { 6,    26,     "unknown-old-eNB-UE-X2AP-ID" },
46         { 7,    26,     "unknown-pair-of-UE-X2AP-ID" },
47         { 8,    21,     "ho-target-not-allowed" },
48         { 9,    22,     "tx2relocoverall-expiry" },
49         { 10,   17,     "trelocprep-expiry" },
50         { 11,   18,     "cell-not-available" },
51         { 12,   43,     "no-radio-resources-available-in-target-cell" },
52         { 13,   19,     "invalid-MME-GroupID" },
53         { 14,   16,     "unknown-MME-Code" },
54         { 15,   63,     "encryption-and-or-integrity-protection-algorithms-not-supported" },
55         { 16,   26,     "reportCharacteristicsEmpty" },
56         { 17,   19,     "noReportPeriodicity" },
57         { 18,   21,     "existingMeasurementID" },
58         { 19,   26,     "unknown-eNB-Measurement-ID" },
59         { 20,   37,     "measurement-temporarily-not-available" },
60         { 21,   11,     "unspecified" },
61         { 22,   14,     "load-balancing" },
62         { 23,   21,     "handover-optimisation" },
63         { 24,   26,     "value-out-of-allowed-range" },
64         { 25,   27,     "multiple-E-RAB-ID-instances" },
65         { 26,   18,     "switch-off-ongoing" },
66         { 27,   23,     "not-supported-QCI-value" },
67         { 28,   40,     "measurement-not-supported-for-the-object" },
68         { 29,   17,     "tDCoverall-expiry" },
69         { 30,   14,     "tDCprep-expiry" },
70         { 31,   34,     "action-desirable-for-radio-reasons" },
71         { 32,   11,     "reduce-load" },
72         { 33,   21,     "resource-optimisation" },
73         { 34,   20,     "time-critical-action" },
74         { 35,   18,     "target-not-allowed" },
75         { 36,   28,     "no-radio-resources-available" },
76         { 37,   23,     "invalid-QoS-combination" },
77         { 38,   35,     "encryption-algorithms-not-aupported" },
78         { 39,   19,     "procedure-cancelled" },
79         { 40,   11,     "rRM-purpose" },
80         { 41,   21,     "improve-user-bit-rate" },
81         { 42,   15,     "user-inactivity" },
82         { 43,   29,     "radio-connection-with-UE-lost" },
83         { 44,   40,     "failure-in-the-radio-interface-procedure" },
84         { 45,   27,     "bearer-option-not-supported" },
85         { 46,   12,     "mCG-Mobility" },
86         { 47,   12,     "sCG-Mobility" },
87         { 48,   23,     "count-reaches-max-value" },
88         { 49,   29,     "unknown-old-en-gNB-UE-X2AP-ID" },
89         { 50,   13,     "pDCP-Overload" }
90         /* This list is extensible */
91 };
92 static const unsigned int asn_MAP_CauseRadioNetwork_enum2value_1[] = {
93         31,     /* action-desirable-for-radio-reasons(31) */
94         45,     /* bearer-option-not-supported(45) */
95         11,     /* cell-not-available(11) */
96         48,     /* count-reaches-max-value(48) */
97         38,     /* encryption-algorithms-not-aupported(38) */
98         15,     /* encryption-and-or-integrity-protection-algorithms-not-supported(15) */
99         18,     /* existingMeasurementID(18) */
100         44,     /* failure-in-the-radio-interface-procedure(44) */
101         0,      /* handover-desirable-for-radio-reasons(0) */
102         23,     /* handover-optimisation(23) */
103         8,      /* ho-target-not-allowed(8) */
104         41,     /* improve-user-bit-rate(41) */
105         13,     /* invalid-MME-GroupID(13) */
106         37,     /* invalid-QoS-combination(37) */
107         22,     /* load-balancing(22) */
108         46,     /* mCG-Mobility(46) */
109         28,     /* measurement-not-supported-for-the-object(28) */
110         20,     /* measurement-temporarily-not-available(20) */
111         25,     /* multiple-E-RAB-ID-instances(25) */
112         36,     /* no-radio-resources-available(36) */
113         12,     /* no-radio-resources-available-in-target-cell(12) */
114         17,     /* noReportPeriodicity(17) */
115         27,     /* not-supported-QCI-value(27) */
116         50,     /* pDCP-Overload(50) */
117         4,      /* partial-handover(4) */
118         39,     /* procedure-cancelled(39) */
119         40,     /* rRM-purpose(40) */
120         43,     /* radio-connection-with-UE-lost(43) */
121         32,     /* reduce-load(32) */
122         3,      /* reduce-load-in-serving-cell(3) */
123         16,     /* reportCharacteristicsEmpty(16) */
124         33,     /* resource-optimisation(33) */
125         2,      /* resource-optimisation-handover(2) */
126         47,     /* sCG-Mobility(47) */
127         26,     /* switch-off-ongoing(26) */
128         29,     /* tDCoverall-expiry(29) */
129         30,     /* tDCprep-expiry(30) */
130         35,     /* target-not-allowed(35) */
131         34,     /* time-critical-action(34) */
132         1,      /* time-critical-handover(1) */
133         10,     /* trelocprep-expiry(10) */
134         9,      /* tx2relocoverall-expiry(9) */
135         14,     /* unknown-MME-Code(14) */
136         19,     /* unknown-eNB-Measurement-ID(19) */
137         5,      /* unknown-new-eNB-UE-X2AP-ID(5) */
138         6,      /* unknown-old-eNB-UE-X2AP-ID(6) */
139         49,     /* unknown-old-en-gNB-UE-X2AP-ID(49) */
140         7,      /* unknown-pair-of-UE-X2AP-ID(7) */
141         21,     /* unspecified(21) */
142         42,     /* user-inactivity(42) */
143         24      /* value-out-of-allowed-range(24) */
144         /* This list is extensible */
145 };
146 const asn_INTEGER_specifics_t asn_SPC_CauseRadioNetwork_specs_1 = {
147         asn_MAP_CauseRadioNetwork_value2enum_1, /* "tag" => N; sorted by tag */
148         asn_MAP_CauseRadioNetwork_enum2value_1, /* N => "tag"; sorted by N */
149         51,     /* Number of elements in the maps */
150         23,     /* Extensions before this member */
151         1,      /* Strict enumeration */
152         0,      /* Native long size */
153         0
154 };
155 static const ber_tlv_tag_t asn_DEF_CauseRadioNetwork_tags_1[] = {
156         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
157 };
158 asn_TYPE_descriptor_t asn_DEF_CauseRadioNetwork = {
159         "CauseRadioNetwork",
160         "CauseRadioNetwork",
161         &asn_OP_NativeEnumerated,
162         asn_DEF_CauseRadioNetwork_tags_1,
163         sizeof(asn_DEF_CauseRadioNetwork_tags_1)
164                 /sizeof(asn_DEF_CauseRadioNetwork_tags_1[0]), /* 1 */
165         asn_DEF_CauseRadioNetwork_tags_1,       /* Same as above */
166         sizeof(asn_DEF_CauseRadioNetwork_tags_1)
167                 /sizeof(asn_DEF_CauseRadioNetwork_tags_1[0]), /* 1 */
168         { 0, &asn_PER_type_CauseRadioNetwork_constr_1, NativeEnumerated_constraint },
169         0, 0,   /* Defined elsewhere */
170         &asn_SPC_CauseRadioNetwork_specs_1      /* Additional specs */
171 };
172