e830a84afed03269489da7846142fc3019dbb6a3
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / InitiatingMessage.c
1 /*
2  * Copyright 2019 AT&T Intellectual Property
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 /*
18  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19  * platform project (RICP).
20  */
21
22
23
24 /*
25  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
26  * From ASN.1 module "E2AP-PDU-Descriptions"
27  *      found in "../../asnFiles/e2ap-v031.asn"
28  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
29  */
30
31 #include "InitiatingMessage.h"
32
33 static const long asn_VAL_1_id_ricSubscription = 201;
34 static const long asn_VAL_1_reject = 0;
35 static const long asn_VAL_2_id_ricSubscriptionDelete = 202;
36 static const long asn_VAL_2_reject = 0;
37 static const long asn_VAL_3_id_ricServiceUpdate = 203;
38 static const long asn_VAL_3_reject = 0;
39 static const long asn_VAL_4_id_ricControl = 204;
40 static const long asn_VAL_4_reject = 0;
41 static const long asn_VAL_5_id_x2Setup = 6;
42 static const long asn_VAL_5_reject = 0;
43 static const long asn_VAL_6_id_endcX2Setup = 36;
44 static const long asn_VAL_6_reject = 0;
45 static const long asn_VAL_7_id_resourceStatusReportingInitiation = 9;
46 static const long asn_VAL_7_reject = 0;
47 static const long asn_VAL_8_id_eNBConfigurationUpdate = 8;
48 static const long asn_VAL_8_reject = 0;
49 static const long asn_VAL_9_id_endcConfigurationUpdate = 37;
50 static const long asn_VAL_9_reject = 0;
51 static const long asn_VAL_10_id_reset = 7;
52 static const long asn_VAL_10_reject = 0;
53 static const long asn_VAL_11_id_ricIndication = 205;
54 static const long asn_VAL_11_ignore = 1;
55 static const long asn_VAL_12_id_ricServiceQuery = 206;
56 static const long asn_VAL_12_ignore = 1;
57 static const long asn_VAL_13_id_loadIndication = 2;
58 static const long asn_VAL_13_ignore = 1;
59 static const long asn_VAL_14_id_gNBStatusIndication = 45;
60 static const long asn_VAL_14_ignore = 1;
61 static const long asn_VAL_15_id_resourceStatusReporting = 10;
62 static const long asn_VAL_15_ignore = 1;
63 static const long asn_VAL_16_id_errorIndication = 3;
64 static const long asn_VAL_16_ignore = 1;
65 static const asn_ioc_cell_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows[] = {
66         { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionRequest },
67         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionResponse },
68         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionFailure },
69         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_1_id_ricSubscription },
70         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_1_reject },
71         { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionDeleteRequest },
72         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteResponse },
73         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteFailure },
74         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_2_id_ricSubscriptionDelete },
75         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_2_reject },
76         { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceUpdate },
77         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateAcknowledge },
78         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateFailure },
79         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_3_id_ricServiceUpdate },
80         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject },
81         { "&InitiatingMessage", aioc__type, &asn_DEF_RICcontrolRequest },
82         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolAcknowledge },
83         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolFailure },
84         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_4_id_ricControl },
85         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_reject },
86         { "&InitiatingMessage", aioc__type, &asn_DEF_X2SetupRequest },
87         { "&SuccessfulOutcome", aioc__type, &asn_DEF_X2SetupResponse },
88         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_X2SetupFailure },
89         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_5_id_x2Setup },
90         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_5_reject },
91         { "&InitiatingMessage", aioc__type, &asn_DEF_ENDCX2SetupRequest },
92         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ENDCX2SetupResponse },
93         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_ENDCX2SetupFailure },
94         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_6_id_endcX2Setup },
95         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_6_reject },
96         { "&InitiatingMessage", aioc__type, &asn_DEF_ResourceStatusRequest },
97         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResourceStatusResponse },
98         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_ResourceStatusFailure },
99         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_7_id_resourceStatusReportingInitiation },
100         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_reject },
101         { "&InitiatingMessage", aioc__type, &asn_DEF_ENBConfigurationUpdate },
102         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ENBConfigurationUpdateAcknowledge },
103         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_ENBConfigurationUpdateFailure },
104         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_8_id_eNBConfigurationUpdate },
105         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_reject },
106         { "&InitiatingMessage", aioc__type, &asn_DEF_ENDCConfigurationUpdate },
107         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ENDCConfigurationUpdateAcknowledge },
108         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_ENDCConfigurationUpdateFailure },
109         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_9_id_endcConfigurationUpdate },
110         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_reject },
111         { "&InitiatingMessage", aioc__type, &asn_DEF_ResetRequest },
112         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResetResponse },
113         { "&UnsuccessfulOutcome",  },
114         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_10_id_reset },
115         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_10_reject },
116         { "&InitiatingMessage", aioc__type, &asn_DEF_RICindication },
117         { "&SuccessfulOutcome",  },
118         { "&UnsuccessfulOutcome",  },
119         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_11_id_ricIndication },
120         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_11_ignore },
121         { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceQuery },
122         { "&SuccessfulOutcome",  },
123         { "&UnsuccessfulOutcome",  },
124         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_12_id_ricServiceQuery },
125         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_12_ignore },
126         { "&InitiatingMessage", aioc__type, &asn_DEF_LoadInformation },
127         { "&SuccessfulOutcome",  },
128         { "&UnsuccessfulOutcome",  },
129         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_13_id_loadIndication },
130         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_13_ignore },
131         { "&InitiatingMessage", aioc__type, &asn_DEF_GNBStatusIndication },
132         { "&SuccessfulOutcome",  },
133         { "&UnsuccessfulOutcome",  },
134         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_14_id_gNBStatusIndication },
135         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_14_ignore },
136         { "&InitiatingMessage", aioc__type, &asn_DEF_ResourceStatusUpdate },
137         { "&SuccessfulOutcome",  },
138         { "&UnsuccessfulOutcome",  },
139         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_15_id_resourceStatusReporting },
140         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_15_ignore },
141         { "&InitiatingMessage", aioc__type, &asn_DEF_ErrorIndication },
142         { "&SuccessfulOutcome",  },
143         { "&UnsuccessfulOutcome",  },
144         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_16_id_errorIndication },
145         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_16_ignore }
146 };
147 static const asn_ioc_set_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1[] = {
148         { 16, 5, asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows }
149 };
150 static int
151 memb_procedureCode_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
152                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
153         long value;
154         
155         if(!sptr) {
156                 ASN__CTFAIL(app_key, td, sptr,
157                         "%s: value not given (%s:%d)",
158                         td->name, __FILE__, __LINE__);
159                 return -1;
160         }
161         
162         value = *(const long *)sptr;
163         
164         if((value >= 0 && value <= 255)) {
165                 /* Constraint check succeeded */
166                 return 0;
167         } else {
168                 ASN__CTFAIL(app_key, td, sptr,
169                         "%s: constraint failed (%s:%d)",
170                         td->name, __FILE__, __LINE__);
171                 return -1;
172         }
173 }
174
175 static asn_type_selector_result_t
176 select_InitiatingMessage_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
177         asn_type_selector_result_t result = {0, 0};
178         const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1;
179         size_t constraining_column = 3; /* &procedureCode */
180         size_t for_column = 4; /* &criticality */
181         size_t row, presence_index = 0;
182         const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct InitiatingMessage, procedureCode));
183         
184         for(row=0; row < itable->rows_count; row++) {
185             const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column];
186             const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column];
187         
188             if(type_cell->cell_kind == aioc__undefined)
189                 continue;
190         
191             presence_index++;
192             if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) {
193                 result.type_descriptor = type_cell->type_descriptor;
194                 result.presence_index = presence_index;
195                 break;
196             }
197         }
198         
199         return result;
200 }
201
202 static int
203 memb_criticality_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
204                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
205         
206         if(!sptr) {
207                 ASN__CTFAIL(app_key, td, sptr,
208                         "%s: value not given (%s:%d)",
209                         td->name, __FILE__, __LINE__);
210                 return -1;
211         }
212         
213         
214         if(1 /* No applicable constraints whatsoever */) {
215                 /* Nothing is here. See below */
216         }
217         
218         return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
219 }
220
221 static asn_type_selector_result_t
222 select_InitiatingMessage_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
223         asn_type_selector_result_t result = {0, 0};
224         const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1;
225         size_t constraining_column = 3; /* &procedureCode */
226         size_t for_column = 0; /* &InitiatingMessage */
227         size_t row, presence_index = 0;
228         const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct InitiatingMessage, procedureCode));
229         
230         for(row=0; row < itable->rows_count; row++) {
231             const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column];
232             const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column];
233         
234             if(type_cell->cell_kind == aioc__undefined)
235                 continue;
236         
237             presence_index++;
238             if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) {
239                 result.type_descriptor = type_cell->type_descriptor;
240                 result.presence_index = presence_index;
241                 break;
242             }
243         }
244         
245         return result;
246 }
247
248 static int
249 memb_value_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
250                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
251         
252         if(!sptr) {
253                 ASN__CTFAIL(app_key, td, sptr,
254                         "%s: value not given (%s:%d)",
255                         td->name, __FILE__, __LINE__);
256                 return -1;
257         }
258         
259         
260         if(1 /* No applicable constraints whatsoever */) {
261                 /* Nothing is here. See below */
262         }
263         
264         return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
265 }
266
267 static asn_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = {
268         { APC_CONSTRAINED,       8,  8,  0,  255 }      /* (0..255) */,
269         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
270         0, 0    /* No PER value map */
271 };
272 static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = {
273         { APC_CONSTRAINED,       2,  2,  0,  2 }        /* (0..2) */,
274         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
275         0, 0    /* No PER value map */
276 };
277 static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = {
278         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
279         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
280         0, 0    /* No PER value map */
281 };
282 static asn_TYPE_member_t asn_MBR_value_4[] = {
283         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICsubscriptionRequest),
284                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
285                 0,
286                 &asn_DEF_RICsubscriptionRequest,
287                 0,
288                 { 0, 0, 0 },
289                 0, 0, /* No default value */
290                 "RICsubscriptionRequest"
291                 },
292         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICsubscriptionDeleteRequest),
293                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
294                 0,
295                 &asn_DEF_RICsubscriptionDeleteRequest,
296                 0,
297                 { 0, 0, 0 },
298                 0, 0, /* No default value */
299                 "RICsubscriptionDeleteRequest"
300                 },
301         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICserviceUpdate),
302                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
303                 0,
304                 &asn_DEF_RICserviceUpdate,
305                 0,
306                 { 0, 0, 0 },
307                 0, 0, /* No default value */
308                 "RICserviceUpdate"
309                 },
310         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICcontrolRequest),
311                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
312                 0,
313                 &asn_DEF_RICcontrolRequest,
314                 0,
315                 { 0, 0, 0 },
316                 0, 0, /* No default value */
317                 "RICcontrolRequest"
318                 },
319         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.X2SetupRequest),
320                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
321                 0,
322                 &asn_DEF_X2SetupRequest,
323                 0,
324                 { 0, 0, 0 },
325                 0, 0, /* No default value */
326                 "X2SetupRequest"
327                 },
328         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ENDCX2SetupRequest),
329                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
330                 0,
331                 &asn_DEF_ENDCX2SetupRequest,
332                 0,
333                 { 0, 0, 0 },
334                 0, 0, /* No default value */
335                 "ENDCX2SetupRequest"
336                 },
337         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ResourceStatusRequest),
338                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
339                 0,
340                 &asn_DEF_ResourceStatusRequest,
341                 0,
342                 { 0, 0, 0 },
343                 0, 0, /* No default value */
344                 "ResourceStatusRequest"
345                 },
346         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ENBConfigurationUpdate),
347                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
348                 0,
349                 &asn_DEF_ENBConfigurationUpdate,
350                 0,
351                 { 0, 0, 0 },
352                 0, 0, /* No default value */
353                 "ENBConfigurationUpdate"
354                 },
355         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ENDCConfigurationUpdate),
356                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
357                 0,
358                 &asn_DEF_ENDCConfigurationUpdate,
359                 0,
360                 { 0, 0, 0 },
361                 0, 0, /* No default value */
362                 "ENDCConfigurationUpdate"
363                 },
364         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ResetRequest),
365                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
366                 0,
367                 &asn_DEF_ResetRequest,
368                 0,
369                 { 0, 0, 0 },
370                 0, 0, /* No default value */
371                 "ResetRequest"
372                 },
373         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICindication),
374                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
375                 0,
376                 &asn_DEF_RICindication,
377                 0,
378                 { 0, 0, 0 },
379                 0, 0, /* No default value */
380                 "RICindication"
381                 },
382         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICserviceQuery),
383                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
384                 0,
385                 &asn_DEF_RICserviceQuery,
386                 0,
387                 { 0, 0, 0 },
388                 0, 0, /* No default value */
389                 "RICserviceQuery"
390                 },
391         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.LoadInformation),
392                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
393                 0,
394                 &asn_DEF_LoadInformation,
395                 0,
396                 { 0, 0, 0 },
397                 0, 0, /* No default value */
398                 "LoadInformation"
399                 },
400         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.GNBStatusIndication),
401                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
402                 0,
403                 &asn_DEF_GNBStatusIndication,
404                 0,
405                 { 0, 0, 0 },
406                 0, 0, /* No default value */
407                 "GNBStatusIndication"
408                 },
409         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ResourceStatusUpdate),
410                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
411                 0,
412                 &asn_DEF_ResourceStatusUpdate,
413                 0,
414                 { 0, 0, 0 },
415                 0, 0, /* No default value */
416                 "ResourceStatusUpdate"
417                 },
418         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ErrorIndication),
419                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
420                 0,
421                 &asn_DEF_ErrorIndication,
422                 0,
423                 { 0, 0, 0 },
424                 0, 0, /* No default value */
425                 "ErrorIndication"
426                 },
427 };
428 static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = {
429     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 15 }, /* RICsubscriptionRequest */
430     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 14 }, /* RICsubscriptionDeleteRequest */
431     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 13 }, /* RICserviceUpdate */
432     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 12 }, /* RICcontrolRequest */
433     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 11 }, /* X2SetupRequest */
434     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 10 }, /* ENDCX2SetupRequest */
435     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 9 }, /* ResourceStatusRequest */
436     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 8 }, /* ENBConfigurationUpdate */
437     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 7 }, /* ENDCConfigurationUpdate */
438     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 9, -9, 6 }, /* ResetRequest */
439     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, -10, 5 }, /* RICindication */
440     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 11, -11, 4 }, /* RICserviceQuery */
441     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 12, -12, 3 }, /* LoadInformation */
442     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 13, -13, 2 }, /* GNBStatusIndication */
443     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 14, -14, 1 }, /* ResourceStatusUpdate */
444     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 15, -15, 0 } /* ErrorIndication */
445 };
446 static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = {
447         sizeof(struct InitiatingMessage__value),
448         offsetof(struct InitiatingMessage__value, _asn_ctx),
449         offsetof(struct InitiatingMessage__value, present),
450         sizeof(((struct InitiatingMessage__value *)0)->present),
451         asn_MAP_value_tag2el_4,
452         16,     /* Count of tags in the map */
453         0, 0,
454         -1      /* Extensions start */
455 };
456 static /* Use -fall-defs-global to expose */
457 asn_TYPE_descriptor_t asn_DEF_value_4 = {
458         "value",
459         "value",
460         &asn_OP_OPEN_TYPE,
461         0,      /* No effective tags (pointer) */
462         0,      /* No effective tags (count) */
463         0,      /* No tags (pointer) */
464         0,      /* No tags (count) */
465         { 0, 0, OPEN_TYPE_constraint },
466         asn_MBR_value_4,
467         16,     /* Elements count */
468         &asn_SPC_value_specs_4  /* Additional specs */
469 };
470
471 asn_TYPE_member_t asn_MBR_InitiatingMessage_1[] = {
472         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, procedureCode),
473                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
474                 -1,     /* IMPLICIT tag at current level */
475                 &asn_DEF_ProcedureCode,
476                 0,
477                 { 0, &asn_PER_memb_procedureCode_constr_2,  memb_procedureCode_constraint_1 },
478                 0, 0, /* No default value */
479                 "procedureCode"
480                 },
481         { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, criticality),
482                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
483                 -1,     /* IMPLICIT tag at current level */
484                 &asn_DEF_Criticality,
485                 select_InitiatingMessage_criticality_type,
486                 { 0, &asn_PER_memb_criticality_constr_3,  memb_criticality_constraint_1 },
487                 0, 0, /* No default value */
488                 "criticality"
489                 },
490         { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, value),
491                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
492                 +1,     /* EXPLICIT tag at current level */
493                 &asn_DEF_value_4,
494                 select_InitiatingMessage_value_type,
495                 { 0, &asn_PER_memb_value_constr_4,  memb_value_constraint_1 },
496                 0, 0, /* No default value */
497                 "value"
498                 },
499 };
500 static const ber_tlv_tag_t asn_DEF_InitiatingMessage_tags_1[] = {
501         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
502 };
503 static const asn_TYPE_tag2member_t asn_MAP_InitiatingMessage_tag2el_1[] = {
504     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
505     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
506     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
507 };
508 asn_SEQUENCE_specifics_t asn_SPC_InitiatingMessage_specs_1 = {
509         sizeof(struct InitiatingMessage),
510         offsetof(struct InitiatingMessage, _asn_ctx),
511         asn_MAP_InitiatingMessage_tag2el_1,
512         3,      /* Count of tags in the map */
513         0, 0, 0,        /* Optional elements (not needed) */
514         -1,     /* First extension addition */
515 };
516 asn_TYPE_descriptor_t asn_DEF_InitiatingMessage = {
517         "InitiatingMessage",
518         "InitiatingMessage",
519         &asn_OP_SEQUENCE,
520         asn_DEF_InitiatingMessage_tags_1,
521         sizeof(asn_DEF_InitiatingMessage_tags_1)
522                 /sizeof(asn_DEF_InitiatingMessage_tags_1[0]), /* 1 */
523         asn_DEF_InitiatingMessage_tags_1,       /* Same as above */
524         sizeof(asn_DEF_InitiatingMessage_tags_1)
525                 /sizeof(asn_DEF_InitiatingMessage_tags_1[0]), /* 1 */
526         { 0, 0, SEQUENCE_constraint },
527         asn_MBR_InitiatingMessage_1,
528         3,      /* Elements count */
529         &asn_SPC_InitiatingMessage_specs_1      /* Additional specs */
530 };
531