[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 / InitiatingMessageE2.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 "InitiatingMessageE2.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_InitiatingMessageE2_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 InitiatingMessageE2, 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_InitiatingMessageE2_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; /* &InitiatingMessageE2 */
204         size_t row, presence_index = 0;
205         const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct InitiatingMessageE2, 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 InitiatingMessageE2__value, choice.RICsubscriptionRequest),
270                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
271                 0,
272                 &asn_DEF_RICsubscriptionRequest,
273                 0,
274                 { 0, 0, 0 },
275                 0, 0, /* No default value */
276                 "RICsubscriptionRequest"
277                 },
278         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.RICsubscriptionDeleteRequest),
279                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
280                 0,
281                 &asn_DEF_RICsubscriptionDeleteRequest,
282                 0,
283                 { 0, 0, 0 },
284                 0, 0, /* No default value */
285                 "RICsubscriptionDeleteRequest"
286                 },
287         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.RICsubscriptionModificationRequest),
288                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
289                 0,
290                 &asn_DEF_RICsubscriptionModificationRequest,
291                 0,
292                 { 0, 0, 0 },
293                 0, 0, /* No default value */
294                 "RICsubscriptionModificationRequest"
295                 },
296         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.RICsubscriptionModificationRequired),
297                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
298                 0,
299                 &asn_DEF_RICsubscriptionModificationRequired,
300                 0,
301                 { 0, 0, 0 },
302                 0, 0, /* No default value */
303                 "RICsubscriptionModificationRequired"
304                 },
305         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.RICQueryRequest),
306                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
307                 0,
308                 &asn_DEF_RICQueryRequest,
309                 0,
310                 { 0, 0, 0 },
311                 0, 0, /* No default value */
312                 "RICQueryRequest"
313                 },
314         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.RICserviceUpdate),
315                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
316                 0,
317                 &asn_DEF_RICserviceUpdate,
318                 0,
319                 { 0, 0, 0 },
320                 0, 0, /* No default value */
321                 "RICserviceUpdate"
322                 },
323         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.RICcontrolRequest),
324                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
325                 0,
326                 &asn_DEF_RICcontrolRequest,
327                 0,
328                 { 0, 0, 0 },
329                 0, 0, /* No default value */
330                 "RICcontrolRequest"
331                 },
332         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.E2setupRequest),
333                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
334                 0,
335                 &asn_DEF_E2setupRequest,
336                 0,
337                 { 0, 0, 0 },
338                 0, 0, /* No default value */
339                 "E2setupRequest"
340                 },
341         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.E2nodeConfigurationUpdate),
342                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
343                 0,
344                 &asn_DEF_E2nodeConfigurationUpdate,
345                 0,
346                 { 0, 0, 0 },
347                 0, 0, /* No default value */
348                 "E2nodeConfigurationUpdate"
349                 },
350         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.E2connectionUpdate),
351                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
352                 0,
353                 &asn_DEF_E2connectionUpdate,
354                 0,
355                 { 0, 0, 0 },
356                 0, 0, /* No default value */
357                 "E2connectionUpdate"
358                 },
359         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.ResetRequestE2),
360                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
361                 0,
362                 &asn_DEF_ResetRequestE2,
363                 0,
364                 { 0, 0, 0 },
365                 0, 0, /* No default value */
366                 "ResetRequestE2"
367                 },
368         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.E2RemovalRequest),
369                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
370                 0,
371                 &asn_DEF_E2RemovalRequest,
372                 0,
373                 { 0, 0, 0 },
374                 0, 0, /* No default value */
375                 "E2RemovalRequest"
376                 },
377         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.RICindication),
378                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
379                 0,
380                 &asn_DEF_RICindication,
381                 0,
382                 { 0, 0, 0 },
383                 0, 0, /* No default value */
384                 "RICindication"
385                 },
386         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.RICserviceQuery),
387                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
388                 0,
389                 &asn_DEF_RICserviceQuery,
390                 0,
391                 { 0, 0, 0 },
392                 0, 0, /* No default value */
393                 "RICserviceQuery"
394                 },
395         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.ErrorIndicationE2),
396                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
397                 0,
398                 &asn_DEF_ErrorIndicationE2,
399                 0,
400                 { 0, 0, 0 },
401                 0, 0, /* No default value */
402                 "ErrorIndicationE2"
403                 },
404         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2__value, choice.RICsubscriptionDeleteRequired),
405                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
406                 0,
407                 &asn_DEF_RICsubscriptionDeleteRequired,
408                 0,
409                 { 0, 0, 0 },
410                 0, 0, /* No default value */
411                 "RICsubscriptionDeleteRequired"
412                 },
413 };
414 static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = {
415     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 15 }, /* RICsubscriptionRequest */
416     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 14 }, /* RICsubscriptionDeleteRequest */
417     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 13 }, /* RICsubscriptionModificationRequest */
418     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 12 }, /* RICsubscriptionModificationRequired */
419     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 11 }, /* RICQueryRequest */
420     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 10 }, /* RICserviceUpdate */
421     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 9 }, /* RICcontrolRequest */
422     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 8 }, /* E2setupRequest */
423     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 7 }, /* E2nodeConfigurationUpdate */
424     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 9, -9, 6 }, /* E2connectionUpdate */
425     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, -10, 5 }, /* ResetRequestE2 */
426     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 11, -11, 4 }, /* E2RemovalRequest */
427     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 12, -12, 3 }, /* RICindication */
428     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 13, -13, 2 }, /* RICserviceQuery */
429     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 14, -14, 1 }, /* ErrorIndicationE2 */
430     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 15, -15, 0 } /* RICsubscriptionDeleteRequired */
431 };
432 static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = {
433         sizeof(struct InitiatingMessageE2__value),
434         offsetof(struct InitiatingMessageE2__value, _asn_ctx),
435         offsetof(struct InitiatingMessageE2__value, present),
436         sizeof(((struct InitiatingMessageE2__value *)0)->present),
437         asn_MAP_value_tag2el_4,
438         16,     /* Count of tags in the map */
439         0, 0,
440         -1      /* Extensions start */
441 };
442 static /* Use -fall-defs-global to expose */
443 asn_TYPE_descriptor_t asn_DEF_value_4 = {
444         "value",
445         "value",
446         &asn_OP_OPEN_TYPE,
447         0,      /* No effective tags (pointer) */
448         0,      /* No effective tags (count) */
449         0,      /* No tags (pointer) */
450         0,      /* No tags (count) */
451         { 0, 0, OPEN_TYPE_constraint },
452         asn_MBR_value_4,
453         16,     /* Elements count */
454         &asn_SPC_value_specs_4  /* Additional specs */
455 };
456
457 asn_TYPE_member_t asn_MBR_InitiatingMessageE2_1[] = {
458         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2, procedureCode),
459                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
460                 -1,     /* IMPLICIT tag at current level */
461                 &asn_DEF_ProcedureCodeE2,
462                 0,
463                 { &asn_OER_memb_procedureCode_constr_2, &asn_PER_memb_procedureCode_constr_2,  memb_procedureCode_constraint_1 },
464                 0, 0, /* No default value */
465                 "procedureCode"
466                 },
467         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2, criticality),
468                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
469                 -1,     /* IMPLICIT tag at current level */
470                 &asn_DEF_CriticalityE2,
471                 select_InitiatingMessageE2_criticality_type,
472                 { &asn_OER_memb_criticality_constr_3, &asn_PER_memb_criticality_constr_3,  memb_criticality_constraint_1 },
473                 0, 0, /* No default value */
474                 "criticality"
475                 },
476         { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct InitiatingMessageE2, value),
477                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
478                 +1,     /* EXPLICIT tag at current level */
479                 &asn_DEF_value_4,
480                 select_InitiatingMessageE2_value_type,
481                 { &asn_OER_memb_value_constr_4, &asn_PER_memb_value_constr_4,  memb_value_constraint_1 },
482                 0, 0, /* No default value */
483                 "value"
484                 },
485 };
486 static const ber_tlv_tag_t asn_DEF_InitiatingMessageE2_tags_1[] = {
487         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
488 };
489 static const asn_TYPE_tag2member_t asn_MAP_InitiatingMessageE2_tag2el_1[] = {
490     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
491     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
492     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
493 };
494 asn_SEQUENCE_specifics_t asn_SPC_InitiatingMessageE2_specs_1 = {
495         sizeof(struct InitiatingMessageE2),
496         offsetof(struct InitiatingMessageE2, _asn_ctx),
497         asn_MAP_InitiatingMessageE2_tag2el_1,
498         3,      /* Count of tags in the map */
499         0, 0, 0,        /* Optional elements (not needed) */
500         -1,     /* First extension addition */
501 };
502 asn_TYPE_descriptor_t asn_DEF_InitiatingMessageE2 = {
503         "InitiatingMessageE2",
504         "InitiatingMessageE2",
505         &asn_OP_SEQUENCE,
506         asn_DEF_InitiatingMessageE2_tags_1,
507         sizeof(asn_DEF_InitiatingMessageE2_tags_1)
508                 /sizeof(asn_DEF_InitiatingMessageE2_tags_1[0]), /* 1 */
509         asn_DEF_InitiatingMessageE2_tags_1,     /* Same as above */
510         sizeof(asn_DEF_InitiatingMessageE2_tags_1)
511                 /sizeof(asn_DEF_InitiatingMessageE2_tags_1[0]), /* 1 */
512         { 0, 0, SEQUENCE_constraint },
513         asn_MBR_InitiatingMessageE2_1,
514         3,      /* Elements count */
515         &asn_SPC_InitiatingMessageE2_specs_1    /* Additional specs */
516 };
517