[Epic-ID: ODUHIGH-488][Task-ID: ODUHIGH-492] WG8 Alignment [DCI Information]
[o-du/l2.git] / src / codec_utils / E2AP / CauseRICrequest.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "2022_E2AP.asn1"
5  *      `asn1c -D ./E2AP/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "CauseRICrequest.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_CauseRICrequest_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_CauseRICrequest_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_CauseRICrequest_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         /* This list is extensible */
38 };
39 static const unsigned int asn_MAP_CauseRICrequest_enum2value_1[] = {
40         1,      /* action-not-supported(1) */
41         11,     /* control-failed-to-execute(11) */
42         8,      /* control-message-invalid(8) */
43         10,     /* control-timer-expired(10) */
44         3,      /* duplicate-action(3) */
45         4,      /* duplicate-event-trigger(4) */
46         2,      /* excessive-actions(2) */
47         5,      /* function-resource-limit(5) */
48         7,      /* inconsistent-action-subsequent-action-sequence(7) */
49         0,      /* ran-function-id-invalid(0) */
50         6,      /* request-id-unknown(6) */
51         9,      /* ric-call-process-id-invalid(9) */
52         12,     /* system-not-ready(12) */
53         13      /* unspecified(13) */
54         /* This list is extensible */
55 };
56 const asn_INTEGER_specifics_t asn_SPC_CauseRICrequest_specs_1 = {
57         asn_MAP_CauseRICrequest_value2enum_1,   /* "tag" => N; sorted by tag */
58         asn_MAP_CauseRICrequest_enum2value_1,   /* N => "tag"; sorted by N */
59         14,     /* Number of elements in the maps */
60         15,     /* Extensions before this member */
61         1,      /* Strict enumeration */
62         0,      /* Native long size */
63         0
64 };
65 static const ber_tlv_tag_t asn_DEF_CauseRICrequest_tags_1[] = {
66         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
67 };
68 asn_TYPE_descriptor_t asn_DEF_CauseRICrequest = {
69         "CauseRICrequest",
70         "CauseRICrequest",
71         &asn_OP_NativeEnumerated,
72         asn_DEF_CauseRICrequest_tags_1,
73         sizeof(asn_DEF_CauseRICrequest_tags_1)
74                 /sizeof(asn_DEF_CauseRICrequest_tags_1[0]), /* 1 */
75         asn_DEF_CauseRICrequest_tags_1, /* Same as above */
76         sizeof(asn_DEF_CauseRICrequest_tags_1)
77                 /sizeof(asn_DEF_CauseRICrequest_tags_1[0]), /* 1 */
78         { &asn_OER_type_CauseRICrequest_constr_1, &asn_PER_type_CauseRICrequest_constr_1, NativeEnumerated_constraint },
79         0, 0,   /* Defined elsewhere */
80         &asn_SPC_CauseRICrequest_specs_1        /* Additional specs */
81 };
82