blob: 5f9e37e1aa1f50632b6644b31227c3b704ae0d57 [file] [log] [blame]
Juha Hyttinenff8dccd2019-12-10 14:34:07 +02001/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-IEs"
4 * found in "Spec/e2_and_x2-combined-and-minimized.asn1"
5 * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
6 */
7
8#include "NRNRB.h"
9
10/*
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
13 */
14asn_per_constraints_t asn_PER_type_NRNRB_constr_1 CC_NOTUSED = {
15 { APC_CONSTRAINED | APC_EXTENSIBLE, 5, 5, 0, 28 } /* (0..28,...) */,
16 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
17 0, 0 /* No PER value map */
18};
19static const asn_INTEGER_enum_map_t asn_MAP_NRNRB_value2enum_1[] = {
20 { 0, 5, "nrb11" },
21 { 1, 5, "nrb18" },
22 { 2, 5, "nrb24" },
23 { 3, 5, "nrb25" },
24 { 4, 5, "nrb31" },
25 { 5, 5, "nrb32" },
26 { 6, 5, "nrb38" },
27 { 7, 5, "nrb51" },
28 { 8, 5, "nrb52" },
29 { 9, 5, "nrb65" },
30 { 10, 5, "nrb66" },
31 { 11, 5, "nrb78" },
32 { 12, 5, "nrb79" },
33 { 13, 5, "nrb93" },
34 { 14, 6, "nrb106" },
35 { 15, 6, "nrb107" },
36 { 16, 6, "nrb121" },
37 { 17, 6, "nrb132" },
38 { 18, 6, "nrb133" },
39 { 19, 6, "nrb135" },
40 { 20, 6, "nrb160" },
41 { 21, 6, "nrb162" },
42 { 22, 6, "nrb189" },
43 { 23, 6, "nrb216" },
44 { 24, 6, "nrb217" },
45 { 25, 6, "nrb245" },
46 { 26, 6, "nrb264" },
47 { 27, 6, "nrb270" },
48 { 28, 6, "nrb273" }
49 /* This list is extensible */
50};
51static const unsigned int asn_MAP_NRNRB_enum2value_1[] = {
52 14, /* nrb106(14) */
53 15, /* nrb107(15) */
54 0, /* nrb11(0) */
55 16, /* nrb121(16) */
56 17, /* nrb132(17) */
57 18, /* nrb133(18) */
58 19, /* nrb135(19) */
59 20, /* nrb160(20) */
60 21, /* nrb162(21) */
61 1, /* nrb18(1) */
62 22, /* nrb189(22) */
63 23, /* nrb216(23) */
64 24, /* nrb217(24) */
65 2, /* nrb24(2) */
66 25, /* nrb245(25) */
67 3, /* nrb25(3) */
68 26, /* nrb264(26) */
69 27, /* nrb270(27) */
70 28, /* nrb273(28) */
71 4, /* nrb31(4) */
72 5, /* nrb32(5) */
73 6, /* nrb38(6) */
74 7, /* nrb51(7) */
75 8, /* nrb52(8) */
76 9, /* nrb65(9) */
77 10, /* nrb66(10) */
78 11, /* nrb78(11) */
79 12, /* nrb79(12) */
80 13 /* nrb93(13) */
81 /* This list is extensible */
82};
83const asn_INTEGER_specifics_t asn_SPC_NRNRB_specs_1 = {
84 asn_MAP_NRNRB_value2enum_1, /* "tag" => N; sorted by tag */
85 asn_MAP_NRNRB_enum2value_1, /* N => "tag"; sorted by N */
86 29, /* Number of elements in the maps */
87 30, /* Extensions before this member */
88 1, /* Strict enumeration */
89 0, /* Native long size */
90 0
91};
92static const ber_tlv_tag_t asn_DEF_NRNRB_tags_1[] = {
93 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
94};
95asn_TYPE_descriptor_t asn_DEF_NRNRB = {
96 "NRNRB",
97 "NRNRB",
98 &asn_OP_NativeEnumerated,
99 asn_DEF_NRNRB_tags_1,
100 sizeof(asn_DEF_NRNRB_tags_1)
101 /sizeof(asn_DEF_NRNRB_tags_1[0]), /* 1 */
102 asn_DEF_NRNRB_tags_1, /* Same as above */
103 sizeof(asn_DEF_NRNRB_tags_1)
104 /sizeof(asn_DEF_NRNRB_tags_1[0]), /* 1 */
105 { 0, &asn_PER_type_NRNRB_constr_1, NativeEnumerated_constraint },
106 0, 0, /* Defined elsewhere */
107 &asn_SPC_NRNRB_specs_1 /* Additional specs */
108};
109