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`
8 #include "RNTP-Threshold.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 asn_per_constraints_t asn_PER_type_RNTP_Threshold_constr_1 CC_NOTUSED = {
15 { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 15 } /* (0..15,...) */,
16 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
17 0, 0 /* No PER value map */
19 static const asn_INTEGER_enum_map_t asn_MAP_RNTP_Threshold_value2enum_1[] = {
20 { 0, 13, "minusInfinity" },
21 { 1, 11, "minusEleven" },
23 { 3, 9, "minusNine" },
24 { 4, 10, "minusEight" },
25 { 5, 10, "minusSeven" },
27 { 7, 9, "minusFive" },
28 { 8, 9, "minusFour" },
29 { 9, 10, "minusThree" },
30 { 10, 8, "minusTwo" },
31 { 11, 8, "minusOne" },
36 /* This list is extensible */
38 static const unsigned int asn_MAP_RNTP_Threshold_enum2value_1[] = {
39 4, /* minusEight(4) */
40 1, /* minusEleven(1) */
43 0, /* minusInfinity(0) */
45 11, /* minusOne(11) */
46 5, /* minusSeven(5) */
49 9, /* minusThree(9) */
50 10, /* minusTwo(10) */
55 /* This list is extensible */
57 const asn_INTEGER_specifics_t asn_SPC_RNTP_Threshold_specs_1 = {
58 asn_MAP_RNTP_Threshold_value2enum_1, /* "tag" => N; sorted by tag */
59 asn_MAP_RNTP_Threshold_enum2value_1, /* N => "tag"; sorted by N */
60 16, /* Number of elements in the maps */
61 17, /* Extensions before this member */
62 1, /* Strict enumeration */
63 0, /* Native long size */
66 static const ber_tlv_tag_t asn_DEF_RNTP_Threshold_tags_1[] = {
67 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
69 asn_TYPE_descriptor_t asn_DEF_RNTP_Threshold = {
72 &asn_OP_NativeEnumerated,
73 asn_DEF_RNTP_Threshold_tags_1,
74 sizeof(asn_DEF_RNTP_Threshold_tags_1)
75 /sizeof(asn_DEF_RNTP_Threshold_tags_1[0]), /* 1 */
76 asn_DEF_RNTP_Threshold_tags_1, /* Same as above */
77 sizeof(asn_DEF_RNTP_Threshold_tags_1)
78 /sizeof(asn_DEF_RNTP_Threshold_tags_1[0]), /* 1 */
79 { 0, &asn_PER_type_RNTP_Threshold_constr_1, NativeEnumerated_constraint },
80 0, 0, /* Defined elsewhere */
81 &asn_SPC_RNTP_Threshold_specs_1 /* Additional specs */