[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / FilterCoefficient.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 "FilterCoefficient.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_FilterCoefficient_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_FilterCoefficient_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  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_FilterCoefficient_value2enum_1[] = {
23         { 0,    3,      "fc0" },
24         { 1,    3,      "fc1" },
25         { 2,    3,      "fc2" },
26         { 3,    3,      "fc3" },
27         { 4,    3,      "fc4" },
28         { 5,    3,      "fc5" },
29         { 6,    3,      "fc6" },
30         { 7,    3,      "fc7" },
31         { 8,    3,      "fc8" },
32         { 9,    3,      "fc9" },
33         { 10,   4,      "fc11" },
34         { 11,   4,      "fc13" },
35         { 12,   4,      "fc15" },
36         { 13,   4,      "fc17" },
37         { 14,   4,      "fc19" },
38         { 15,   6,      "spare1" }
39         /* This list is extensible */
40 };
41 static const unsigned int asn_MAP_FilterCoefficient_enum2value_1[] = {
42         0,      /* fc0(0) */
43         1,      /* fc1(1) */
44         10,     /* fc11(10) */
45         11,     /* fc13(11) */
46         12,     /* fc15(12) */
47         13,     /* fc17(13) */
48         14,     /* fc19(14) */
49         2,      /* fc2(2) */
50         3,      /* fc3(3) */
51         4,      /* fc4(4) */
52         5,      /* fc5(5) */
53         6,      /* fc6(6) */
54         7,      /* fc7(7) */
55         8,      /* fc8(8) */
56         9,      /* fc9(9) */
57         15      /* spare1(15) */
58         /* This list is extensible */
59 };
60 const asn_INTEGER_specifics_t asn_SPC_FilterCoefficient_specs_1 = {
61         asn_MAP_FilterCoefficient_value2enum_1, /* "tag" => N; sorted by tag */
62         asn_MAP_FilterCoefficient_enum2value_1, /* N => "tag"; sorted by N */
63         16,     /* Number of elements in the maps */
64         17,     /* Extensions before this member */
65         1,      /* Strict enumeration */
66         0,      /* Native long size */
67         0
68 };
69 static const ber_tlv_tag_t asn_DEF_FilterCoefficient_tags_1[] = {
70         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
71 };
72 asn_TYPE_descriptor_t asn_DEF_FilterCoefficient = {
73         "FilterCoefficient",
74         "FilterCoefficient",
75         &asn_OP_NativeEnumerated,
76         asn_DEF_FilterCoefficient_tags_1,
77         sizeof(asn_DEF_FilterCoefficient_tags_1)
78                 /sizeof(asn_DEF_FilterCoefficient_tags_1[0]), /* 1 */
79         asn_DEF_FilterCoefficient_tags_1,       /* Same as above */
80         sizeof(asn_DEF_FilterCoefficient_tags_1)
81                 /sizeof(asn_DEF_FilterCoefficient_tags_1[0]), /* 1 */
82         { &asn_OER_type_FilterCoefficient_constr_1, &asn_PER_type_FilterCoefficient_constr_1, NativeEnumerated_constraint },
83         0, 0,   /* Defined elsewhere */
84         &asn_SPC_FilterCoefficient_specs_1      /* Additional specs */
85 };
86