Updated E2 setup response
[o-du/l2.git] / src / codec_utils / E2AP / CauseRIC.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "E2AP.asn1"
5  *      `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "CauseRIC.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_CauseRIC_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_CauseRIC_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  4,  4,  0,  10 }   /* (0..10,...) */,
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_CauseRIC_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,    15,     "duplicate-event" },
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,    23,     "call-process-id-invalid" },
33         { 10,   11,     "unspecified" }
34         /* This list is extensible */
35 };
36 static const unsigned int asn_MAP_CauseRIC_enum2value_1[] = {
37         1,      /* action-not-supported(1) */
38         9,      /* call-process-id-invalid(9) */
39         8,      /* control-message-invalid(8) */
40         3,      /* duplicate-action(3) */
41         4,      /* duplicate-event(4) */
42         2,      /* excessive-actions(2) */
43         5,      /* function-resource-limit(5) */
44         7,      /* inconsistent-action-subsequent-action-sequence(7) */
45         0,      /* ran-function-id-Invalid(0) */
46         6,      /* request-id-unknown(6) */
47         10      /* unspecified(10) */
48         /* This list is extensible */
49 };
50 const asn_INTEGER_specifics_t asn_SPC_CauseRIC_specs_1 = {
51         asn_MAP_CauseRIC_value2enum_1,  /* "tag" => N; sorted by tag */
52         asn_MAP_CauseRIC_enum2value_1,  /* N => "tag"; sorted by N */
53         11,     /* Number of elements in the maps */
54         12,     /* Extensions before this member */
55         1,      /* Strict enumeration */
56         0,      /* Native long size */
57         0
58 };
59 static const ber_tlv_tag_t asn_DEF_CauseRIC_tags_1[] = {
60         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
61 };
62 asn_TYPE_descriptor_t asn_DEF_CauseRIC = {
63         "CauseRIC",
64         "CauseRIC",
65         &asn_OP_NativeEnumerated,
66         asn_DEF_CauseRIC_tags_1,
67         sizeof(asn_DEF_CauseRIC_tags_1)
68                 /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */
69         asn_DEF_CauseRIC_tags_1,        /* Same as above */
70         sizeof(asn_DEF_CauseRIC_tags_1)
71                 /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */
72         { &asn_OER_type_CauseRIC_constr_1, &asn_PER_type_CauseRIC_constr_1, NativeEnumerated_constraint },
73         0, 0,   /* Defined elsewhere */
74         &asn_SPC_CauseRIC_specs_1       /* Additional specs */
75 };
76