blob: cd0c3291d13de415391426cfc46d3681077724a8 [file] [log] [blame]
Peter Szilagyifbc56f92019-07-23 19:29:46 +00001/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-IEs"
kalnagy1455c852019-10-21 13:06:23 +02004 * found in "X2AP-15-4-0.asn1"
5 * `asn1c -D ./asn1_n1 -pdu=auto -fno-include-deps -fcompound-names -findirect-choice -gen-PER -gen-OER -no-gen-example`
Peter Szilagyifbc56f92019-07-23 19:29:46 +00006 */
7
8#include "OffsetOfNbiotChannelNumberToEARFCN.h"
9
10/*
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
13 */
14static asn_oer_constraints_t asn_OER_type_OffsetOfNbiotChannelNumberToEARFCN_constr_1 CC_NOTUSED = {
15 { 0, 0 },
16 -1};
17static asn_per_constraints_t asn_PER_type_OffsetOfNbiotChannelNumberToEARFCN_constr_1 CC_NOTUSED = {
18 { APC_CONSTRAINED | APC_EXTENSIBLE, 5, 5, 0, 20 } /* (0..20,...) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
21};
22static const asn_INTEGER_enum_map_t asn_MAP_OffsetOfNbiotChannelNumberToEARFCN_value2enum_1[] = {
23 { 0, 8, "minusTen" },
24 { 1, 9, "minusNine" },
25 { 2, 10, "minusEight" },
26 { 3, 10, "minusSeven" },
27 { 4, 8, "minusSix" },
28 { 5, 9, "minusFive" },
29 { 6, 9, "minusFour" },
30 { 7, 10, "minusThree" },
31 { 8, 8, "minusTwo" },
32 { 9, 8, "minusOne" },
33 { 10, 16, "minusZeroDotFive" },
34 { 11, 4, "zero" },
35 { 12, 3, "one" },
36 { 13, 3, "two" },
37 { 14, 5, "three" },
38 { 15, 4, "four" },
39 { 16, 4, "five" },
40 { 17, 3, "six" },
41 { 18, 5, "seven" },
42 { 19, 5, "eight" },
43 { 20, 4, "nine" }
44 /* This list is extensible */
45};
46static const unsigned int asn_MAP_OffsetOfNbiotChannelNumberToEARFCN_enum2value_1[] = {
47 19, /* eight(19) */
48 16, /* five(16) */
49 15, /* four(15) */
50 2, /* minusEight(2) */
51 5, /* minusFive(5) */
52 6, /* minusFour(6) */
53 1, /* minusNine(1) */
54 9, /* minusOne(9) */
55 3, /* minusSeven(3) */
56 4, /* minusSix(4) */
57 0, /* minusTen(0) */
58 7, /* minusThree(7) */
59 8, /* minusTwo(8) */
60 10, /* minusZeroDotFive(10) */
61 20, /* nine(20) */
62 12, /* one(12) */
63 18, /* seven(18) */
64 17, /* six(17) */
65 14, /* three(14) */
66 13, /* two(13) */
67 11 /* zero(11) */
68 /* This list is extensible */
69};
70static const asn_INTEGER_specifics_t asn_SPC_OffsetOfNbiotChannelNumberToEARFCN_specs_1 = {
71 asn_MAP_OffsetOfNbiotChannelNumberToEARFCN_value2enum_1, /* "tag" => N; sorted by tag */
72 asn_MAP_OffsetOfNbiotChannelNumberToEARFCN_enum2value_1, /* N => "tag"; sorted by N */
73 21, /* Number of elements in the maps */
74 22, /* Extensions before this member */
75 1, /* Strict enumeration */
76 0, /* Native long size */
77 0
78};
79static const ber_tlv_tag_t asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1[] = {
80 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
81};
82asn_TYPE_descriptor_t asn_DEF_OffsetOfNbiotChannelNumberToEARFCN = {
83 "OffsetOfNbiotChannelNumberToEARFCN",
84 "OffsetOfNbiotChannelNumberToEARFCN",
85 &asn_OP_NativeEnumerated,
86 asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1,
87 sizeof(asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1)
88 /sizeof(asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1[0]), /* 1 */
89 asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1, /* Same as above */
90 sizeof(asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1)
91 /sizeof(asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1[0]), /* 1 */
92 { &asn_OER_type_OffsetOfNbiotChannelNumberToEARFCN_constr_1, &asn_PER_type_OffsetOfNbiotChannelNumberToEARFCN_constr_1, NativeEnumerated_constraint },
93 0, 0, /* Defined elsewhere */
94 &asn_SPC_OffsetOfNbiotChannelNumberToEARFCN_specs_1 /* Additional specs */
95};
96