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