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