[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / ResumeCause.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "../../../rrc_15.3_asn.asn1"
5  *      `asn1c -D ./25_02_2022_RRC/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "ResumeCause.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_ResumeCause_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_ResumeCause_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_ResumeCause_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,    10,     "rna-Update" },
32         { 9,    18,     "mps-PriorityAccess" },
33         { 10,   18,     "mcs-PriorityAccess" },
34         { 11,   6,      "spare1" },
35         { 12,   6,      "spare2" },
36         { 13,   6,      "spare3" },
37         { 14,   6,      "spare4" },
38         { 15,   6,      "spare5" }
39 };
40 static const unsigned int asn_MAP_ResumeCause_enum2value_1[] = {
41         0,      /* emergency(0) */
42         1,      /* highPriorityAccess(1) */
43         10,     /* mcs-PriorityAccess(10) */
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         9,      /* mps-PriorityAccess(9) */
50         2,      /* mt-Access(2) */
51         8,      /* rna-Update(8) */
52         11,     /* spare1(11) */
53         12,     /* spare2(12) */
54         13,     /* spare3(13) */
55         14,     /* spare4(14) */
56         15      /* spare5(15) */
57 };
58 const asn_INTEGER_specifics_t asn_SPC_ResumeCause_specs_1 = {
59         asn_MAP_ResumeCause_value2enum_1,       /* "tag" => N; sorted by tag */
60         asn_MAP_ResumeCause_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_ResumeCause_tags_1[] = {
68         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
69 };
70 asn_TYPE_descriptor_t asn_DEF_ResumeCause = {
71         "ResumeCause",
72         "ResumeCause",
73         &asn_OP_NativeEnumerated,
74         asn_DEF_ResumeCause_tags_1,
75         sizeof(asn_DEF_ResumeCause_tags_1)
76                 /sizeof(asn_DEF_ResumeCause_tags_1[0]), /* 1 */
77         asn_DEF_ResumeCause_tags_1,     /* Same as above */
78         sizeof(asn_DEF_ResumeCause_tags_1)
79                 /sizeof(asn_DEF_ResumeCause_tags_1[0]), /* 1 */
80         { &asn_OER_type_ResumeCause_constr_1, &asn_PER_type_ResumeCause_constr_1, NativeEnumerated_constraint },
81         0, 0,   /* Defined elsewhere */
82         &asn_SPC_ResumeCause_specs_1    /* Additional specs */
83 };
84