432e0022b0d9cb66a8f3762f4279830c9c44a260
[o-du/l2.git] / src / codec_utils / F1AP / CauseRadioNetwork.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "F1AP-IEs"
4  *      found in "F1.asn1"
5  *      `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "CauseRadioNetwork.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_CauseRadioNetwork_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_CauseRadioNetwork_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_CauseRadioNetwork_value2enum_1[] = {
23         { 0,    11,     "unspecified" },
24         { 1,    14,     "rl-failure-rlc" },
25         { 2,    46,     "unknown-or-already-allocated-gnb-cu-ue-f1ap-id" },
26         { 3,    46,     "unknown-or-already-allocated-gnd-du-ue-f1ap-id" },
27         { 4,    42,     "unknown-or-inconsistent-pair-of-ue-f1ap-id" },
28         { 5,    32,     "interaction-with-other-procedure" },
29         { 6,    23,     "not-supported-qci-Value" },
30         { 7,    34,     "action-desirable-for-radio-reasons" },
31         { 8,    28,     "no-radio-resources-available" },
32         { 9,    19,     "procedure-cancelled" },
33         { 10,   14,     "normal-release" },
34         { 11,   18,     "cell-not-available" },
35         { 12,   17,     "rl-failure-others" },
36         { 13,   12,     "ue-rejection" },
37         { 14,   37,     "resources-not-available-for-the-slice" },
38         { 15,   30,     "amf-initiated-abnormal-release" },
39         { 16,   26,     "release-due-to-pre-emption" }
40         /* This list is extensible */
41 };
42 static const unsigned int asn_MAP_CauseRadioNetwork_enum2value_1[] = {
43         7,      /* action-desirable-for-radio-reasons(7) */
44         15,     /* amf-initiated-abnormal-release(15) */
45         11,     /* cell-not-available(11) */
46         5,      /* interaction-with-other-procedure(5) */
47         8,      /* no-radio-resources-available(8) */
48         10,     /* normal-release(10) */
49         6,      /* not-supported-qci-Value(6) */
50         9,      /* procedure-cancelled(9) */
51         16,     /* release-due-to-pre-emption(16) */
52         14,     /* resources-not-available-for-the-slice(14) */
53         12,     /* rl-failure-others(12) */
54         1,      /* rl-failure-rlc(1) */
55         13,     /* ue-rejection(13) */
56         2,      /* unknown-or-already-allocated-gnb-cu-ue-f1ap-id(2) */
57         3,      /* unknown-or-already-allocated-gnd-du-ue-f1ap-id(3) */
58         4,      /* unknown-or-inconsistent-pair-of-ue-f1ap-id(4) */
59         0       /* unspecified(0) */
60         /* This list is extensible */
61 };
62 const asn_INTEGER_specifics_t asn_SPC_CauseRadioNetwork_specs_1 = {
63         asn_MAP_CauseRadioNetwork_value2enum_1, /* "tag" => N; sorted by tag */
64         asn_MAP_CauseRadioNetwork_enum2value_1, /* N => "tag"; sorted by N */
65         17,     /* Number of elements in the maps */
66         12,     /* Extensions before this member */
67         1,      /* Strict enumeration */
68         0,      /* Native long size */
69         0
70 };
71 static const ber_tlv_tag_t asn_DEF_CauseRadioNetwork_tags_1[] = {
72         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
73 };
74 asn_TYPE_descriptor_t asn_DEF_CauseRadioNetwork = {
75         "CauseRadioNetwork",
76         "CauseRadioNetwork",
77         &asn_OP_NativeEnumerated,
78         asn_DEF_CauseRadioNetwork_tags_1,
79         sizeof(asn_DEF_CauseRadioNetwork_tags_1)
80                 /sizeof(asn_DEF_CauseRadioNetwork_tags_1[0]), /* 1 */
81         asn_DEF_CauseRadioNetwork_tags_1,       /* Same as above */
82         sizeof(asn_DEF_CauseRadioNetwork_tags_1)
83                 /sizeof(asn_DEF_CauseRadioNetwork_tags_1[0]), /* 1 */
84         { &asn_OER_type_CauseRadioNetwork_constr_1, &asn_PER_type_CauseRadioNetwork_constr_1, NativeEnumerated_constraint },
85         0, 0,   /* Defined elsewhere */
86         &asn_SPC_CauseRadioNetwork_specs_1      /* Additional specs */
87 };
88