blob: a54bdcdf4eb0ff4d6685e14625e599537063af37 [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"
4 * found in "Spec/e2ap-v031ex.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6 */
7
8#include "RNTP-Threshold.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_RNTP_Threshold_constr_1 CC_NOTUSED = {
15 { 0, 0 },
16 -1};
17asn_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 */
21};
22static const asn_INTEGER_enum_map_t asn_MAP_RNTP_Threshold_value2enum_1[] = {
23 { 0, 13, "minusInfinity" },
24 { 1, 11, "minusEleven" },
25 { 2, 8, "minusTen" },
26 { 3, 9, "minusNine" },
27 { 4, 10, "minusEight" },
28 { 5, 10, "minusSeven" },
29 { 6, 8, "minusSix" },
30 { 7, 9, "minusFive" },
31 { 8, 9, "minusFour" },
32 { 9, 10, "minusThree" },
33 { 10, 8, "minusTwo" },
34 { 11, 8, "minusOne" },
35 { 12, 4, "zero" },
36 { 13, 3, "one" },
37 { 14, 3, "two" },
38 { 15, 5, "three" }
39 /* This list is extensible */
40};
41static const unsigned int asn_MAP_RNTP_Threshold_enum2value_1[] = {
42 4, /* minusEight(4) */
43 1, /* minusEleven(1) */
44 7, /* minusFive(7) */
45 8, /* minusFour(8) */
46 0, /* minusInfinity(0) */
47 3, /* minusNine(3) */
48 11, /* minusOne(11) */
49 5, /* minusSeven(5) */
50 6, /* minusSix(6) */
51 2, /* minusTen(2) */
52 9, /* minusThree(9) */
53 10, /* minusTwo(10) */
54 13, /* one(13) */
55 15, /* three(15) */
56 14, /* two(14) */
57 12 /* zero(12) */
58 /* This list is extensible */
59};
60const 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 */
67 0
68};
69static const ber_tlv_tag_t asn_DEF_RNTP_Threshold_tags_1[] = {
70 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
71};
72asn_TYPE_descriptor_t asn_DEF_RNTP_Threshold = {
73 "RNTP-Threshold",
74 "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 */
85};
86