[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / CA-BandwidthClassNR.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 "CA-BandwidthClassNR.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_CA_BandwidthClassNR_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_CA_BandwidthClassNR_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  0,  16 }   /* (0..16,...) */,
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_CA_BandwidthClassNR_value2enum_1[] = {
23         { 0,    1,      "a" },
24         { 1,    1,      "b" },
25         { 2,    1,      "c" },
26         { 3,    1,      "d" },
27         { 4,    1,      "e" },
28         { 5,    1,      "f" },
29         { 6,    1,      "g" },
30         { 7,    1,      "h" },
31         { 8,    1,      "i" },
32         { 9,    1,      "j" },
33         { 10,   1,      "k" },
34         { 11,   1,      "l" },
35         { 12,   1,      "m" },
36         { 13,   1,      "n" },
37         { 14,   1,      "o" },
38         { 15,   1,      "p" },
39         { 16,   1,      "q" }
40         /* This list is extensible */
41 };
42 static const unsigned int asn_MAP_CA_BandwidthClassNR_enum2value_1[] = {
43         0,      /* a(0) */
44         1,      /* b(1) */
45         2,      /* c(2) */
46         3,      /* d(3) */
47         4,      /* e(4) */
48         5,      /* f(5) */
49         6,      /* g(6) */
50         7,      /* h(7) */
51         8,      /* i(8) */
52         9,      /* j(9) */
53         10,     /* k(10) */
54         11,     /* l(11) */
55         12,     /* m(12) */
56         13,     /* n(13) */
57         14,     /* o(14) */
58         15,     /* p(15) */
59         16      /* q(16) */
60         /* This list is extensible */
61 };
62 const asn_INTEGER_specifics_t asn_SPC_CA_BandwidthClassNR_specs_1 = {
63         asn_MAP_CA_BandwidthClassNR_value2enum_1,       /* "tag" => N; sorted by tag */
64         asn_MAP_CA_BandwidthClassNR_enum2value_1,       /* N => "tag"; sorted by N */
65         17,     /* Number of elements in the maps */
66         18,     /* 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_CA_BandwidthClassNR_tags_1[] = {
72         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
73 };
74 asn_TYPE_descriptor_t asn_DEF_CA_BandwidthClassNR = {
75         "CA-BandwidthClassNR",
76         "CA-BandwidthClassNR",
77         &asn_OP_NativeEnumerated,
78         asn_DEF_CA_BandwidthClassNR_tags_1,
79         sizeof(asn_DEF_CA_BandwidthClassNR_tags_1)
80                 /sizeof(asn_DEF_CA_BandwidthClassNR_tags_1[0]), /* 1 */
81         asn_DEF_CA_BandwidthClassNR_tags_1,     /* Same as above */
82         sizeof(asn_DEF_CA_BandwidthClassNR_tags_1)
83                 /sizeof(asn_DEF_CA_BandwidthClassNR_tags_1[0]), /* 1 */
84         { &asn_OER_type_CA_BandwidthClassNR_constr_1, &asn_PER_type_CA_BandwidthClassNR_constr_1, NativeEnumerated_constraint },
85         0, 0,   /* Defined elsewhere */
86         &asn_SPC_CA_BandwidthClassNR_specs_1    /* Additional specs */
87 };
88