2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-IEs"
4 * 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`
8 #include "RNTP-Threshold.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 static asn_oer_constraints_t asn_OER_type_RNTP_Threshold_constr_1 CC_NOTUSED = {
17 asn_per_constraints_t asn_PER_type_RNTP_Threshold_constr_1 CC_NOTUSED = {
18 { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 15 } /* (0..15,...) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
22 static const asn_INTEGER_enum_map_t asn_MAP_RNTP_Threshold_value2enum_1[] = {
23 { 0, 13, "minusInfinity" },
24 { 1, 11, "minusEleven" },
26 { 3, 9, "minusNine" },
27 { 4, 10, "minusEight" },
28 { 5, 10, "minusSeven" },
30 { 7, 9, "minusFive" },
31 { 8, 9, "minusFour" },
32 { 9, 10, "minusThree" },
33 { 10, 8, "minusTwo" },
34 { 11, 8, "minusOne" },
39 /* This list is extensible */
41 static const unsigned int asn_MAP_RNTP_Threshold_enum2value_1[] = {
42 4, /* minusEight(4) */
43 1, /* minusEleven(1) */
46 0, /* minusInfinity(0) */
48 11, /* minusOne(11) */
49 5, /* minusSeven(5) */
52 9, /* minusThree(9) */
53 10, /* minusTwo(10) */
58 /* This list is extensible */
60 const asn_INTEGER_specifics_t asn_SPC_RNTP_Threshold_specs_1 = {
61 asn_MAP_RNTP_Threshold_value2enum_1, /* "tag" => N; sorted by tag */
62 asn_MAP_RNTP_Threshold_enum2value_1, /* N => "tag"; sorted by N */
63 16, /* Number of elements in the maps */
64 17, /* Extensions before this member */
65 1, /* Strict enumeration */
66 0, /* Native long size */
69 static const ber_tlv_tag_t asn_DEF_RNTP_Threshold_tags_1[] = {
70 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
72 asn_TYPE_descriptor_t asn_DEF_RNTP_Threshold = {
75 &asn_OP_NativeEnumerated,
76 asn_DEF_RNTP_Threshold_tags_1,
77 sizeof(asn_DEF_RNTP_Threshold_tags_1)
78 /sizeof(asn_DEF_RNTP_Threshold_tags_1[0]), /* 1 */
79 asn_DEF_RNTP_Threshold_tags_1, /* Same as above */
80 sizeof(asn_DEF_RNTP_Threshold_tags_1)
81 /sizeof(asn_DEF_RNTP_Threshold_tags_1[0]), /* 1 */
82 { &asn_OER_type_RNTP_Threshold_constr_1, &asn_PER_type_RNTP_Threshold_constr_1, NativeEnumerated_constraint },
83 0, 0, /* Defined elsewhere */
84 &asn_SPC_RNTP_Threshold_specs_1 /* Additional specs */