784b99441dc7464ddb2a9e940b76a921498ef8d5
[ric-plt/submgr.git] / 3rdparty / libe2ap / RICInitiatingMessage.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-PDU-Descriptions"
4  *      found in "Spec/e2_and_x2-combined-and-minimized.asn1"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
6  */
7
8 #include "RICInitiatingMessage.h"
9
10 static const long asn_VAL_1_id_ricSubscription = 201;
11 static const long asn_VAL_1_reject = 0;
12 static const long asn_VAL_2_id_ricSubscriptionDelete = 202;
13 static const long asn_VAL_2_reject = 0;
14 static const long asn_VAL_3_id_ricServiceUpdate = 203;
15 static const long asn_VAL_3_reject = 0;
16 static const long asn_VAL_4_id_ricControl = 204;
17 static const long asn_VAL_4_reject = 0;
18 static const long asn_VAL_5_id_x2Setup = 6;
19 static const long asn_VAL_5_reject = 0;
20 static const long asn_VAL_6_id_endcX2Setup = 36;
21 static const long asn_VAL_6_reject = 0;
22 static const long asn_VAL_7_id_resourceStatusReportingInitiation = 9;
23 static const long asn_VAL_7_reject = 0;
24 static const long asn_VAL_8_id_eNBConfigurationUpdate = 8;
25 static const long asn_VAL_8_reject = 0;
26 static const long asn_VAL_9_id_endcConfigurationUpdate = 37;
27 static const long asn_VAL_9_reject = 0;
28 static const long asn_VAL_10_id_reset = 7;
29 static const long asn_VAL_10_reject = 0;
30 static const long asn_VAL_11_id_ricIndication = 205;
31 static const long asn_VAL_11_ignore = 1;
32 static const long asn_VAL_12_id_ricServiceQuery = 206;
33 static const long asn_VAL_12_ignore = 1;
34 static const long asn_VAL_13_id_loadIndication = 2;
35 static const long asn_VAL_13_ignore = 1;
36 static const long asn_VAL_14_id_gNBStatusIndication = 45;
37 static const long asn_VAL_14_ignore = 1;
38 static const long asn_VAL_15_id_resourceStatusReporting = 10;
39 static const long asn_VAL_15_ignore = 1;
40 static const long asn_VAL_16_id_errorIndication = 3;
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_RICserviceUpdate },
54         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateAcknowledge },
55         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateFailure },
56         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_3_id_ricServiceUpdate },
57         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject },
58         { "&InitiatingMessage", aioc__type, &asn_DEF_RICcontrolRequest },
59         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolAcknowledge },
60         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolFailure },
61         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_4_id_ricControl },
62         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_reject },
63         { "&InitiatingMessage", aioc__type, &asn_DEF_X2SetupRequest },
64         { "&SuccessfulOutcome", aioc__type, &asn_DEF_X2SetupResponse },
65         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_X2SetupFailure },
66         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_5_id_x2Setup },
67         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_5_reject },
68         { "&InitiatingMessage", aioc__type, &asn_DEF_ENDCX2SetupRequest },
69         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ENDCX2SetupResponse },
70         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_ENDCX2SetupFailure },
71         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_6_id_endcX2Setup },
72         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_6_reject },
73         { "&InitiatingMessage", aioc__type, &asn_DEF_ResourceStatusRequest },
74         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResourceStatusResponse },
75         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_ResourceStatusFailure },
76         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_7_id_resourceStatusReportingInitiation },
77         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_reject },
78         { "&InitiatingMessage", aioc__type, &asn_DEF_ENBConfigurationUpdate },
79         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ENBConfigurationUpdateAcknowledge },
80         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_ENBConfigurationUpdateFailure },
81         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_8_id_eNBConfigurationUpdate },
82         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_reject },
83         { "&InitiatingMessage", aioc__type, &asn_DEF_ENDCConfigurationUpdate },
84         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ENDCConfigurationUpdateAcknowledge },
85         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_ENDCConfigurationUpdateFailure },
86         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_9_id_endcConfigurationUpdate },
87         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_reject },
88         { "&InitiatingMessage", aioc__type, &asn_DEF_ResetRequest },
89         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResetResponse },
90         { "&UnsuccessfulOutcome",  },
91         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_10_id_reset },
92         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_10_reject },
93         { "&InitiatingMessage", aioc__type, &asn_DEF_RICindication },
94         { "&SuccessfulOutcome",  },
95         { "&UnsuccessfulOutcome",  },
96         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_11_id_ricIndication },
97         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_11_ignore },
98         { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceQuery },
99         { "&SuccessfulOutcome",  },
100         { "&UnsuccessfulOutcome",  },
101         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_12_id_ricServiceQuery },
102         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_12_ignore },
103         { "&InitiatingMessage", aioc__type, &asn_DEF_LoadInformation },
104         { "&SuccessfulOutcome",  },
105         { "&UnsuccessfulOutcome",  },
106         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_13_id_loadIndication },
107         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_13_ignore },
108         { "&InitiatingMessage", aioc__type, &asn_DEF_GNBStatusIndication },
109         { "&SuccessfulOutcome",  },
110         { "&UnsuccessfulOutcome",  },
111         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_14_id_gNBStatusIndication },
112         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_14_ignore },
113         { "&InitiatingMessage", aioc__type, &asn_DEF_ResourceStatusUpdate },
114         { "&SuccessfulOutcome",  },
115         { "&UnsuccessfulOutcome",  },
116         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_15_id_resourceStatusReporting },
117         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_15_ignore },
118         { "&InitiatingMessage", aioc__type, &asn_DEF_ErrorIndication },
119         { "&SuccessfulOutcome",  },
120         { "&UnsuccessfulOutcome",  },
121         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_16_id_errorIndication },
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 >= 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_RICInitiatingMessage_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 RICInitiatingMessage, 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_RICInitiatingMessage_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 RICInitiatingMessage, 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_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = {
245         { APC_CONSTRAINED,       8,  8,  0,  255 }      /* (0..255) */,
246         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
247         0, 0    /* No PER value map */
248 };
249 static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = {
250         { APC_CONSTRAINED,       2,  2,  0,  2 }        /* (0..2) */,
251         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
252         0, 0    /* No PER value map */
253 };
254 static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = {
255         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
256         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
257         0, 0    /* No PER value map */
258 };
259 static asn_TYPE_member_t asn_MBR_value_4[] = {
260         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.RICsubscriptionRequest),
261                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
262                 0,
263                 &asn_DEF_RICsubscriptionRequest,
264                 0,
265                 { 0, 0, 0 },
266                 0, 0, /* No default value */
267                 "RICsubscriptionRequest"
268                 },
269         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.RICsubscriptionDeleteRequest),
270                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
271                 0,
272                 &asn_DEF_RICsubscriptionDeleteRequest,
273                 0,
274                 { 0, 0, 0 },
275                 0, 0, /* No default value */
276                 "RICsubscriptionDeleteRequest"
277                 },
278         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.RICserviceUpdate),
279                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
280                 0,
281                 &asn_DEF_RICserviceUpdate,
282                 0,
283                 { 0, 0, 0 },
284                 0, 0, /* No default value */
285                 "RICserviceUpdate"
286                 },
287         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.RICcontrolRequest),
288                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
289                 0,
290                 &asn_DEF_RICcontrolRequest,
291                 0,
292                 { 0, 0, 0 },
293                 0, 0, /* No default value */
294                 "RICcontrolRequest"
295                 },
296         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.X2SetupRequest),
297                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
298                 0,
299                 &asn_DEF_X2SetupRequest,
300                 0,
301                 { 0, 0, 0 },
302                 0, 0, /* No default value */
303                 "X2SetupRequest"
304                 },
305         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.ENDCX2SetupRequest),
306                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
307                 0,
308                 &asn_DEF_ENDCX2SetupRequest,
309                 0,
310                 { 0, 0, 0 },
311                 0, 0, /* No default value */
312                 "ENDCX2SetupRequest"
313                 },
314         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.ResourceStatusRequest),
315                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
316                 0,
317                 &asn_DEF_ResourceStatusRequest,
318                 0,
319                 { 0, 0, 0 },
320                 0, 0, /* No default value */
321                 "ResourceStatusRequest"
322                 },
323         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.ENBConfigurationUpdate),
324                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
325                 0,
326                 &asn_DEF_ENBConfigurationUpdate,
327                 0,
328                 { 0, 0, 0 },
329                 0, 0, /* No default value */
330                 "ENBConfigurationUpdate"
331                 },
332         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.ENDCConfigurationUpdate),
333                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
334                 0,
335                 &asn_DEF_ENDCConfigurationUpdate,
336                 0,
337                 { 0, 0, 0 },
338                 0, 0, /* No default value */
339                 "ENDCConfigurationUpdate"
340                 },
341         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.ResetRequest),
342                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
343                 0,
344                 &asn_DEF_ResetRequest,
345                 0,
346                 { 0, 0, 0 },
347                 0, 0, /* No default value */
348                 "ResetRequest"
349                 },
350         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.RICindication),
351                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
352                 0,
353                 &asn_DEF_RICindication,
354                 0,
355                 { 0, 0, 0 },
356                 0, 0, /* No default value */
357                 "RICindication"
358                 },
359         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.RICserviceQuery),
360                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
361                 0,
362                 &asn_DEF_RICserviceQuery,
363                 0,
364                 { 0, 0, 0 },
365                 0, 0, /* No default value */
366                 "RICserviceQuery"
367                 },
368         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.LoadInformation),
369                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
370                 0,
371                 &asn_DEF_LoadInformation,
372                 0,
373                 { 0, 0, 0 },
374                 0, 0, /* No default value */
375                 "LoadInformation"
376                 },
377         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.GNBStatusIndication),
378                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
379                 0,
380                 &asn_DEF_GNBStatusIndication,
381                 0,
382                 { 0, 0, 0 },
383                 0, 0, /* No default value */
384                 "GNBStatusIndication"
385                 },
386         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.ResourceStatusUpdate),
387                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
388                 0,
389                 &asn_DEF_ResourceStatusUpdate,
390                 0,
391                 { 0, 0, 0 },
392                 0, 0, /* No default value */
393                 "ResourceStatusUpdate"
394                 },
395         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage__value, choice.ErrorIndication),
396                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
397                 0,
398                 &asn_DEF_ErrorIndication,
399                 0,
400                 { 0, 0, 0 },
401                 0, 0, /* No default value */
402                 "ErrorIndication"
403                 },
404 };
405 static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = {
406     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 15 }, /* RICsubscriptionRequest */
407     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 14 }, /* RICsubscriptionDeleteRequest */
408     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 13 }, /* RICserviceUpdate */
409     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 12 }, /* RICcontrolRequest */
410     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 11 }, /* X2SetupRequest */
411     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 10 }, /* ENDCX2SetupRequest */
412     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 9 }, /* ResourceStatusRequest */
413     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 8 }, /* ENBConfigurationUpdate */
414     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 7 }, /* ENDCConfigurationUpdate */
415     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 9, -9, 6 }, /* ResetRequest */
416     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, -10, 5 }, /* RICindication */
417     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 11, -11, 4 }, /* RICserviceQuery */
418     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 12, -12, 3 }, /* LoadInformation */
419     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 13, -13, 2 }, /* GNBStatusIndication */
420     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 14, -14, 1 }, /* ResourceStatusUpdate */
421     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 15, -15, 0 } /* ErrorIndication */
422 };
423 static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = {
424         sizeof(struct RICInitiatingMessage__value),
425         offsetof(struct RICInitiatingMessage__value, _asn_ctx),
426         offsetof(struct RICInitiatingMessage__value, present),
427         sizeof(((struct RICInitiatingMessage__value *)0)->present),
428         asn_MAP_value_tag2el_4,
429         16,     /* Count of tags in the map */
430         0, 0,
431         -1      /* Extensions start */
432 };
433 static /* Use -fall-defs-global to expose */
434 asn_TYPE_descriptor_t asn_DEF_value_4 = {
435         "value",
436         "value",
437         &asn_OP_OPEN_TYPE,
438         0,      /* No effective tags (pointer) */
439         0,      /* No effective tags (count) */
440         0,      /* No tags (pointer) */
441         0,      /* No tags (count) */
442         { 0, 0, OPEN_TYPE_constraint },
443         asn_MBR_value_4,
444         16,     /* Elements count */
445         &asn_SPC_value_specs_4  /* Additional specs */
446 };
447
448 asn_TYPE_member_t asn_MBR_RICInitiatingMessage_1[] = {
449         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage, procedureCode),
450                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
451                 -1,     /* IMPLICIT tag at current level */
452                 &asn_DEF_ProcedureCode,
453                 0,
454                 { 0, &asn_PER_memb_procedureCode_constr_2,  memb_procedureCode_constraint_1 },
455                 0, 0, /* No default value */
456                 "procedureCode"
457                 },
458         { ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage, criticality),
459                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
460                 -1,     /* IMPLICIT tag at current level */
461                 &asn_DEF_Criticality,
462                 select_RICInitiatingMessage_criticality_type,
463                 { 0, &asn_PER_memb_criticality_constr_3,  memb_criticality_constraint_1 },
464                 0, 0, /* No default value */
465                 "criticality"
466                 },
467         { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICInitiatingMessage, value),
468                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
469                 +1,     /* EXPLICIT tag at current level */
470                 &asn_DEF_value_4,
471                 select_RICInitiatingMessage_value_type,
472                 { 0, &asn_PER_memb_value_constr_4,  memb_value_constraint_1 },
473                 0, 0, /* No default value */
474                 "value"
475                 },
476 };
477 static const ber_tlv_tag_t asn_DEF_RICInitiatingMessage_tags_1[] = {
478         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
479 };
480 static const asn_TYPE_tag2member_t asn_MAP_RICInitiatingMessage_tag2el_1[] = {
481     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
482     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
483     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
484 };
485 asn_SEQUENCE_specifics_t asn_SPC_RICInitiatingMessage_specs_1 = {
486         sizeof(struct RICInitiatingMessage),
487         offsetof(struct RICInitiatingMessage, _asn_ctx),
488         asn_MAP_RICInitiatingMessage_tag2el_1,
489         3,      /* Count of tags in the map */
490         0, 0, 0,        /* Optional elements (not needed) */
491         -1,     /* First extension addition */
492 };
493 asn_TYPE_descriptor_t asn_DEF_RICInitiatingMessage = {
494         "RICInitiatingMessage",
495         "RICInitiatingMessage",
496         &asn_OP_SEQUENCE,
497         asn_DEF_RICInitiatingMessage_tags_1,
498         sizeof(asn_DEF_RICInitiatingMessage_tags_1)
499                 /sizeof(asn_DEF_RICInitiatingMessage_tags_1[0]), /* 1 */
500         asn_DEF_RICInitiatingMessage_tags_1,    /* Same as above */
501         sizeof(asn_DEF_RICInitiatingMessage_tags_1)
502                 /sizeof(asn_DEF_RICInitiatingMessage_tags_1[0]), /* 1 */
503         { 0, 0, SEQUENCE_constraint },
504         asn_MBR_RICInitiatingMessage_1,
505         3,      /* Elements count */
506         &asn_SPC_RICInitiatingMessage_specs_1   /* Additional specs */
507 };
508