4d2ac9d830d989f4709f07933d71c293d40fcc87
[o-du/l2.git] / src / codec_utils / RRC / ReducedAggregatedBandwidth.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 "ReducedAggregatedBandwidth.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_ReducedAggregatedBandwidth_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_ReducedAggregatedBandwidth_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED,       4,  4,  0,  11 }       /* (0..11) */,
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_ReducedAggregatedBandwidth_value2enum_1[] = {
23         { 0,    4,      "mhz0" },
24         { 1,    5,      "mhz10" },
25         { 2,    5,      "mhz20" },
26         { 3,    5,      "mhz30" },
27         { 4,    5,      "mhz40" },
28         { 5,    5,      "mhz50" },
29         { 6,    5,      "mhz60" },
30         { 7,    5,      "mhz80" },
31         { 8,    6,      "mhz100" },
32         { 9,    6,      "mhz200" },
33         { 10,   6,      "mhz300" },
34         { 11,   6,      "mhz400" }
35 };
36 static const unsigned int asn_MAP_ReducedAggregatedBandwidth_enum2value_1[] = {
37         0,      /* mhz0(0) */
38         1,      /* mhz10(1) */
39         8,      /* mhz100(8) */
40         2,      /* mhz20(2) */
41         9,      /* mhz200(9) */
42         3,      /* mhz30(3) */
43         10,     /* mhz300(10) */
44         4,      /* mhz40(4) */
45         11,     /* mhz400(11) */
46         5,      /* mhz50(5) */
47         6,      /* mhz60(6) */
48         7       /* mhz80(7) */
49 };
50 const asn_INTEGER_specifics_t asn_SPC_ReducedAggregatedBandwidth_specs_1 = {
51         asn_MAP_ReducedAggregatedBandwidth_value2enum_1,        /* "tag" => N; sorted by tag */
52         asn_MAP_ReducedAggregatedBandwidth_enum2value_1,        /* N => "tag"; sorted by N */
53         12,     /* Number of elements in the maps */
54         0,      /* Enumeration is not extensible */
55         1,      /* Strict enumeration */
56         0,      /* Native long size */
57         0
58 };
59 static const ber_tlv_tag_t asn_DEF_ReducedAggregatedBandwidth_tags_1[] = {
60         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
61 };
62 asn_TYPE_descriptor_t asn_DEF_ReducedAggregatedBandwidth = {
63         "ReducedAggregatedBandwidth",
64         "ReducedAggregatedBandwidth",
65         &asn_OP_NativeEnumerated,
66         asn_DEF_ReducedAggregatedBandwidth_tags_1,
67         sizeof(asn_DEF_ReducedAggregatedBandwidth_tags_1)
68                 /sizeof(asn_DEF_ReducedAggregatedBandwidth_tags_1[0]), /* 1 */
69         asn_DEF_ReducedAggregatedBandwidth_tags_1,      /* Same as above */
70         sizeof(asn_DEF_ReducedAggregatedBandwidth_tags_1)
71                 /sizeof(asn_DEF_ReducedAggregatedBandwidth_tags_1[0]), /* 1 */
72         { &asn_OER_type_ReducedAggregatedBandwidth_constr_1, &asn_PER_type_ReducedAggregatedBandwidth_constr_1, NativeEnumerated_constraint },
73         0, 0,   /* Defined elsewhere */
74         &asn_SPC_ReducedAggregatedBandwidth_specs_1     /* Additional specs */
75 };
76