[Epic-ID: ODUHIGH-475][Task-ID: ODUHIGH-476]F1AP codec update
[o-du/l2.git] / src / codec_utils / F1AP / NRNRB.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "F1AP-IEs"
4  *      found in "../F1.asn1"
5  *      `asn1c -D ../F1_output/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #include "NRNRB.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_NRNRB_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_NRNRB_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  0,  28 }   /* (0..28,...) */,
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_NRNRB_value2enum_1[] = {
23         { 0,    5,      "nrb11" },
24         { 1,    5,      "nrb18" },
25         { 2,    5,      "nrb24" },
26         { 3,    5,      "nrb25" },
27         { 4,    5,      "nrb31" },
28         { 5,    5,      "nrb32" },
29         { 6,    5,      "nrb38" },
30         { 7,    5,      "nrb51" },
31         { 8,    5,      "nrb52" },
32         { 9,    5,      "nrb65" },
33         { 10,   5,      "nrb66" },
34         { 11,   5,      "nrb78" },
35         { 12,   5,      "nrb79" },
36         { 13,   5,      "nrb93" },
37         { 14,   6,      "nrb106" },
38         { 15,   6,      "nrb107" },
39         { 16,   6,      "nrb121" },
40         { 17,   6,      "nrb132" },
41         { 18,   6,      "nrb133" },
42         { 19,   6,      "nrb135" },
43         { 20,   6,      "nrb160" },
44         { 21,   6,      "nrb162" },
45         { 22,   6,      "nrb189" },
46         { 23,   6,      "nrb216" },
47         { 24,   6,      "nrb217" },
48         { 25,   6,      "nrb245" },
49         { 26,   6,      "nrb264" },
50         { 27,   6,      "nrb270" },
51         { 28,   6,      "nrb273" }
52         /* This list is extensible */
53 };
54 static const unsigned int asn_MAP_NRNRB_enum2value_1[] = {
55         14,     /* nrb106(14) */
56         15,     /* nrb107(15) */
57         0,      /* nrb11(0) */
58         16,     /* nrb121(16) */
59         17,     /* nrb132(17) */
60         18,     /* nrb133(18) */
61         19,     /* nrb135(19) */
62         20,     /* nrb160(20) */
63         21,     /* nrb162(21) */
64         1,      /* nrb18(1) */
65         22,     /* nrb189(22) */
66         23,     /* nrb216(23) */
67         24,     /* nrb217(24) */
68         2,      /* nrb24(2) */
69         25,     /* nrb245(25) */
70         3,      /* nrb25(3) */
71         26,     /* nrb264(26) */
72         27,     /* nrb270(27) */
73         28,     /* nrb273(28) */
74         4,      /* nrb31(4) */
75         5,      /* nrb32(5) */
76         6,      /* nrb38(6) */
77         7,      /* nrb51(7) */
78         8,      /* nrb52(8) */
79         9,      /* nrb65(9) */
80         10,     /* nrb66(10) */
81         11,     /* nrb78(11) */
82         12,     /* nrb79(12) */
83         13      /* nrb93(13) */
84         /* This list is extensible */
85 };
86 const asn_INTEGER_specifics_t asn_SPC_NRNRB_specs_1 = {
87         asn_MAP_NRNRB_value2enum_1,     /* "tag" => N; sorted by tag */
88         asn_MAP_NRNRB_enum2value_1,     /* N => "tag"; sorted by N */
89         29,     /* Number of elements in the maps */
90         30,     /* Extensions before this member */
91         1,      /* Strict enumeration */
92         0,      /* Native long size */
93         0
94 };
95 static const ber_tlv_tag_t asn_DEF_NRNRB_tags_1[] = {
96         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
97 };
98 asn_TYPE_descriptor_t asn_DEF_NRNRB = {
99         "NRNRB",
100         "NRNRB",
101         &asn_OP_NativeEnumerated,
102         asn_DEF_NRNRB_tags_1,
103         sizeof(asn_DEF_NRNRB_tags_1)
104                 /sizeof(asn_DEF_NRNRB_tags_1[0]), /* 1 */
105         asn_DEF_NRNRB_tags_1,   /* Same as above */
106         sizeof(asn_DEF_NRNRB_tags_1)
107                 /sizeof(asn_DEF_NRNRB_tags_1[0]), /* 1 */
108         { &asn_OER_type_NRNRB_constr_1, &asn_PER_type_NRNRB_constr_1, NativeEnumerated_constraint },
109         0, 0,   /* Defined elsewhere */
110         &asn_SPC_NRNRB_specs_1  /* Additional specs */
111 };
112