Juha Hyttinen | ff8dccd | 2019-12-10 14:34:07 +0200 | [diff] [blame] | 1 | /* |
| 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 "OffsetOfNbiotChannelNumberToEARFCN.h" |
| 9 | |
| 10 | /* |
| 11 | * This type is implemented using NativeEnumerated, |
| 12 | * so here we adjust the DEF accordingly. |
| 13 | */ |
| 14 | static asn_per_constraints_t asn_PER_type_OffsetOfNbiotChannelNumberToEARFCN_constr_1 CC_NOTUSED = { |
| 15 | { APC_CONSTRAINED | APC_EXTENSIBLE, 5, 5, 0, 20 } /* (0..20,...) */, |
| 16 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 17 | 0, 0 /* No PER value map */ |
| 18 | }; |
| 19 | static const asn_INTEGER_enum_map_t asn_MAP_OffsetOfNbiotChannelNumberToEARFCN_value2enum_1[] = { |
| 20 | { 0, 8, "minusTen" }, |
| 21 | { 1, 9, "minusNine" }, |
| 22 | { 2, 10, "minusEight" }, |
| 23 | { 3, 10, "minusSeven" }, |
| 24 | { 4, 8, "minusSix" }, |
| 25 | { 5, 9, "minusFive" }, |
| 26 | { 6, 9, "minusFour" }, |
| 27 | { 7, 10, "minusThree" }, |
| 28 | { 8, 8, "minusTwo" }, |
| 29 | { 9, 8, "minusOne" }, |
| 30 | { 10, 16, "minusZeroDotFive" }, |
| 31 | { 11, 4, "zero" }, |
| 32 | { 12, 3, "one" }, |
| 33 | { 13, 3, "two" }, |
| 34 | { 14, 5, "three" }, |
| 35 | { 15, 4, "four" }, |
| 36 | { 16, 4, "five" }, |
| 37 | { 17, 3, "six" }, |
| 38 | { 18, 5, "seven" }, |
| 39 | { 19, 5, "eight" }, |
| 40 | { 20, 4, "nine" } |
| 41 | /* This list is extensible */ |
| 42 | }; |
| 43 | static const unsigned int asn_MAP_OffsetOfNbiotChannelNumberToEARFCN_enum2value_1[] = { |
| 44 | 19, /* eight(19) */ |
| 45 | 16, /* five(16) */ |
| 46 | 15, /* four(15) */ |
| 47 | 2, /* minusEight(2) */ |
| 48 | 5, /* minusFive(5) */ |
| 49 | 6, /* minusFour(6) */ |
| 50 | 1, /* minusNine(1) */ |
| 51 | 9, /* minusOne(9) */ |
| 52 | 3, /* minusSeven(3) */ |
| 53 | 4, /* minusSix(4) */ |
| 54 | 0, /* minusTen(0) */ |
| 55 | 7, /* minusThree(7) */ |
| 56 | 8, /* minusTwo(8) */ |
| 57 | 10, /* minusZeroDotFive(10) */ |
| 58 | 20, /* nine(20) */ |
| 59 | 12, /* one(12) */ |
| 60 | 18, /* seven(18) */ |
| 61 | 17, /* six(17) */ |
| 62 | 14, /* three(14) */ |
| 63 | 13, /* two(13) */ |
| 64 | 11 /* zero(11) */ |
| 65 | /* This list is extensible */ |
| 66 | }; |
| 67 | static const asn_INTEGER_specifics_t asn_SPC_OffsetOfNbiotChannelNumberToEARFCN_specs_1 = { |
| 68 | asn_MAP_OffsetOfNbiotChannelNumberToEARFCN_value2enum_1, /* "tag" => N; sorted by tag */ |
| 69 | asn_MAP_OffsetOfNbiotChannelNumberToEARFCN_enum2value_1, /* N => "tag"; sorted by N */ |
| 70 | 21, /* Number of elements in the maps */ |
| 71 | 22, /* Extensions before this member */ |
| 72 | 1, /* Strict enumeration */ |
| 73 | 0, /* Native long size */ |
| 74 | 0 |
| 75 | }; |
| 76 | static const ber_tlv_tag_t asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1[] = { |
| 77 | (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) |
| 78 | }; |
| 79 | asn_TYPE_descriptor_t asn_DEF_OffsetOfNbiotChannelNumberToEARFCN = { |
| 80 | "OffsetOfNbiotChannelNumberToEARFCN", |
| 81 | "OffsetOfNbiotChannelNumberToEARFCN", |
| 82 | &asn_OP_NativeEnumerated, |
| 83 | asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1, |
| 84 | sizeof(asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1) |
| 85 | /sizeof(asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1[0]), /* 1 */ |
| 86 | asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1, /* Same as above */ |
| 87 | sizeof(asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1) |
| 88 | /sizeof(asn_DEF_OffsetOfNbiotChannelNumberToEARFCN_tags_1[0]), /* 1 */ |
| 89 | { 0, &asn_PER_type_OffsetOfNbiotChannelNumberToEARFCN_constr_1, NativeEnumerated_constraint }, |
| 90 | 0, 0, /* Defined elsewhere */ |
| 91 | &asn_SPC_OffsetOfNbiotChannelNumberToEARFCN_specs_1 /* Additional specs */ |
| 92 | }; |
| 93 | |