[Epic-ID: ODUHIGH-488][Task-ID: ODUHIGH-492] WG8 Alignment [DCI Information]
[o-du/l2.git] / src / codec_utils / F1AP / SuccessfulOutcome.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 "SuccessfulOutcome.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_SuccessfulOutcome_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 SuccessfulOutcome, 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_SuccessfulOutcome_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 = 1; /* &SuccessfulOutcome */
267         size_t row, presence_index = 0;
268         const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct SuccessfulOutcome, 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 SuccessfulOutcome__value, choice.ResetAcknowledge),
333                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
334                 0,
335                 &asn_DEF_ResetAcknowledge,
336                 0,
337                 { 0, 0, 0 },
338                 0, 0, /* No default value */
339                 "ResetAcknowledge"
340                 },
341         { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.F1SetupResponse),
342                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
343                 0,
344                 &asn_DEF_F1SetupResponse,
345                 0,
346                 { 0, 0, 0 },
347                 0, 0, /* No default value */
348                 "F1SetupResponse"
349                 },
350         { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.GNBDUConfigurationUpdateAcknowledge),
351                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
352                 0,
353                 &asn_DEF_GNBDUConfigurationUpdateAcknowledge,
354                 0,
355                 { 0, 0, 0 },
356                 0, 0, /* No default value */
357                 "GNBDUConfigurationUpdateAcknowledge"
358                 },
359         { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.GNBCUConfigurationUpdateAcknowledge),
360                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
361                 0,
362                 &asn_DEF_GNBCUConfigurationUpdateAcknowledge,
363                 0,
364                 { 0, 0, 0 },
365                 0, 0, /* No default value */
366                 "GNBCUConfigurationUpdateAcknowledge"
367                 },
368         { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.UEContextSetupResponse),
369                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
370                 0,
371                 &asn_DEF_UEContextSetupResponse,
372                 0,
373                 { 0, 0, 0 },
374                 0, 0, /* No default value */
375                 "UEContextSetupResponse"
376                 },
377         { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.UEContextReleaseComplete),
378                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
379                 0,
380                 &asn_DEF_UEContextReleaseComplete,
381                 0,
382                 { 0, 0, 0 },
383                 0, 0, /* No default value */
384                 "UEContextReleaseComplete"
385                 },
386         { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.UEContextModificationResponse),
387                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
388                 0,
389                 &asn_DEF_UEContextModificationResponse,
390                 0,
391                 { 0, 0, 0 },
392                 0, 0, /* No default value */
393                 "UEContextModificationResponse"
394                 },
395         { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.UEContextModificationConfirm),
396                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
397                 0,
398                 &asn_DEF_UEContextModificationConfirm,
399                 0,
400                 { 0, 0, 0 },
401                 0, 0, /* No default value */
402                 "UEContextModificationConfirm"
403                 },
404         { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.WriteReplaceWarningResponse),
405                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
406                 0,
407                 &asn_DEF_WriteReplaceWarningResponse,
408                 0,
409                 { 0, 0, 0 },
410                 0, 0, /* No default value */
411                 "WriteReplaceWarningResponse"
412                 },
413         { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.PWSCancelResponse),
414                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
415                 0,
416                 &asn_DEF_PWSCancelResponse,
417                 0,
418                 { 0, 0, 0 },
419                 0, 0, /* No default value */
420                 "PWSCancelResponse"
421                 },
422         { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.GNBDUResourceCoordinationResponse),
423                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
424                 0,
425                 &asn_DEF_GNBDUResourceCoordinationResponse,
426                 0,
427                 { 0, 0, 0 },
428                 0, 0, /* No default value */
429                 "GNBDUResourceCoordinationResponse"
430                 },
431 };
432 static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = {
433     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 10 }, /* ResetAcknowledge */
434     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 9 }, /* F1SetupResponse */
435     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 8 }, /* GNBDUConfigurationUpdateAcknowledge */
436     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 7 }, /* GNBCUConfigurationUpdateAcknowledge */
437     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 6 }, /* UEContextSetupResponse */
438     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 5 }, /* UEContextReleaseComplete */
439     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 4 }, /* UEContextModificationResponse */
440     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 3 }, /* UEContextModificationConfirm */
441     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 2 }, /* WriteReplaceWarningResponse */
442     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 9, -9, 1 }, /* PWSCancelResponse */
443     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, -10, 0 } /* GNBDUResourceCoordinationResponse */
444 };
445 static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = {
446         sizeof(struct SuccessfulOutcome__value),
447         offsetof(struct SuccessfulOutcome__value, _asn_ctx),
448         offsetof(struct SuccessfulOutcome__value, present),
449         sizeof(((struct SuccessfulOutcome__value *)0)->present),
450         asn_MAP_value_tag2el_4,
451         11,     /* Count of tags in the map */
452         0, 0,
453         -1      /* Extensions start */
454 };
455 static /* Use -fall-defs-global to expose */
456 asn_TYPE_descriptor_t asn_DEF_value_4 = {
457         "value",
458         "value",
459         &asn_OP_OPEN_TYPE,
460         0,      /* No effective tags (pointer) */
461         0,      /* No effective tags (count) */
462         0,      /* No tags (pointer) */
463         0,      /* No tags (count) */
464         { 0, 0, OPEN_TYPE_constraint },
465         asn_MBR_value_4,
466         11,     /* Elements count */
467         &asn_SPC_value_specs_4  /* Additional specs */
468 };
469
470 asn_TYPE_member_t asn_MBR_SuccessfulOutcome_1[] = {
471         { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome, procedureCode),
472                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
473                 -1,     /* IMPLICIT tag at current level */
474                 &asn_DEF_ProcedureCode,
475                 0,
476                 { &asn_OER_memb_procedureCode_constr_2, &asn_PER_memb_procedureCode_constr_2,  memb_procedureCode_constraint_1 },
477                 0, 0, /* No default value */
478                 "procedureCode"
479                 },
480         { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome, criticality),
481                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
482                 -1,     /* IMPLICIT tag at current level */
483                 &asn_DEF_Criticality,
484                 select_SuccessfulOutcome_criticality_type,
485                 { &asn_OER_memb_criticality_constr_3, &asn_PER_memb_criticality_constr_3,  memb_criticality_constraint_1 },
486                 0, 0, /* No default value */
487                 "criticality"
488                 },
489         { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome, value),
490                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
491                 +1,     /* EXPLICIT tag at current level */
492                 &asn_DEF_value_4,
493                 select_SuccessfulOutcome_value_type,
494                 { &asn_OER_memb_value_constr_4, &asn_PER_memb_value_constr_4,  memb_value_constraint_1 },
495                 0, 0, /* No default value */
496                 "value"
497                 },
498 };
499 static const ber_tlv_tag_t asn_DEF_SuccessfulOutcome_tags_1[] = {
500         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
501 };
502 static const asn_TYPE_tag2member_t asn_MAP_SuccessfulOutcome_tag2el_1[] = {
503     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
504     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
505     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
506 };
507 asn_SEQUENCE_specifics_t asn_SPC_SuccessfulOutcome_specs_1 = {
508         sizeof(struct SuccessfulOutcome),
509         offsetof(struct SuccessfulOutcome, _asn_ctx),
510         asn_MAP_SuccessfulOutcome_tag2el_1,
511         3,      /* Count of tags in the map */
512         0, 0, 0,        /* Optional elements (not needed) */
513         -1,     /* First extension addition */
514 };
515 asn_TYPE_descriptor_t asn_DEF_SuccessfulOutcome = {
516         "SuccessfulOutcome",
517         "SuccessfulOutcome",
518         &asn_OP_SEQUENCE,
519         asn_DEF_SuccessfulOutcome_tags_1,
520         sizeof(asn_DEF_SuccessfulOutcome_tags_1)
521                 /sizeof(asn_DEF_SuccessfulOutcome_tags_1[0]), /* 1 */
522         asn_DEF_SuccessfulOutcome_tags_1,       /* Same as above */
523         sizeof(asn_DEF_SuccessfulOutcome_tags_1)
524                 /sizeof(asn_DEF_SuccessfulOutcome_tags_1[0]), /* 1 */
525         { 0, 0, SEQUENCE_constraint },
526         asn_MBR_SuccessfulOutcome_1,
527         3,      /* Elements count */
528         &asn_SPC_SuccessfulOutcome_specs_1      /* Additional specs */
529 };
530