SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / InitiatingMessage.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-PDU-Descriptions"
4  *      found in "e2ap-epd-v03.01.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
6  */
7
8 #include "InitiatingMessage.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_ErrorIndication = 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         { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionRequest },
44         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionResponse },
45         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionFailure },
46         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_1_id_RICsubscription },
47         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_1_reject },
48         { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionDeleteRequest },
49         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteResponse },
50         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteFailure },
51         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_2_id_RICsubscriptionDelete },
52         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_2_reject },
53         { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionModificationRequest },
54         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionModificationResponse },
55         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionModificationFailure },
56         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_3_id_RICsubscriptionModification },
57         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject },
58         { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionModificationRequired },
59         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionModificationConfirm },
60         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionModificationRefuse },
61         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_4_id_RICsubscriptionModificationRequired },
62         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_reject },
63         { "&InitiatingMessage", aioc__type, &asn_DEF_RICQueryRequest },
64         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICQueryResponse },
65         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICQueryFailure },
66         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_5_id_RICquery },
67         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_5_reject },
68         { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceUpdate },
69         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateAcknowledge },
70         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateFailure },
71         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_6_id_RICserviceUpdate },
72         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_6_reject },
73         { "&InitiatingMessage", aioc__type, &asn_DEF_RICcontrolRequest },
74         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolAcknowledge },
75         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolFailure },
76         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_7_id_RICcontrol },
77         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_reject },
78         { "&InitiatingMessage", aioc__type, &asn_DEF_E2setupRequest },
79         { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2setupResponse },
80         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2setupFailure },
81         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_8_id_E2setup },
82         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_reject },
83         { "&InitiatingMessage", aioc__type, &asn_DEF_E2nodeConfigurationUpdate },
84         { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2nodeConfigurationUpdateAcknowledge },
85         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2nodeConfigurationUpdateFailure },
86         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_9_id_E2nodeConfigurationUpdate },
87         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_reject },
88         { "&InitiatingMessage", aioc__type, &asn_DEF_E2connectionUpdate },
89         { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2connectionUpdateAcknowledge },
90         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2connectionUpdateFailure },
91         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_10_id_E2connectionUpdate },
92         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_10_reject },
93         { "&InitiatingMessage", aioc__type, &asn_DEF_ResetRequest },
94         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResetResponse },
95         { "&UnsuccessfulOutcome",  },
96         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_11_id_Reset },
97         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_11_reject },
98         { "&InitiatingMessage", aioc__type, &asn_DEF_E2RemovalRequest },
99         { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2RemovalResponse },
100         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2RemovalFailure },
101         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_12_id_E2removal },
102         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_12_reject },
103         { "&InitiatingMessage", aioc__type, &asn_DEF_RICindication },
104         { "&SuccessfulOutcome",  },
105         { "&UnsuccessfulOutcome",  },
106         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_13_id_RICindication },
107         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_13_ignore },
108         { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceQuery },
109         { "&SuccessfulOutcome",  },
110         { "&UnsuccessfulOutcome",  },
111         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_14_id_RICserviceQuery },
112         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_14_ignore },
113         { "&InitiatingMessage", aioc__type, &asn_DEF_ErrorIndication },
114         { "&SuccessfulOutcome",  },
115         { "&UnsuccessfulOutcome",  },
116         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_15_id_ErrorIndication },
117         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_15_ignore },
118         { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionDeleteRequired },
119         { "&SuccessfulOutcome",  },
120         { "&UnsuccessfulOutcome",  },
121         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_16_id_RICsubscriptionDeleteRequired },
122         { "&criticality", aioc__value, &asn_DEF_Criticality, &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 >= 0L && value <= 255L)) {
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_InitiatingMessage_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 InitiatingMessage, 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_InitiatingMessage_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 = 0; /* &InitiatingMessage */
204         size_t row, presence_index = 0;
205         const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct InitiatingMessage, 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 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
245 static asn_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = {
246         { APC_CONSTRAINED,       8,  8,  0,  255 }      /* (0..255) */,
247         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
248         0, 0    /* No PER value map */
249 };
250 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
251 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
252 static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = {
253         { APC_CONSTRAINED,       2,  2,  0,  2 }        /* (0..2) */,
254         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
255         0, 0    /* No PER value map */
256 };
257 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
258 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
259 static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = {
260         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
261         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
262         0, 0    /* No PER value map */
263 };
264 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
265 static asn_TYPE_member_t asn_MBR_value_4[] = {
266         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICsubscriptionRequest),
267                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
268                 0,
269                 &asn_DEF_RICsubscriptionRequest,
270                 0,
271                 {
272 #if !defined(ASN_DISABLE_OER_SUPPORT)
273                         0,
274 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
275 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
276                         0,
277 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
278                         0
279                 },
280                 0, 0, /* No default value */
281                 "RICsubscriptionRequest"
282                 },
283         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICsubscriptionDeleteRequest),
284                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
285                 0,
286                 &asn_DEF_RICsubscriptionDeleteRequest,
287                 0,
288                 {
289 #if !defined(ASN_DISABLE_OER_SUPPORT)
290                         0,
291 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
292 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
293                         0,
294 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
295                         0
296                 },
297                 0, 0, /* No default value */
298                 "RICsubscriptionDeleteRequest"
299                 },
300         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICsubscriptionModificationRequest),
301                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
302                 0,
303                 &asn_DEF_RICsubscriptionModificationRequest,
304                 0,
305                 {
306 #if !defined(ASN_DISABLE_OER_SUPPORT)
307                         0,
308 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
309 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
310                         0,
311 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
312                         0
313                 },
314                 0, 0, /* No default value */
315                 "RICsubscriptionModificationRequest"
316                 },
317         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICsubscriptionModificationRequired),
318                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
319                 0,
320                 &asn_DEF_RICsubscriptionModificationRequired,
321                 0,
322                 {
323 #if !defined(ASN_DISABLE_OER_SUPPORT)
324                         0,
325 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
326 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
327                         0,
328 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
329                         0
330                 },
331                 0, 0, /* No default value */
332                 "RICsubscriptionModificationRequired"
333                 },
334         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICQueryRequest),
335                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
336                 0,
337                 &asn_DEF_RICQueryRequest,
338                 0,
339                 {
340 #if !defined(ASN_DISABLE_OER_SUPPORT)
341                         0,
342 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
343 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
344                         0,
345 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
346                         0
347                 },
348                 0, 0, /* No default value */
349                 "RICQueryRequest"
350                 },
351         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICserviceUpdate),
352                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
353                 0,
354                 &asn_DEF_RICserviceUpdate,
355                 0,
356                 {
357 #if !defined(ASN_DISABLE_OER_SUPPORT)
358                         0,
359 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
360 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
361                         0,
362 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
363                         0
364                 },
365                 0, 0, /* No default value */
366                 "RICserviceUpdate"
367                 },
368         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICcontrolRequest),
369                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
370                 0,
371                 &asn_DEF_RICcontrolRequest,
372                 0,
373                 {
374 #if !defined(ASN_DISABLE_OER_SUPPORT)
375                         0,
376 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
377 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
378                         0,
379 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
380                         0
381                 },
382                 0, 0, /* No default value */
383                 "RICcontrolRequest"
384                 },
385         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.E2setupRequest),
386                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
387                 0,
388                 &asn_DEF_E2setupRequest,
389                 0,
390                 {
391 #if !defined(ASN_DISABLE_OER_SUPPORT)
392                         0,
393 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
394 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
395                         0,
396 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
397                         0
398                 },
399                 0, 0, /* No default value */
400                 "E2setupRequest"
401                 },
402         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.E2nodeConfigurationUpdate),
403                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
404                 0,
405                 &asn_DEF_E2nodeConfigurationUpdate,
406                 0,
407                 {
408 #if !defined(ASN_DISABLE_OER_SUPPORT)
409                         0,
410 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
411 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
412                         0,
413 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
414                         0
415                 },
416                 0, 0, /* No default value */
417                 "E2nodeConfigurationUpdate"
418                 },
419         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.E2connectionUpdate),
420                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
421                 0,
422                 &asn_DEF_E2connectionUpdate,
423                 0,
424                 {
425 #if !defined(ASN_DISABLE_OER_SUPPORT)
426                         0,
427 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
428 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
429                         0,
430 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
431                         0
432                 },
433                 0, 0, /* No default value */
434                 "E2connectionUpdate"
435                 },
436         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ResetRequest),
437                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
438                 0,
439                 &asn_DEF_ResetRequest,
440                 0,
441                 {
442 #if !defined(ASN_DISABLE_OER_SUPPORT)
443                         0,
444 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
445 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
446                         0,
447 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
448                         0
449                 },
450                 0, 0, /* No default value */
451                 "ResetRequest"
452                 },
453         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.E2RemovalRequest),
454                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
455                 0,
456                 &asn_DEF_E2RemovalRequest,
457                 0,
458                 {
459 #if !defined(ASN_DISABLE_OER_SUPPORT)
460                         0,
461 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
462 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
463                         0,
464 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
465                         0
466                 },
467                 0, 0, /* No default value */
468                 "E2RemovalRequest"
469                 },
470         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICindication),
471                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
472                 0,
473                 &asn_DEF_RICindication,
474                 0,
475                 {
476 #if !defined(ASN_DISABLE_OER_SUPPORT)
477                         0,
478 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
479 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
480                         0,
481 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
482                         0
483                 },
484                 0, 0, /* No default value */
485                 "RICindication"
486                 },
487         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICserviceQuery),
488                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
489                 0,
490                 &asn_DEF_RICserviceQuery,
491                 0,
492                 {
493 #if !defined(ASN_DISABLE_OER_SUPPORT)
494                         0,
495 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
496 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
497                         0,
498 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
499                         0
500                 },
501                 0, 0, /* No default value */
502                 "RICserviceQuery"
503                 },
504         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ErrorIndication),
505                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
506                 0,
507                 &asn_DEF_ErrorIndication,
508                 0,
509                 {
510 #if !defined(ASN_DISABLE_OER_SUPPORT)
511                         0,
512 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
513 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
514                         0,
515 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
516                         0
517                 },
518                 0, 0, /* No default value */
519                 "ErrorIndication"
520                 },
521         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICsubscriptionDeleteRequired),
522                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
523                 0,
524                 &asn_DEF_RICsubscriptionDeleteRequired,
525                 0,
526                 {
527 #if !defined(ASN_DISABLE_OER_SUPPORT)
528                         0,
529 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
530 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
531                         0,
532 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
533                         0
534                 },
535                 0, 0, /* No default value */
536                 "RICsubscriptionDeleteRequired"
537                 },
538 };
539 static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = {
540     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 15 }, /* RICsubscriptionRequest */
541     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 14 }, /* RICsubscriptionDeleteRequest */
542     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 13 }, /* RICsubscriptionModificationRequest */
543     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 12 }, /* RICsubscriptionModificationRequired */
544     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 11 }, /* RICQueryRequest */
545     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 10 }, /* RICserviceUpdate */
546     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 9 }, /* RICcontrolRequest */
547     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 8 }, /* E2setupRequest */
548     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 7 }, /* E2nodeConfigurationUpdate */
549     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 9, -9, 6 }, /* E2connectionUpdate */
550     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, -10, 5 }, /* ResetRequest */
551     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 11, -11, 4 }, /* E2RemovalRequest */
552     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 12, -12, 3 }, /* RICindication */
553     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 13, -13, 2 }, /* RICserviceQuery */
554     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 14, -14, 1 }, /* ErrorIndication */
555     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 15, -15, 0 } /* RICsubscriptionDeleteRequired */
556 };
557 static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = {
558         sizeof(struct InitiatingMessage__value),
559         offsetof(struct InitiatingMessage__value, _asn_ctx),
560         offsetof(struct InitiatingMessage__value, present),
561         sizeof(((struct InitiatingMessage__value *)0)->present),
562         asn_MAP_value_tag2el_4,
563         16,     /* Count of tags in the map */
564         0, 0,
565         -1      /* Extensions start */
566 };
567 static /* Use -fall-defs-global to expose */
568 asn_TYPE_descriptor_t asn_DEF_value_4 = {
569         "value",
570         "value",
571         &asn_OP_OPEN_TYPE,
572         0,      /* No effective tags (pointer) */
573         0,      /* No effective tags (count) */
574         0,      /* No tags (pointer) */
575         0,      /* No tags (count) */
576         {
577 #if !defined(ASN_DISABLE_OER_SUPPORT)
578                 0,
579 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
580 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
581                 0,
582 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
583                 OPEN_TYPE_constraint
584         },
585         asn_MBR_value_4,
586         16,     /* Elements count */
587         &asn_SPC_value_specs_4  /* Additional specs */
588 };
589
590 asn_TYPE_member_t asn_MBR_InitiatingMessage_1[] = {
591         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, procedureCode),
592                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
593                 -1,     /* IMPLICIT tag at current level */
594                 &asn_DEF_ProcedureCode,
595                 0,
596                 {
597 #if !defined(ASN_DISABLE_OER_SUPPORT)
598                         0,
599 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
600 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
601                         &asn_PER_memb_procedureCode_constr_2,
602 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
603                         memb_procedureCode_constraint_1
604                 },
605                 0, 0, /* No default value */
606                 "procedureCode"
607                 },
608         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, criticality),
609                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
610                 -1,     /* IMPLICIT tag at current level */
611                 &asn_DEF_Criticality,
612                 select_InitiatingMessage_criticality_type,
613                 {
614 #if !defined(ASN_DISABLE_OER_SUPPORT)
615                         0,
616 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
617 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
618                         &asn_PER_memb_criticality_constr_3,
619 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
620                         memb_criticality_constraint_1
621                 },
622                 0, 0, /* No default value */
623                 "criticality"
624                 },
625         { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, value),
626                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
627                 +1,     /* EXPLICIT tag at current level */
628                 &asn_DEF_value_4,
629                 select_InitiatingMessage_value_type,
630                 {
631 #if !defined(ASN_DISABLE_OER_SUPPORT)
632                         0,
633 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
634 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
635                         &asn_PER_memb_value_constr_4,
636 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
637                         memb_value_constraint_1
638                 },
639                 0, 0, /* No default value */
640                 "value"
641                 },
642 };
643 static const ber_tlv_tag_t asn_DEF_InitiatingMessage_tags_1[] = {
644         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
645 };
646 static const asn_TYPE_tag2member_t asn_MAP_InitiatingMessage_tag2el_1[] = {
647     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
648     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
649     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
650 };
651 asn_SEQUENCE_specifics_t asn_SPC_InitiatingMessage_specs_1 = {
652         sizeof(struct InitiatingMessage),
653         offsetof(struct InitiatingMessage, _asn_ctx),
654         asn_MAP_InitiatingMessage_tag2el_1,
655         3,      /* Count of tags in the map */
656         0, 0, 0,        /* Optional elements (not needed) */
657         -1,     /* First extension addition */
658 };
659 asn_TYPE_descriptor_t asn_DEF_InitiatingMessage = {
660         "InitiatingMessage",
661         "InitiatingMessage",
662         &asn_OP_SEQUENCE,
663         asn_DEF_InitiatingMessage_tags_1,
664         sizeof(asn_DEF_InitiatingMessage_tags_1)
665                 /sizeof(asn_DEF_InitiatingMessage_tags_1[0]), /* 1 */
666         asn_DEF_InitiatingMessage_tags_1,       /* Same as above */
667         sizeof(asn_DEF_InitiatingMessage_tags_1)
668                 /sizeof(asn_DEF_InitiatingMessage_tags_1[0]), /* 1 */
669         {
670 #if !defined(ASN_DISABLE_OER_SUPPORT)
671                 0,
672 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
673 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
674                 0,
675 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
676                 SEQUENCE_constraint
677         },
678         asn_MBR_InitiatingMessage_1,
679         3,      /* Elements count */
680         &asn_SPC_InitiatingMessage_specs_1      /* Additional specs */
681 };
682