[Epic-ID: ODUHIGH-510][Task-ID: ODUHIGH-511] E2AP version upgrade from V2.00 to V3.00
[o-du/l2.git] / src / codec_utils / E2AP / UnsuccessfulOutcomeE2.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-PDU-Descriptions"
4  *      found in "../../ASN1_Input/E2APV0300.asn1"
5  *      `asn1c -D ../../E2_v3.0_output/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "UnsuccessfulOutcomeE2.h"
9
10 static const long asn_VAL_1_id_RICsubscription = 8;
11 static const long asn_VAL_1_reject = 0;
12 static const long asn_VAL_2_id_RICsubscriptionDelete = 9;
13 static const long asn_VAL_2_reject = 0;
14 static const long asn_VAL_3_id_RICsubscriptionModification = 14;
15 static const long asn_VAL_3_reject = 0;
16 static const long asn_VAL_4_id_RICsubscriptionModificationRequired = 15;
17 static const long asn_VAL_4_reject = 0;
18 static const long asn_VAL_5_id_RICquery = 16;
19 static const long asn_VAL_5_reject = 0;
20 static const long asn_VAL_6_id_RICserviceUpdate = 7;
21 static const long asn_VAL_6_reject = 0;
22 static const long asn_VAL_7_id_RICcontrol = 4;
23 static const long asn_VAL_7_reject = 0;
24 static const long asn_VAL_8_id_E2setup = 1;
25 static const long asn_VAL_8_reject = 0;
26 static const long asn_VAL_9_id_E2nodeConfigurationUpdate = 10;
27 static const long asn_VAL_9_reject = 0;
28 static const long asn_VAL_10_id_E2connectionUpdate = 11;
29 static const long asn_VAL_10_reject = 0;
30 static const long asn_VAL_11_id_Reset = 3;
31 static const long asn_VAL_11_reject = 0;
32 static const long asn_VAL_12_id_E2removal = 13;
33 static const long asn_VAL_12_reject = 0;
34 static const long asn_VAL_13_id_RICindication = 5;
35 static const long asn_VAL_13_ignore = 1;
36 static const long asn_VAL_14_id_RICserviceQuery = 6;
37 static const long asn_VAL_14_ignore = 1;
38 static const long asn_VAL_15_id_ErrorIndicationE2 = 2;
39 static const long asn_VAL_15_ignore = 1;
40 static const long asn_VAL_16_id_RICsubscriptionDeleteRequired = 12;
41 static const long asn_VAL_16_ignore = 1;
42 static const asn_ioc_cell_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows[] = {
43         { "&InitiatingMessageE2", aioc__type, &asn_DEF_RICsubscriptionRequest },
44         { "&SuccessfulOutcomeE2", aioc__type, &asn_DEF_RICsubscriptionResponse },
45         { "&UnsuccessfulOutcomeE2", aioc__type, &asn_DEF_RICsubscriptionFailure },
46         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_1_id_RICsubscription },
47         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_1_reject },
48         { "&InitiatingMessageE2", aioc__type, &asn_DEF_RICsubscriptionDeleteRequest },
49         { "&SuccessfulOutcomeE2", aioc__type, &asn_DEF_RICsubscriptionDeleteResponse },
50         { "&UnsuccessfulOutcomeE2", aioc__type, &asn_DEF_RICsubscriptionDeleteFailure },
51         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_2_id_RICsubscriptionDelete },
52         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_2_reject },
53         { "&InitiatingMessageE2", aioc__type, &asn_DEF_RICsubscriptionModificationRequest },
54         { "&SuccessfulOutcomeE2", aioc__type, &asn_DEF_RICsubscriptionModificationResponse },
55         { "&UnsuccessfulOutcomeE2", aioc__type, &asn_DEF_RICsubscriptionModificationFailure },
56         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_3_id_RICsubscriptionModification },
57         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_3_reject },
58         { "&InitiatingMessageE2", aioc__type, &asn_DEF_RICsubscriptionModificationRequired },
59         { "&SuccessfulOutcomeE2", aioc__type, &asn_DEF_RICsubscriptionModificationConfirm },
60         { "&UnsuccessfulOutcomeE2", aioc__type, &asn_DEF_RICsubscriptionModificationRefuse },
61         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_4_id_RICsubscriptionModificationRequired },
62         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_4_reject },
63         { "&InitiatingMessageE2", aioc__type, &asn_DEF_RICQueryRequest },
64         { "&SuccessfulOutcomeE2", aioc__type, &asn_DEF_RICQueryResponse },
65         { "&UnsuccessfulOutcomeE2", aioc__type, &asn_DEF_RICQueryFailure },
66         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_5_id_RICquery },
67         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_5_reject },
68         { "&InitiatingMessageE2", aioc__type, &asn_DEF_RICserviceUpdate },
69         { "&SuccessfulOutcomeE2", aioc__type, &asn_DEF_RICserviceUpdateAcknowledge },
70         { "&UnsuccessfulOutcomeE2", aioc__type, &asn_DEF_RICserviceUpdateFailure },
71         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_6_id_RICserviceUpdate },
72         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_6_reject },
73         { "&InitiatingMessageE2", aioc__type, &asn_DEF_RICcontrolRequest },
74         { "&SuccessfulOutcomeE2", aioc__type, &asn_DEF_RICcontrolAcknowledge },
75         { "&UnsuccessfulOutcomeE2", aioc__type, &asn_DEF_RICcontrolFailure },
76         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_7_id_RICcontrol },
77         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_7_reject },
78         { "&InitiatingMessageE2", aioc__type, &asn_DEF_E2setupRequest },
79         { "&SuccessfulOutcomeE2", aioc__type, &asn_DEF_E2setupResponse },
80         { "&UnsuccessfulOutcomeE2", aioc__type, &asn_DEF_E2setupFailure },
81         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_8_id_E2setup },
82         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_8_reject },
83         { "&InitiatingMessageE2", aioc__type, &asn_DEF_E2nodeConfigurationUpdate },
84         { "&SuccessfulOutcomeE2", aioc__type, &asn_DEF_E2nodeConfigurationUpdateAcknowledge },
85         { "&UnsuccessfulOutcomeE2", aioc__type, &asn_DEF_E2nodeConfigurationUpdateFailure },
86         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_9_id_E2nodeConfigurationUpdate },
87         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_9_reject },
88         { "&InitiatingMessageE2", aioc__type, &asn_DEF_E2connectionUpdate },
89         { "&SuccessfulOutcomeE2", aioc__type, &asn_DEF_E2connectionUpdateAcknowledge },
90         { "&UnsuccessfulOutcomeE2", aioc__type, &asn_DEF_E2connectionUpdateFailure },
91         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_10_id_E2connectionUpdate },
92         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_10_reject },
93         { "&InitiatingMessageE2", aioc__type, &asn_DEF_ResetRequestE2 },
94         { "&SuccessfulOutcomeE2", aioc__type, &asn_DEF_ResetResponseE2 },
95         { "&UnsuccessfulOutcomeE2",  },
96         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_11_id_Reset },
97         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_11_reject },
98         { "&InitiatingMessageE2", aioc__type, &asn_DEF_E2RemovalRequest },
99         { "&SuccessfulOutcomeE2", aioc__type, &asn_DEF_E2RemovalResponse },
100         { "&UnsuccessfulOutcomeE2", aioc__type, &asn_DEF_E2RemovalFailure },
101         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_12_id_E2removal },
102         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_12_reject },
103         { "&InitiatingMessageE2", aioc__type, &asn_DEF_RICindication },
104         { "&SuccessfulOutcomeE2",  },
105         { "&UnsuccessfulOutcomeE2",  },
106         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_13_id_RICindication },
107         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_13_ignore },
108         { "&InitiatingMessageE2", aioc__type, &asn_DEF_RICserviceQuery },
109         { "&SuccessfulOutcomeE2",  },
110         { "&UnsuccessfulOutcomeE2",  },
111         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_14_id_RICserviceQuery },
112         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_14_ignore },
113         { "&InitiatingMessageE2", aioc__type, &asn_DEF_ErrorIndicationE2 },
114         { "&SuccessfulOutcomeE2",  },
115         { "&UnsuccessfulOutcomeE2",  },
116         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_15_id_ErrorIndicationE2 },
117         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_15_ignore },
118         { "&InitiatingMessageE2", aioc__type, &asn_DEF_RICsubscriptionDeleteRequired },
119         { "&SuccessfulOutcomeE2",  },
120         { "&UnsuccessfulOutcomeE2",  },
121         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCodeE2, &asn_VAL_16_id_RICsubscriptionDeleteRequired },
122         { "&criticality", aioc__value, &asn_DEF_CriticalityE2, &asn_VAL_16_ignore }
123 };
124 static const asn_ioc_set_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1[] = {
125         { 16, 5, asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows }
126 };
127 static int
128 memb_procedureCode_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
129                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
130         long value;
131         
132         if(!sptr) {
133                 ASN__CTFAIL(app_key, td, sptr,
134                         "%s: value not given (%s:%d)",
135                         td->name, __FILE__, __LINE__);
136                 return -1;
137         }
138         
139         value = *(const long *)sptr;
140         
141         if((value >= 0 && value <= 255)) {
142                 /* Constraint check succeeded */
143                 return 0;
144         } else {
145                 ASN__CTFAIL(app_key, td, sptr,
146                         "%s: constraint failed (%s:%d)",
147                         td->name, __FILE__, __LINE__);
148                 return -1;
149         }
150 }
151
152 static asn_type_selector_result_t
153 select_UnsuccessfulOutcomeE2_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
154         asn_type_selector_result_t result = {0, 0};
155         const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1;
156         size_t constraining_column = 3; /* &procedureCode */
157         size_t for_column = 4; /* &criticality */
158         size_t row, presence_index = 0;
159         const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct UnsuccessfulOutcomeE2, procedureCode));
160         
161         for(row=0; row < itable->rows_count; row++) {
162             const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column];
163             const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column];
164         
165             if(type_cell->cell_kind == aioc__undefined)
166                 continue;
167         
168             presence_index++;
169             if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) {
170                 result.type_descriptor = type_cell->type_descriptor;
171                 result.presence_index = presence_index;
172                 break;
173             }
174         }
175         
176         return result;
177 }
178
179 static int
180 memb_criticality_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
181                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
182         
183         if(!sptr) {
184                 ASN__CTFAIL(app_key, td, sptr,
185                         "%s: value not given (%s:%d)",
186                         td->name, __FILE__, __LINE__);
187                 return -1;
188         }
189         
190         
191         if(1 /* No applicable constraints whatsoever */) {
192                 /* Nothing is here. See below */
193         }
194         
195         return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
196 }
197
198 static asn_type_selector_result_t
199 select_UnsuccessfulOutcomeE2_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
200         asn_type_selector_result_t result = {0, 0};
201         const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1;
202         size_t constraining_column = 3; /* &procedureCode */
203         size_t for_column = 2; /* &UnsuccessfulOutcomeE2 */
204         size_t row, presence_index = 0;
205         const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct UnsuccessfulOutcomeE2, procedureCode));
206         
207         for(row=0; row < itable->rows_count; row++) {
208             const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column];
209             const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column];
210         
211             if(type_cell->cell_kind == aioc__undefined)
212                 continue;
213         
214             presence_index++;
215             if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) {
216                 result.type_descriptor = type_cell->type_descriptor;
217                 result.presence_index = presence_index;
218                 break;
219             }
220         }
221         
222         return result;
223 }
224
225 static int
226 memb_value_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
227                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
228         
229         if(!sptr) {
230                 ASN__CTFAIL(app_key, td, sptr,
231                         "%s: value not given (%s:%d)",
232                         td->name, __FILE__, __LINE__);
233                 return -1;
234         }
235         
236         
237         if(1 /* No applicable constraints whatsoever */) {
238                 /* Nothing is here. See below */
239         }
240         
241         return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
242 }
243
244 static asn_oer_constraints_t asn_OER_memb_procedureCode_constr_2 CC_NOTUSED = {
245         { 1, 1 }        /* (0..255) */,
246         -1};
247 static asn_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = {
248         { APC_CONSTRAINED,       8,  8,  0,  255 }      /* (0..255) */,
249         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
250         0, 0    /* No PER value map */
251 };
252 static asn_oer_constraints_t asn_OER_memb_criticality_constr_3 CC_NOTUSED = {
253         { 0, 0 },
254         -1};
255 static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = {
256         { APC_CONSTRAINED,       2,  2,  0,  2 }        /* (0..2) */,
257         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
258         0, 0    /* No PER value map */
259 };
260 static asn_oer_constraints_t asn_OER_memb_value_constr_4 CC_NOTUSED = {
261         { 0, 0 },
262         -1};
263 static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = {
264         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
265         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
266         0, 0    /* No PER value map */
267 };
268 static asn_TYPE_member_t asn_MBR_value_4[] = {
269         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2__value, choice.RICsubscriptionFailure),
270                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
271                 0,
272                 &asn_DEF_RICsubscriptionFailure,
273                 0,
274                 { 0, 0, 0 },
275                 0, 0, /* No default value */
276                 "RICsubscriptionFailure"
277                 },
278         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2__value, choice.RICsubscriptionDeleteFailure),
279                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
280                 0,
281                 &asn_DEF_RICsubscriptionDeleteFailure,
282                 0,
283                 { 0, 0, 0 },
284                 0, 0, /* No default value */
285                 "RICsubscriptionDeleteFailure"
286                 },
287         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2__value, choice.RICsubscriptionModificationFailure),
288                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
289                 0,
290                 &asn_DEF_RICsubscriptionModificationFailure,
291                 0,
292                 { 0, 0, 0 },
293                 0, 0, /* No default value */
294                 "RICsubscriptionModificationFailure"
295                 },
296         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2__value, choice.RICsubscriptionModificationRefuse),
297                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
298                 0,
299                 &asn_DEF_RICsubscriptionModificationRefuse,
300                 0,
301                 { 0, 0, 0 },
302                 0, 0, /* No default value */
303                 "RICsubscriptionModificationRefuse"
304                 },
305         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2__value, choice.RICQueryFailure),
306                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
307                 0,
308                 &asn_DEF_RICQueryFailure,
309                 0,
310                 { 0, 0, 0 },
311                 0, 0, /* No default value */
312                 "RICQueryFailure"
313                 },
314         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2__value, choice.RICserviceUpdateFailure),
315                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
316                 0,
317                 &asn_DEF_RICserviceUpdateFailure,
318                 0,
319                 { 0, 0, 0 },
320                 0, 0, /* No default value */
321                 "RICserviceUpdateFailure"
322                 },
323         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2__value, choice.RICcontrolFailure),
324                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
325                 0,
326                 &asn_DEF_RICcontrolFailure,
327                 0,
328                 { 0, 0, 0 },
329                 0, 0, /* No default value */
330                 "RICcontrolFailure"
331                 },
332         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2__value, choice.E2setupFailure),
333                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
334                 0,
335                 &asn_DEF_E2setupFailure,
336                 0,
337                 { 0, 0, 0 },
338                 0, 0, /* No default value */
339                 "E2setupFailure"
340                 },
341         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2__value, choice.E2nodeConfigurationUpdateFailure),
342                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
343                 0,
344                 &asn_DEF_E2nodeConfigurationUpdateFailure,
345                 0,
346                 { 0, 0, 0 },
347                 0, 0, /* No default value */
348                 "E2nodeConfigurationUpdateFailure"
349                 },
350         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2__value, choice.E2connectionUpdateFailure),
351                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
352                 0,
353                 &asn_DEF_E2connectionUpdateFailure,
354                 0,
355                 { 0, 0, 0 },
356                 0, 0, /* No default value */
357                 "E2connectionUpdateFailure"
358                 },
359         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2__value, choice.E2RemovalFailure),
360                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
361                 0,
362                 &asn_DEF_E2RemovalFailure,
363                 0,
364                 { 0, 0, 0 },
365                 0, 0, /* No default value */
366                 "E2RemovalFailure"
367                 },
368 };
369 static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = {
370     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 10 }, /* RICsubscriptionFailure */
371     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 9 }, /* RICsubscriptionDeleteFailure */
372     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 8 }, /* RICsubscriptionModificationFailure */
373     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 7 }, /* RICsubscriptionModificationRefuse */
374     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 6 }, /* RICQueryFailure */
375     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 5 }, /* RICserviceUpdateFailure */
376     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 4 }, /* RICcontrolFailure */
377     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 3 }, /* E2setupFailure */
378     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 2 }, /* E2nodeConfigurationUpdateFailure */
379     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 9, -9, 1 }, /* E2connectionUpdateFailure */
380     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, -10, 0 } /* E2RemovalFailure */
381 };
382 static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = {
383         sizeof(struct UnsuccessfulOutcomeE2__value),
384         offsetof(struct UnsuccessfulOutcomeE2__value, _asn_ctx),
385         offsetof(struct UnsuccessfulOutcomeE2__value, present),
386         sizeof(((struct UnsuccessfulOutcomeE2__value *)0)->present),
387         asn_MAP_value_tag2el_4,
388         11,     /* Count of tags in the map */
389         0, 0,
390         -1      /* Extensions start */
391 };
392 static /* Use -fall-defs-global to expose */
393 asn_TYPE_descriptor_t asn_DEF_value_4 = {
394         "value",
395         "value",
396         &asn_OP_OPEN_TYPE,
397         0,      /* No effective tags (pointer) */
398         0,      /* No effective tags (count) */
399         0,      /* No tags (pointer) */
400         0,      /* No tags (count) */
401         { 0, 0, OPEN_TYPE_constraint },
402         asn_MBR_value_4,
403         11,     /* Elements count */
404         &asn_SPC_value_specs_4  /* Additional specs */
405 };
406
407 asn_TYPE_member_t asn_MBR_UnsuccessfulOutcomeE2_1[] = {
408         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2, procedureCode),
409                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
410                 -1,     /* IMPLICIT tag at current level */
411                 &asn_DEF_ProcedureCodeE2,
412                 0,
413                 { &asn_OER_memb_procedureCode_constr_2, &asn_PER_memb_procedureCode_constr_2,  memb_procedureCode_constraint_1 },
414                 0, 0, /* No default value */
415                 "procedureCode"
416                 },
417         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2, criticality),
418                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
419                 -1,     /* IMPLICIT tag at current level */
420                 &asn_DEF_CriticalityE2,
421                 select_UnsuccessfulOutcomeE2_criticality_type,
422                 { &asn_OER_memb_criticality_constr_3, &asn_PER_memb_criticality_constr_3,  memb_criticality_constraint_1 },
423                 0, 0, /* No default value */
424                 "criticality"
425                 },
426         { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcomeE2, value),
427                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
428                 +1,     /* EXPLICIT tag at current level */
429                 &asn_DEF_value_4,
430                 select_UnsuccessfulOutcomeE2_value_type,
431                 { &asn_OER_memb_value_constr_4, &asn_PER_memb_value_constr_4,  memb_value_constraint_1 },
432                 0, 0, /* No default value */
433                 "value"
434                 },
435 };
436 static const ber_tlv_tag_t asn_DEF_UnsuccessfulOutcomeE2_tags_1[] = {
437         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
438 };
439 static const asn_TYPE_tag2member_t asn_MAP_UnsuccessfulOutcomeE2_tag2el_1[] = {
440     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
441     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
442     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
443 };
444 asn_SEQUENCE_specifics_t asn_SPC_UnsuccessfulOutcomeE2_specs_1 = {
445         sizeof(struct UnsuccessfulOutcomeE2),
446         offsetof(struct UnsuccessfulOutcomeE2, _asn_ctx),
447         asn_MAP_UnsuccessfulOutcomeE2_tag2el_1,
448         3,      /* Count of tags in the map */
449         0, 0, 0,        /* Optional elements (not needed) */
450         -1,     /* First extension addition */
451 };
452 asn_TYPE_descriptor_t asn_DEF_UnsuccessfulOutcomeE2 = {
453         "UnsuccessfulOutcomeE2",
454         "UnsuccessfulOutcomeE2",
455         &asn_OP_SEQUENCE,
456         asn_DEF_UnsuccessfulOutcomeE2_tags_1,
457         sizeof(asn_DEF_UnsuccessfulOutcomeE2_tags_1)
458                 /sizeof(asn_DEF_UnsuccessfulOutcomeE2_tags_1[0]), /* 1 */
459         asn_DEF_UnsuccessfulOutcomeE2_tags_1,   /* Same as above */
460         sizeof(asn_DEF_UnsuccessfulOutcomeE2_tags_1)
461                 /sizeof(asn_DEF_UnsuccessfulOutcomeE2_tags_1[0]), /* 1 */
462         { 0, 0, SEQUENCE_constraint },
463         asn_MBR_UnsuccessfulOutcomeE2_1,
464         3,      /* Elements count */
465         &asn_SPC_UnsuccessfulOutcomeE2_specs_1  /* Additional specs */
466 };
467