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