[Epic-ID: ODUHIGH-475][Task-ID: ODUHIGH-476]F1AP codec update
[o-du/l2.git] / src / codec_utils / F1AP / UnsuccessfulOutcome.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "F1AP-PDU-Descriptions"
4  *      found in "../F1.asn1"
5  *      `asn1c -D ../F1_output/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #include "UnsuccessfulOutcome.h"
9
10 static const long asn_VAL_1_id_Reset = 0;
11 static const long asn_VAL_1_reject = 0;
12 static const long asn_VAL_2_id_F1Setup = 1;
13 static const long asn_VAL_2_reject = 0;
14 static const long asn_VAL_3_id_gNBDUConfigurationUpdate = 3;
15 static const long asn_VAL_3_reject = 0;
16 static const long asn_VAL_4_id_gNBCUConfigurationUpdate = 4;
17 static const long asn_VAL_4_reject = 0;
18 static const long asn_VAL_5_id_UEContextSetup = 5;
19 static const long asn_VAL_5_reject = 0;
20 static const long asn_VAL_6_id_UEContextRelease = 6;
21 static const long asn_VAL_6_reject = 0;
22 static const long asn_VAL_7_id_UEContextModification = 7;
23 static const long asn_VAL_7_reject = 0;
24 static const long asn_VAL_8_id_UEContextModificationRequired = 8;
25 static const long asn_VAL_8_reject = 0;
26 static const long asn_VAL_9_id_WriteReplaceWarning = 20;
27 static const long asn_VAL_9_reject = 0;
28 static const long asn_VAL_10_id_PWSCancel = 21;
29 static const long asn_VAL_10_reject = 0;
30 static const long asn_VAL_11_id_GNBDUResourceCoordination = 16;
31 static const long asn_VAL_11_reject = 0;
32 static const long asn_VAL_12_id_ErrorIndication = 2;
33 static const long asn_VAL_12_ignore = 1;
34 static const long asn_VAL_13_id_UEContextReleaseRequest = 10;
35 static const long asn_VAL_13_ignore = 1;
36 static const long asn_VAL_14_id_DLRRCMessageTransfer = 12;
37 static const long asn_VAL_14_ignore = 1;
38 static const long asn_VAL_15_id_ULRRCMessageTransfer = 13;
39 static const long asn_VAL_15_ignore = 1;
40 static const long asn_VAL_16_id_UEInactivityNotification = 15;
41 static const long asn_VAL_16_ignore = 1;
42 static const long asn_VAL_17_id_privateMessage = 14;
43 static const long asn_VAL_17_ignore = 1;
44 static const long asn_VAL_18_id_InitialULRRCMessageTransfer = 11;
45 static const long asn_VAL_18_ignore = 1;
46 static const long asn_VAL_19_id_SystemInformationDeliveryCommand = 17;
47 static const long asn_VAL_19_ignore = 1;
48 static const long asn_VAL_20_id_Paging = 18;
49 static const long asn_VAL_20_ignore = 1;
50 static const long asn_VAL_21_id_Notify = 19;
51 static const long asn_VAL_21_ignore = 1;
52 static const long asn_VAL_22_id_PWSRestartIndication = 22;
53 static const long asn_VAL_22_ignore = 1;
54 static const long asn_VAL_23_id_PWSFailureIndication = 23;
55 static const long asn_VAL_23_ignore = 1;
56 static const long asn_VAL_24_id_GNBDUStatusIndication = 24;
57 static const long asn_VAL_24_ignore = 1;
58 static const long asn_VAL_25_id_RRCDeliveryReport = 25;
59 static const long asn_VAL_25_ignore = 1;
60 static const asn_ioc_cell_t asn_IOS_F1AP_ELEMENTARY_PROCEDURES_1_rows[] = {
61         { "&InitiatingMessage", aioc__type, &asn_DEF_Reset },
62         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResetAcknowledge },
63         { "&UnsuccessfulOutcome",  },
64         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_1_id_Reset },
65         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_1_reject },
66         { "&InitiatingMessage", aioc__type, &asn_DEF_F1SetupRequest },
67         { "&SuccessfulOutcome", aioc__type, &asn_DEF_F1SetupResponse },
68         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_F1SetupFailure },
69         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_2_id_F1Setup },
70         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_2_reject },
71         { "&InitiatingMessage", aioc__type, &asn_DEF_GNBDUConfigurationUpdate },
72         { "&SuccessfulOutcome", aioc__type, &asn_DEF_GNBDUConfigurationUpdateAcknowledge },
73         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_GNBDUConfigurationUpdateFailure },
74         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_3_id_gNBDUConfigurationUpdate },
75         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject },
76         { "&InitiatingMessage", aioc__type, &asn_DEF_GNBCUConfigurationUpdate },
77         { "&SuccessfulOutcome", aioc__type, &asn_DEF_GNBCUConfigurationUpdateAcknowledge },
78         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_GNBCUConfigurationUpdateFailure },
79         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_4_id_gNBCUConfigurationUpdate },
80         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_reject },
81         { "&InitiatingMessage", aioc__type, &asn_DEF_UEContextSetupRequest },
82         { "&SuccessfulOutcome", aioc__type, &asn_DEF_UEContextSetupResponse },
83         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_UEContextSetupFailure },
84         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_5_id_UEContextSetup },
85         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_5_reject },
86         { "&InitiatingMessage", aioc__type, &asn_DEF_UEContextReleaseCommand },
87         { "&SuccessfulOutcome", aioc__type, &asn_DEF_UEContextReleaseComplete },
88         { "&UnsuccessfulOutcome",  },
89         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_6_id_UEContextRelease },
90         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_6_reject },
91         { "&InitiatingMessage", aioc__type, &asn_DEF_UEContextModificationRequest },
92         { "&SuccessfulOutcome", aioc__type, &asn_DEF_UEContextModificationResponse },
93         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_UEContextModificationFailure },
94         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_7_id_UEContextModification },
95         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_reject },
96         { "&InitiatingMessage", aioc__type, &asn_DEF_UEContextModificationRequired },
97         { "&SuccessfulOutcome", aioc__type, &asn_DEF_UEContextModificationConfirm },
98         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_UEContextModificationRefuse },
99         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_8_id_UEContextModificationRequired },
100         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_reject },
101         { "&InitiatingMessage", aioc__type, &asn_DEF_WriteReplaceWarningRequest },
102         { "&SuccessfulOutcome", aioc__type, &asn_DEF_WriteReplaceWarningResponse },
103         { "&UnsuccessfulOutcome",  },
104         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_9_id_WriteReplaceWarning },
105         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_reject },
106         { "&InitiatingMessage", aioc__type, &asn_DEF_PWSCancelRequest },
107         { "&SuccessfulOutcome", aioc__type, &asn_DEF_PWSCancelResponse },
108         { "&UnsuccessfulOutcome",  },
109         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_10_id_PWSCancel },
110         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_10_reject },
111         { "&InitiatingMessage", aioc__type, &asn_DEF_GNBDUResourceCoordinationRequest },
112         { "&SuccessfulOutcome", aioc__type, &asn_DEF_GNBDUResourceCoordinationResponse },
113         { "&UnsuccessfulOutcome",  },
114         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_11_id_GNBDUResourceCoordination },
115         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_11_reject },
116         { "&InitiatingMessage", aioc__type, &asn_DEF_ErrorIndication },
117         { "&SuccessfulOutcome",  },
118         { "&UnsuccessfulOutcome",  },
119         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_12_id_ErrorIndication },
120         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_12_ignore },
121         { "&InitiatingMessage", aioc__type, &asn_DEF_UEContextReleaseRequest },
122         { "&SuccessfulOutcome",  },
123         { "&UnsuccessfulOutcome",  },
124         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_13_id_UEContextReleaseRequest },
125         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_13_ignore },
126         { "&InitiatingMessage", aioc__type, &asn_DEF_DLRRCMessageTransfer },
127         { "&SuccessfulOutcome",  },
128         { "&UnsuccessfulOutcome",  },
129         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_14_id_DLRRCMessageTransfer },
130         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_14_ignore },
131         { "&InitiatingMessage", aioc__type, &asn_DEF_ULRRCMessageTransfer },
132         { "&SuccessfulOutcome",  },
133         { "&UnsuccessfulOutcome",  },
134         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_15_id_ULRRCMessageTransfer },
135         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_15_ignore },
136         { "&InitiatingMessage", aioc__type, &asn_DEF_UEInactivityNotification },
137         { "&SuccessfulOutcome",  },
138         { "&UnsuccessfulOutcome",  },
139         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_16_id_UEInactivityNotification },
140         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_16_ignore },
141         { "&InitiatingMessage", aioc__type, &asn_DEF_PrivateMessage },
142         { "&SuccessfulOutcome",  },
143         { "&UnsuccessfulOutcome",  },
144         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_17_id_privateMessage },
145         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_17_ignore },
146         { "&InitiatingMessage", aioc__type, &asn_DEF_InitialULRRCMessageTransfer },
147         { "&SuccessfulOutcome",  },
148         { "&UnsuccessfulOutcome",  },
149         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_18_id_InitialULRRCMessageTransfer },
150         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_18_ignore },
151         { "&InitiatingMessage", aioc__type, &asn_DEF_SystemInformationDeliveryCommand },
152         { "&SuccessfulOutcome",  },
153         { "&UnsuccessfulOutcome",  },
154         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_19_id_SystemInformationDeliveryCommand },
155         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_19_ignore },
156         { "&InitiatingMessage", aioc__type, &asn_DEF_Paging },
157         { "&SuccessfulOutcome",  },
158         { "&UnsuccessfulOutcome",  },
159         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_20_id_Paging },
160         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_20_ignore },
161         { "&InitiatingMessage", aioc__type, &asn_DEF_Notify },
162         { "&SuccessfulOutcome",  },
163         { "&UnsuccessfulOutcome",  },
164         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_21_id_Notify },
165         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_21_ignore },
166         { "&InitiatingMessage", aioc__type, &asn_DEF_PWSRestartIndication },
167         { "&SuccessfulOutcome",  },
168         { "&UnsuccessfulOutcome",  },
169         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_22_id_PWSRestartIndication },
170         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_22_ignore },
171         { "&InitiatingMessage", aioc__type, &asn_DEF_PWSFailureIndication },
172         { "&SuccessfulOutcome",  },
173         { "&UnsuccessfulOutcome",  },
174         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_23_id_PWSFailureIndication },
175         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_23_ignore },
176         { "&InitiatingMessage", aioc__type, &asn_DEF_GNBDUStatusIndication },
177         { "&SuccessfulOutcome",  },
178         { "&UnsuccessfulOutcome",  },
179         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_24_id_GNBDUStatusIndication },
180         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_24_ignore },
181         { "&InitiatingMessage", aioc__type, &asn_DEF_RRCDeliveryReport },
182         { "&SuccessfulOutcome",  },
183         { "&UnsuccessfulOutcome",  },
184         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_25_id_RRCDeliveryReport },
185         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_25_ignore }
186 };
187 static const asn_ioc_set_t asn_IOS_F1AP_ELEMENTARY_PROCEDURES_1[] = {
188         { 25, 5, asn_IOS_F1AP_ELEMENTARY_PROCEDURES_1_rows }
189 };
190 static int
191 memb_procedureCode_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
192                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
193         long value;
194         
195         if(!sptr) {
196                 ASN__CTFAIL(app_key, td, sptr,
197                         "%s: value not given (%s:%d)",
198                         td->name, __FILE__, __LINE__);
199                 return -1;
200         }
201         
202         value = *(const long *)sptr;
203         
204         if((value >= 0 && value <= 255)) {
205                 /* Constraint check succeeded */
206                 return 0;
207         } else {
208                 ASN__CTFAIL(app_key, td, sptr,
209                         "%s: constraint failed (%s:%d)",
210                         td->name, __FILE__, __LINE__);
211                 return -1;
212         }
213 }
214
215 static asn_type_selector_result_t
216 select_UnsuccessfulOutcome_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
217         asn_type_selector_result_t result = {0, 0};
218         const asn_ioc_set_t *itable = asn_IOS_F1AP_ELEMENTARY_PROCEDURES_1;
219         size_t constraining_column = 3; /* &procedureCode */
220         size_t for_column = 4; /* &criticality */
221         size_t row, presence_index = 0;
222         const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct UnsuccessfulOutcome, procedureCode));
223         
224         for(row=0; row < itable->rows_count; row++) {
225             const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column];
226             const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column];
227         
228             if(type_cell->cell_kind == aioc__undefined)
229                 continue;
230         
231             presence_index++;
232             if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) {
233                 result.type_descriptor = type_cell->type_descriptor;
234                 result.presence_index = presence_index;
235                 break;
236             }
237         }
238         
239         return result;
240 }
241
242 static int
243 memb_criticality_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
244                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
245         
246         if(!sptr) {
247                 ASN__CTFAIL(app_key, td, sptr,
248                         "%s: value not given (%s:%d)",
249                         td->name, __FILE__, __LINE__);
250                 return -1;
251         }
252         
253         
254         if(1 /* No applicable constraints whatsoever */) {
255                 /* Nothing is here. See below */
256         }
257         
258         return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
259 }
260
261 static asn_type_selector_result_t
262 select_UnsuccessfulOutcome_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
263         asn_type_selector_result_t result = {0, 0};
264         const asn_ioc_set_t *itable = asn_IOS_F1AP_ELEMENTARY_PROCEDURES_1;
265         size_t constraining_column = 3; /* &procedureCode */
266         size_t for_column = 2; /* &UnsuccessfulOutcome */
267         size_t row, presence_index = 0;
268         const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct UnsuccessfulOutcome, procedureCode));
269         
270         for(row=0; row < itable->rows_count; row++) {
271             const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column];
272             const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column];
273         
274             if(type_cell->cell_kind == aioc__undefined)
275                 continue;
276         
277             presence_index++;
278             if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) {
279                 result.type_descriptor = type_cell->type_descriptor;
280                 result.presence_index = presence_index;
281                 break;
282             }
283         }
284         
285         return result;
286 }
287
288 static int
289 memb_value_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
290                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
291         
292         if(!sptr) {
293                 ASN__CTFAIL(app_key, td, sptr,
294                         "%s: value not given (%s:%d)",
295                         td->name, __FILE__, __LINE__);
296                 return -1;
297         }
298         
299         
300         if(1 /* No applicable constraints whatsoever */) {
301                 /* Nothing is here. See below */
302         }
303         
304         return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
305 }
306
307 static asn_oer_constraints_t asn_OER_memb_procedureCode_constr_2 CC_NOTUSED = {
308         { 1, 1 }        /* (0..255) */,
309         -1};
310 static asn_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = {
311         { APC_CONSTRAINED,       8,  8,  0,  255 }      /* (0..255) */,
312         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
313         0, 0    /* No PER value map */
314 };
315 static asn_oer_constraints_t asn_OER_memb_criticality_constr_3 CC_NOTUSED = {
316         { 0, 0 },
317         -1};
318 static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = {
319         { APC_CONSTRAINED,       2,  2,  0,  2 }        /* (0..2) */,
320         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
321         0, 0    /* No PER value map */
322 };
323 static asn_oer_constraints_t asn_OER_memb_value_constr_4 CC_NOTUSED = {
324         { 0, 0 },
325         -1};
326 static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = {
327         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
328         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
329         0, 0    /* No PER value map */
330 };
331 static asn_TYPE_member_t asn_MBR_value_4[] = {
332         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.F1SetupFailure),
333                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
334                 0,
335                 &asn_DEF_F1SetupFailure,
336                 0,
337                 { 0, 0, 0 },
338                 0, 0, /* No default value */
339                 "F1SetupFailure"
340                 },
341         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.GNBDUConfigurationUpdateFailure),
342                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
343                 0,
344                 &asn_DEF_GNBDUConfigurationUpdateFailure,
345                 0,
346                 { 0, 0, 0 },
347                 0, 0, /* No default value */
348                 "GNBDUConfigurationUpdateFailure"
349                 },
350         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.GNBCUConfigurationUpdateFailure),
351                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
352                 0,
353                 &asn_DEF_GNBCUConfigurationUpdateFailure,
354                 0,
355                 { 0, 0, 0 },
356                 0, 0, /* No default value */
357                 "GNBCUConfigurationUpdateFailure"
358                 },
359         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.UEContextSetupFailure),
360                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
361                 0,
362                 &asn_DEF_UEContextSetupFailure,
363                 0,
364                 { 0, 0, 0 },
365                 0, 0, /* No default value */
366                 "UEContextSetupFailure"
367                 },
368         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.UEContextModificationFailure),
369                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
370                 0,
371                 &asn_DEF_UEContextModificationFailure,
372                 0,
373                 { 0, 0, 0 },
374                 0, 0, /* No default value */
375                 "UEContextModificationFailure"
376                 },
377         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.UEContextModificationRefuse),
378                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
379                 0,
380                 &asn_DEF_UEContextModificationRefuse,
381                 0,
382                 { 0, 0, 0 },
383                 0, 0, /* No default value */
384                 "UEContextModificationRefuse"
385                 },
386 };
387 static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = {
388     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 5 }, /* F1SetupFailure */
389     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 4 }, /* GNBDUConfigurationUpdateFailure */
390     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 3 }, /* GNBCUConfigurationUpdateFailure */
391     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 2 }, /* UEContextSetupFailure */
392     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 1 }, /* UEContextModificationFailure */
393     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 0 } /* UEContextModificationRefuse */
394 };
395 static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = {
396         sizeof(struct UnsuccessfulOutcome__value),
397         offsetof(struct UnsuccessfulOutcome__value, _asn_ctx),
398         offsetof(struct UnsuccessfulOutcome__value, present),
399         sizeof(((struct UnsuccessfulOutcome__value *)0)->present),
400         asn_MAP_value_tag2el_4,
401         6,      /* Count of tags in the map */
402         0, 0,
403         -1      /* Extensions start */
404 };
405 static /* Use -fall-defs-global to expose */
406 asn_TYPE_descriptor_t asn_DEF_value_4 = {
407         "value",
408         "value",
409         &asn_OP_OPEN_TYPE,
410         0,      /* No effective tags (pointer) */
411         0,      /* No effective tags (count) */
412         0,      /* No tags (pointer) */
413         0,      /* No tags (count) */
414         { 0, 0, OPEN_TYPE_constraint },
415         asn_MBR_value_4,
416         6,      /* Elements count */
417         &asn_SPC_value_specs_4  /* Additional specs */
418 };
419
420 asn_TYPE_member_t asn_MBR_UnsuccessfulOutcome_1[] = {
421         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, procedureCode),
422                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
423                 -1,     /* IMPLICIT tag at current level */
424                 &asn_DEF_ProcedureCode,
425                 0,
426                 { &asn_OER_memb_procedureCode_constr_2, &asn_PER_memb_procedureCode_constr_2,  memb_procedureCode_constraint_1 },
427                 0, 0, /* No default value */
428                 "procedureCode"
429                 },
430         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, criticality),
431                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
432                 -1,     /* IMPLICIT tag at current level */
433                 &asn_DEF_Criticality,
434                 select_UnsuccessfulOutcome_criticality_type,
435                 { &asn_OER_memb_criticality_constr_3, &asn_PER_memb_criticality_constr_3,  memb_criticality_constraint_1 },
436                 0, 0, /* No default value */
437                 "criticality"
438                 },
439         { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, value),
440                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
441                 +1,     /* EXPLICIT tag at current level */
442                 &asn_DEF_value_4,
443                 select_UnsuccessfulOutcome_value_type,
444                 { &asn_OER_memb_value_constr_4, &asn_PER_memb_value_constr_4,  memb_value_constraint_1 },
445                 0, 0, /* No default value */
446                 "value"
447                 },
448 };
449 static const ber_tlv_tag_t asn_DEF_UnsuccessfulOutcome_tags_1[] = {
450         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
451 };
452 static const asn_TYPE_tag2member_t asn_MAP_UnsuccessfulOutcome_tag2el_1[] = {
453     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
454     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
455     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
456 };
457 asn_SEQUENCE_specifics_t asn_SPC_UnsuccessfulOutcome_specs_1 = {
458         sizeof(struct UnsuccessfulOutcome),
459         offsetof(struct UnsuccessfulOutcome, _asn_ctx),
460         asn_MAP_UnsuccessfulOutcome_tag2el_1,
461         3,      /* Count of tags in the map */
462         0, 0, 0,        /* Optional elements (not needed) */
463         -1,     /* First extension addition */
464 };
465 asn_TYPE_descriptor_t asn_DEF_UnsuccessfulOutcome = {
466         "UnsuccessfulOutcome",
467         "UnsuccessfulOutcome",
468         &asn_OP_SEQUENCE,
469         asn_DEF_UnsuccessfulOutcome_tags_1,
470         sizeof(asn_DEF_UnsuccessfulOutcome_tags_1)
471                 /sizeof(asn_DEF_UnsuccessfulOutcome_tags_1[0]), /* 1 */
472         asn_DEF_UnsuccessfulOutcome_tags_1,     /* Same as above */
473         sizeof(asn_DEF_UnsuccessfulOutcome_tags_1)
474                 /sizeof(asn_DEF_UnsuccessfulOutcome_tags_1[0]), /* 1 */
475         { 0, 0, SEQUENCE_constraint },
476         asn_MBR_UnsuccessfulOutcome_1,
477         3,      /* Elements count */
478         &asn_SPC_UnsuccessfulOutcome_specs_1    /* Additional specs */
479 };
480