[Epic-ID: ODUHIGH-510][Task-ID: ODUHIGH-511] E2AP version upgrade from V2.00 to V3.00
[o-du/l2.git] / src / codec_utils / E2AP / CauseE2RICrequest.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "../../ASN1_Input/E2APV0300.asn1"
5  *      `asn1c -D ../../E2_v3.0_output/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "CauseE2RICrequest.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 static asn_oer_constraints_t asn_OER_type_CauseE2RICrequest_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_CauseE2RICrequest_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  4,  4,  0,  13 }   /* (0..13,...) */,
19         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
20         0, 0    /* No PER value map */
21 };
22 static const asn_INTEGER_enum_map_t asn_MAP_CauseE2RICrequest_value2enum_1[] = {
23         { 0,    23,     "ran-function-id-invalid" },
24         { 1,    20,     "action-not-supported" },
25         { 2,    17,     "excessive-actions" },
26         { 3,    16,     "duplicate-action" },
27         { 4,    23,     "duplicate-event-trigger" },
28         { 5,    23,     "function-resource-limit" },
29         { 6,    18,     "request-id-unknown" },
30         { 7,    46,     "inconsistent-action-subsequent-action-sequence" },
31         { 8,    23,     "control-message-invalid" },
32         { 9,    27,     "ric-call-process-id-invalid" },
33         { 10,   21,     "control-timer-expired" },
34         { 11,   25,     "control-failed-to-execute" },
35         { 12,   16,     "system-not-ready" },
36         { 13,   11,     "unspecified" },
37         { 14,   33,     "ric-subscription-end-time-expired" },
38         { 15,   33,     "ric-subscription-end-time-invalid" },
39         { 16,   24,     "duplicate-ric-request-id" },
40         { 17,   24,     "eventTriggerNotSupported" },
41         { 18,   33,     "requested-information-unavailable" },
42         { 19,   27,     "invalid-information-request" }
43         /* This list is extensible */
44 };
45 static const unsigned int asn_MAP_CauseE2RICrequest_enum2value_1[] = {
46         1,      /* action-not-supported(1) */
47         11,     /* control-failed-to-execute(11) */
48         8,      /* control-message-invalid(8) */
49         10,     /* control-timer-expired(10) */
50         3,      /* duplicate-action(3) */
51         4,      /* duplicate-event-trigger(4) */
52         16,     /* duplicate-ric-request-id(16) */
53         17,     /* eventTriggerNotSupported(17) */
54         2,      /* excessive-actions(2) */
55         5,      /* function-resource-limit(5) */
56         7,      /* inconsistent-action-subsequent-action-sequence(7) */
57         19,     /* invalid-information-request(19) */
58         0,      /* ran-function-id-invalid(0) */
59         6,      /* request-id-unknown(6) */
60         18,     /* requested-information-unavailable(18) */
61         9,      /* ric-call-process-id-invalid(9) */
62         14,     /* ric-subscription-end-time-expired(14) */
63         15,     /* ric-subscription-end-time-invalid(15) */
64         12,     /* system-not-ready(12) */
65         13      /* unspecified(13) */
66         /* This list is extensible */
67 };
68 const asn_INTEGER_specifics_t asn_SPC_CauseE2RICrequest_specs_1 = {
69         asn_MAP_CauseE2RICrequest_value2enum_1, /* "tag" => N; sorted by tag */
70         asn_MAP_CauseE2RICrequest_enum2value_1, /* N => "tag"; sorted by N */
71         20,     /* Number of elements in the maps */
72         15,     /* Extensions before this member */
73         1,      /* Strict enumeration */
74         0,      /* Native long size */
75         0
76 };
77 static const ber_tlv_tag_t asn_DEF_CauseE2RICrequest_tags_1[] = {
78         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
79 };
80 asn_TYPE_descriptor_t asn_DEF_CauseE2RICrequest = {
81         "CauseE2RICrequest",
82         "CauseE2RICrequest",
83         &asn_OP_NativeEnumerated,
84         asn_DEF_CauseE2RICrequest_tags_1,
85         sizeof(asn_DEF_CauseE2RICrequest_tags_1)
86                 /sizeof(asn_DEF_CauseE2RICrequest_tags_1[0]), /* 1 */
87         asn_DEF_CauseE2RICrequest_tags_1,       /* Same as above */
88         sizeof(asn_DEF_CauseE2RICrequest_tags_1)
89                 /sizeof(asn_DEF_CauseE2RICrequest_tags_1[0]), /* 1 */
90         { &asn_OER_type_CauseE2RICrequest_constr_1, &asn_PER_type_CauseE2RICrequest_constr_1, NativeEnumerated_constraint },
91         0, 0,   /* Defined elsewhere */
92         &asn_SPC_CauseE2RICrequest_specs_1      /* Additional specs */
93 };
94