[Epic-ID: ODUHIGH-464][Task-ID: ODUHIGH-483] Memeory related fix in FDD and TDD mode
[o-du/l2.git] / src / codec_utils / RRC / EstablishmentCause.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "../ASN1_Input/rrc_15_3_asn.asn1"
5  *      `asn1c -D ../RRC_output_14Nov/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #include "EstablishmentCause.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_EstablishmentCause_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_EstablishmentCause_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED,       4,  4,  0,  15 }       /* (0..15) */,
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_EstablishmentCause_value2enum_1[] = {
23         { 0,    9,      "emergency" },
24         { 1,    18,     "highPriorityAccess" },
25         { 2,    9,      "mt-Access" },
26         { 3,    13,     "mo-Signalling" },
27         { 4,    7,      "mo-Data" },
28         { 5,    12,     "mo-VoiceCall" },
29         { 6,    12,     "mo-VideoCall" },
30         { 7,    6,      "mo-SMS" },
31         { 8,    18,     "mps-PriorityAccess" },
32         { 9,    18,     "mcs-PriorityAccess" },
33         { 10,   6,      "spare6" },
34         { 11,   6,      "spare5" },
35         { 12,   6,      "spare4" },
36         { 13,   6,      "spare3" },
37         { 14,   6,      "spare2" },
38         { 15,   6,      "spare1" }
39 };
40 static const unsigned int asn_MAP_EstablishmentCause_enum2value_1[] = {
41         0,      /* emergency(0) */
42         1,      /* highPriorityAccess(1) */
43         9,      /* mcs-PriorityAccess(9) */
44         4,      /* mo-Data(4) */
45         7,      /* mo-SMS(7) */
46         3,      /* mo-Signalling(3) */
47         6,      /* mo-VideoCall(6) */
48         5,      /* mo-VoiceCall(5) */
49         8,      /* mps-PriorityAccess(8) */
50         2,      /* mt-Access(2) */
51         15,     /* spare1(15) */
52         14,     /* spare2(14) */
53         13,     /* spare3(13) */
54         12,     /* spare4(12) */
55         11,     /* spare5(11) */
56         10      /* spare6(10) */
57 };
58 const asn_INTEGER_specifics_t asn_SPC_EstablishmentCause_specs_1 = {
59         asn_MAP_EstablishmentCause_value2enum_1,        /* "tag" => N; sorted by tag */
60         asn_MAP_EstablishmentCause_enum2value_1,        /* N => "tag"; sorted by N */
61         16,     /* Number of elements in the maps */
62         0,      /* Enumeration is not extensible */
63         1,      /* Strict enumeration */
64         0,      /* Native long size */
65         0
66 };
67 static const ber_tlv_tag_t asn_DEF_EstablishmentCause_tags_1[] = {
68         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
69 };
70 asn_TYPE_descriptor_t asn_DEF_EstablishmentCause = {
71         "EstablishmentCause",
72         "EstablishmentCause",
73         &asn_OP_NativeEnumerated,
74         asn_DEF_EstablishmentCause_tags_1,
75         sizeof(asn_DEF_EstablishmentCause_tags_1)
76                 /sizeof(asn_DEF_EstablishmentCause_tags_1[0]), /* 1 */
77         asn_DEF_EstablishmentCause_tags_1,      /* Same as above */
78         sizeof(asn_DEF_EstablishmentCause_tags_1)
79                 /sizeof(asn_DEF_EstablishmentCause_tags_1[0]), /* 1 */
80         { &asn_OER_type_EstablishmentCause_constr_1, &asn_PER_type_EstablishmentCause_constr_1, NativeEnumerated_constraint },
81         0, 0,   /* Defined elsewhere */
82         &asn_SPC_EstablishmentCause_specs_1     /* Additional specs */
83 };
84