0458452bd9c7ff20e9266b6f8ec5f41fe1213d1a
[o-du/l2.git] / src / codec_utils / RRC / AggregatedBandwidth.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "/home/labadmin/hlal/rrc_15.3_asn.asn1"
5  *      `asn1c -D ./15_3_rrc/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "AggregatedBandwidth.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_AggregatedBandwidth_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_AggregatedBandwidth_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_AggregatedBandwidth_value2enum_1[] = {
23         { 0,    5,      "mhz50" },
24         { 1,    6,      "mhz100" },
25         { 2,    6,      "mhz150" },
26         { 3,    6,      "mhz200" },
27         { 4,    6,      "mhz250" },
28         { 5,    6,      "mhz300" },
29         { 6,    6,      "mhz350" },
30         { 7,    6,      "mhz400" },
31         { 8,    6,      "mhz450" },
32         { 9,    6,      "mhz500" },
33         { 10,   6,      "mhz550" },
34         { 11,   6,      "mhz600" },
35         { 12,   6,      "mhz650" },
36         { 13,   6,      "mhz700" },
37         { 14,   6,      "mhz750" },
38         { 15,   6,      "mhz800" }
39 };
40 static const unsigned int asn_MAP_AggregatedBandwidth_enum2value_1[] = {
41         1,      /* mhz100(1) */
42         2,      /* mhz150(2) */
43         3,      /* mhz200(3) */
44         4,      /* mhz250(4) */
45         5,      /* mhz300(5) */
46         6,      /* mhz350(6) */
47         7,      /* mhz400(7) */
48         8,      /* mhz450(8) */
49         0,      /* mhz50(0) */
50         9,      /* mhz500(9) */
51         10,     /* mhz550(10) */
52         11,     /* mhz600(11) */
53         12,     /* mhz650(12) */
54         13,     /* mhz700(13) */
55         14,     /* mhz750(14) */
56         15      /* mhz800(15) */
57 };
58 const asn_INTEGER_specifics_t asn_SPC_AggregatedBandwidth_specs_1 = {
59         asn_MAP_AggregatedBandwidth_value2enum_1,       /* "tag" => N; sorted by tag */
60         asn_MAP_AggregatedBandwidth_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_AggregatedBandwidth_tags_1[] = {
68         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
69 };
70 asn_TYPE_descriptor_t asn_DEF_AggregatedBandwidth = {
71         "AggregatedBandwidth",
72         "AggregatedBandwidth",
73         &asn_OP_NativeEnumerated,
74         asn_DEF_AggregatedBandwidth_tags_1,
75         sizeof(asn_DEF_AggregatedBandwidth_tags_1)
76                 /sizeof(asn_DEF_AggregatedBandwidth_tags_1[0]), /* 1 */
77         asn_DEF_AggregatedBandwidth_tags_1,     /* Same as above */
78         sizeof(asn_DEF_AggregatedBandwidth_tags_1)
79                 /sizeof(asn_DEF_AggregatedBandwidth_tags_1[0]), /* 1 */
80         { &asn_OER_type_AggregatedBandwidth_constr_1, &asn_PER_type_AggregatedBandwidth_constr_1, NativeEnumerated_constraint },
81         0, 0,   /* Defined elsewhere */
82         &asn_SPC_AggregatedBandwidth_specs_1    /* Additional specs */
83 };
84