cu link failure fix
[o-du/l2.git] / src / codec_utils / F1AP / InitiatingMessage.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 ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "InitiatingMessage.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_InitiatingMessage_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 InitiatingMessage, 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_InitiatingMessage_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 = 0; /* &InitiatingMessage */
267         size_t row, presence_index = 0;
268         const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct InitiatingMessage, 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 InitiatingMessage__value, choice.Reset),
333                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
334                 0,
335                 &asn_DEF_Reset,
336                 0,
337                 { 0, 0, 0 },
338                 0, 0, /* No default value */
339                 "Reset"
340                 },
341         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.F1SetupRequest),
342                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
343                 0,
344                 &asn_DEF_F1SetupRequest,
345                 0,
346                 { 0, 0, 0 },
347                 0, 0, /* No default value */
348                 "F1SetupRequest"
349                 },
350         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.GNBDUConfigurationUpdate),
351                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
352                 0,
353                 &asn_DEF_GNBDUConfigurationUpdate,
354                 0,
355                 { 0, 0, 0 },
356                 0, 0, /* No default value */
357                 "GNBDUConfigurationUpdate"
358                 },
359         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.GNBCUConfigurationUpdate),
360                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
361                 0,
362                 &asn_DEF_GNBCUConfigurationUpdate,
363                 0,
364                 { 0, 0, 0 },
365                 0, 0, /* No default value */
366                 "GNBCUConfigurationUpdate"
367                 },
368         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.UEContextSetupRequest),
369                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
370                 0,
371                 &asn_DEF_UEContextSetupRequest,
372                 0,
373                 { 0, 0, 0 },
374                 0, 0, /* No default value */
375                 "UEContextSetupRequest"
376                 },
377         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.UEContextReleaseCommand),
378                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
379                 0,
380                 &asn_DEF_UEContextReleaseCommand,
381                 0,
382                 { 0, 0, 0 },
383                 0, 0, /* No default value */
384                 "UEContextReleaseCommand"
385                 },
386         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.UEContextModificationRequest),
387                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
388                 0,
389                 &asn_DEF_UEContextModificationRequest,
390                 0,
391                 { 0, 0, 0 },
392                 0, 0, /* No default value */
393                 "UEContextModificationRequest"
394                 },
395         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.UEContextModificationRequired),
396                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
397                 0,
398                 &asn_DEF_UEContextModificationRequired,
399                 0,
400                 { 0, 0, 0 },
401                 0, 0, /* No default value */
402                 "UEContextModificationRequired"
403                 },
404         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.WriteReplaceWarningRequest),
405                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
406                 0,
407                 &asn_DEF_WriteReplaceWarningRequest,
408                 0,
409                 { 0, 0, 0 },
410                 0, 0, /* No default value */
411                 "WriteReplaceWarningRequest"
412                 },
413         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.PWSCancelRequest),
414                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
415                 0,
416                 &asn_DEF_PWSCancelRequest,
417                 0,
418                 { 0, 0, 0 },
419                 0, 0, /* No default value */
420                 "PWSCancelRequest"
421                 },
422         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.GNBDUResourceCoordinationRequest),
423                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
424                 0,
425                 &asn_DEF_GNBDUResourceCoordinationRequest,
426                 0,
427                 { 0, 0, 0 },
428                 0, 0, /* No default value */
429                 "GNBDUResourceCoordinationRequest"
430                 },
431         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ErrorIndication),
432                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
433                 0,
434                 &asn_DEF_ErrorIndication,
435                 0,
436                 { 0, 0, 0 },
437                 0, 0, /* No default value */
438                 "ErrorIndication"
439                 },
440         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.UEContextReleaseRequest),
441                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
442                 0,
443                 &asn_DEF_UEContextReleaseRequest,
444                 0,
445                 { 0, 0, 0 },
446                 0, 0, /* No default value */
447                 "UEContextReleaseRequest"
448                 },
449         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.DLRRCMessageTransfer),
450                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
451                 0,
452                 &asn_DEF_DLRRCMessageTransfer,
453                 0,
454                 { 0, 0, 0 },
455                 0, 0, /* No default value */
456                 "DLRRCMessageTransfer"
457                 },
458         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ULRRCMessageTransfer),
459                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
460                 0,
461                 &asn_DEF_ULRRCMessageTransfer,
462                 0,
463                 { 0, 0, 0 },
464                 0, 0, /* No default value */
465                 "ULRRCMessageTransfer"
466                 },
467         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.UEInactivityNotification),
468                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
469                 0,
470                 &asn_DEF_UEInactivityNotification,
471                 0,
472                 { 0, 0, 0 },
473                 0, 0, /* No default value */
474                 "UEInactivityNotification"
475                 },
476         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.PrivateMessage),
477                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
478                 0,
479                 &asn_DEF_PrivateMessage,
480                 0,
481                 { 0, 0, 0 },
482                 0, 0, /* No default value */
483                 "PrivateMessage"
484                 },
485         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.InitialULRRCMessageTransfer),
486                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
487                 0,
488                 &asn_DEF_InitialULRRCMessageTransfer,
489                 0,
490                 { 0, 0, 0 },
491                 0, 0, /* No default value */
492                 "InitialULRRCMessageTransfer"
493                 },
494         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.SystemInformationDeliveryCommand),
495                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
496                 0,
497                 &asn_DEF_SystemInformationDeliveryCommand,
498                 0,
499                 { 0, 0, 0 },
500                 0, 0, /* No default value */
501                 "SystemInformationDeliveryCommand"
502                 },
503         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.Paging),
504                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
505                 0,
506                 &asn_DEF_Paging,
507                 0,
508                 { 0, 0, 0 },
509                 0, 0, /* No default value */
510                 "Paging"
511                 },
512         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.Notify),
513                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
514                 0,
515                 &asn_DEF_Notify,
516                 0,
517                 { 0, 0, 0 },
518                 0, 0, /* No default value */
519                 "Notify"
520                 },
521         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.PWSRestartIndication),
522                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
523                 0,
524                 &asn_DEF_PWSRestartIndication,
525                 0,
526                 { 0, 0, 0 },
527                 0, 0, /* No default value */
528                 "PWSRestartIndication"
529                 },
530         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.PWSFailureIndication),
531                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
532                 0,
533                 &asn_DEF_PWSFailureIndication,
534                 0,
535                 { 0, 0, 0 },
536                 0, 0, /* No default value */
537                 "PWSFailureIndication"
538                 },
539         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.GNBDUStatusIndication),
540                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
541                 0,
542                 &asn_DEF_GNBDUStatusIndication,
543                 0,
544                 { 0, 0, 0 },
545                 0, 0, /* No default value */
546                 "GNBDUStatusIndication"
547                 },
548         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RRCDeliveryReport),
549                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
550                 0,
551                 &asn_DEF_RRCDeliveryReport,
552                 0,
553                 { 0, 0, 0 },
554                 0, 0, /* No default value */
555                 "RRCDeliveryReport"
556                 },
557 };
558 static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = {
559     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 24 }, /* Reset */
560     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 23 }, /* F1SetupRequest */
561     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 22 }, /* GNBDUConfigurationUpdate */
562     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 21 }, /* GNBCUConfigurationUpdate */
563     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 20 }, /* UEContextSetupRequest */
564     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 19 }, /* UEContextReleaseCommand */
565     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 18 }, /* UEContextModificationRequest */
566     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 17 }, /* UEContextModificationRequired */
567     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 16 }, /* WriteReplaceWarningRequest */
568     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 9, -9, 15 }, /* PWSCancelRequest */
569     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, -10, 14 }, /* GNBDUResourceCoordinationRequest */
570     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 11, -11, 13 }, /* ErrorIndication */
571     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 12, -12, 12 }, /* UEContextReleaseRequest */
572     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 13, -13, 11 }, /* DLRRCMessageTransfer */
573     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 14, -14, 10 }, /* ULRRCMessageTransfer */
574     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 15, -15, 9 }, /* UEInactivityNotification */
575     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 16, -16, 8 }, /* PrivateMessage */
576     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 17, -17, 7 }, /* InitialULRRCMessageTransfer */
577     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 18, -18, 6 }, /* SystemInformationDeliveryCommand */
578     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 19, -19, 5 }, /* Paging */
579     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 20, -20, 4 }, /* Notify */
580     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 21, -21, 3 }, /* PWSRestartIndication */
581     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 22, -22, 2 }, /* PWSFailureIndication */
582     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 23, -23, 1 }, /* GNBDUStatusIndication */
583     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 24, -24, 0 } /* RRCDeliveryReport */
584 };
585 static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = {
586         sizeof(struct InitiatingMessage__value),
587         offsetof(struct InitiatingMessage__value, _asn_ctx),
588         offsetof(struct InitiatingMessage__value, present),
589         sizeof(((struct InitiatingMessage__value *)0)->present),
590         asn_MAP_value_tag2el_4,
591         25,     /* Count of tags in the map */
592         0, 0,
593         -1      /* Extensions start */
594 };
595 static /* Use -fall-defs-global to expose */
596 asn_TYPE_descriptor_t asn_DEF_value_4 = {
597         "value",
598         "value",
599         &asn_OP_OPEN_TYPE,
600         0,      /* No effective tags (pointer) */
601         0,      /* No effective tags (count) */
602         0,      /* No tags (pointer) */
603         0,      /* No tags (count) */
604         { 0, 0, OPEN_TYPE_constraint },
605         asn_MBR_value_4,
606         25,     /* Elements count */
607         &asn_SPC_value_specs_4  /* Additional specs */
608 };
609
610 asn_TYPE_member_t asn_MBR_InitiatingMessage_1[] = {
611         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, procedureCode),
612                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
613                 -1,     /* IMPLICIT tag at current level */
614                 &asn_DEF_ProcedureCode,
615                 0,
616                 { &asn_OER_memb_procedureCode_constr_2, &asn_PER_memb_procedureCode_constr_2,  memb_procedureCode_constraint_1 },
617                 0, 0, /* No default value */
618                 "procedureCode"
619                 },
620         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, criticality),
621                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
622                 -1,     /* IMPLICIT tag at current level */
623                 &asn_DEF_Criticality,
624                 select_InitiatingMessage_criticality_type,
625                 { &asn_OER_memb_criticality_constr_3, &asn_PER_memb_criticality_constr_3,  memb_criticality_constraint_1 },
626                 0, 0, /* No default value */
627                 "criticality"
628                 },
629         { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, value),
630                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
631                 +1,     /* EXPLICIT tag at current level */
632                 &asn_DEF_value_4,
633                 select_InitiatingMessage_value_type,
634                 { &asn_OER_memb_value_constr_4, &asn_PER_memb_value_constr_4,  memb_value_constraint_1 },
635                 0, 0, /* No default value */
636                 "value"
637                 },
638 };
639 static const ber_tlv_tag_t asn_DEF_InitiatingMessage_tags_1[] = {
640         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
641 };
642 static const asn_TYPE_tag2member_t asn_MAP_InitiatingMessage_tag2el_1[] = {
643     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
644     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
645     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
646 };
647 asn_SEQUENCE_specifics_t asn_SPC_InitiatingMessage_specs_1 = {
648         sizeof(struct InitiatingMessage),
649         offsetof(struct InitiatingMessage, _asn_ctx),
650         asn_MAP_InitiatingMessage_tag2el_1,
651         3,      /* Count of tags in the map */
652         0, 0, 0,        /* Optional elements (not needed) */
653         -1,     /* First extension addition */
654 };
655 asn_TYPE_descriptor_t asn_DEF_InitiatingMessage = {
656         "InitiatingMessage",
657         "InitiatingMessage",
658         &asn_OP_SEQUENCE,
659         asn_DEF_InitiatingMessage_tags_1,
660         sizeof(asn_DEF_InitiatingMessage_tags_1)
661                 /sizeof(asn_DEF_InitiatingMessage_tags_1[0]), /* 1 */
662         asn_DEF_InitiatingMessage_tags_1,       /* Same as above */
663         sizeof(asn_DEF_InitiatingMessage_tags_1)
664                 /sizeof(asn_DEF_InitiatingMessage_tags_1[0]), /* 1 */
665         { 0, 0, SEQUENCE_constraint },
666         asn_MBR_InitiatingMessage_1,
667         3,      /* Elements count */
668         &asn_SPC_InitiatingMessage_specs_1      /* Additional specs */
669 };
670