Updated documentation for mock a1 tool
[ric-app/admin.git] / asn1c_defs / X2N_ReportIntervalMDT.c
1 /*
2  * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "../../asn_defs/asn1/x2ap-15-04.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
6  */
7
8 #include "X2N_ReportIntervalMDT.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 asn_per_constraints_t asn_PER_type_X2N_ReportIntervalMDT_constr_1 CC_NOTUSED = {
15         { APC_CONSTRAINED,       4,  4,  0,  12 }       /* (0..12) */,
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_X2N_ReportIntervalMDT_value2enum_1[] = {
20         { 0,    5,      "ms120" },
21         { 1,    5,      "ms240" },
22         { 2,    5,      "ms480" },
23         { 3,    5,      "ms640" },
24         { 4,    6,      "ms1024" },
25         { 5,    6,      "ms2048" },
26         { 6,    6,      "ms5120" },
27         { 7,    7,      "ms10240" },
28         { 8,    4,      "min1" },
29         { 9,    4,      "min6" },
30         { 10,   5,      "min12" },
31         { 11,   5,      "min30" },
32         { 12,   5,      "min60" }
33 };
34 static const unsigned int asn_MAP_X2N_ReportIntervalMDT_enum2value_1[] = {
35         8,      /* min1(8) */
36         10,     /* min12(10) */
37         11,     /* min30(11) */
38         9,      /* min6(9) */
39         12,     /* min60(12) */
40         4,      /* ms1024(4) */
41         7,      /* ms10240(7) */
42         0,      /* ms120(0) */
43         5,      /* ms2048(5) */
44         1,      /* ms240(1) */
45         2,      /* ms480(2) */
46         6,      /* ms5120(6) */
47         3       /* ms640(3) */
48 };
49 const asn_INTEGER_specifics_t asn_SPC_X2N_ReportIntervalMDT_specs_1 = {
50         asn_MAP_X2N_ReportIntervalMDT_value2enum_1,     /* "tag" => N; sorted by tag */
51         asn_MAP_X2N_ReportIntervalMDT_enum2value_1,     /* N => "tag"; sorted by N */
52         13,     /* Number of elements in the maps */
53         0,      /* Enumeration is not extensible */
54         1,      /* Strict enumeration */
55         0,      /* Native long size */
56         0
57 };
58 static const ber_tlv_tag_t asn_DEF_X2N_ReportIntervalMDT_tags_1[] = {
59         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
60 };
61 asn_TYPE_descriptor_t asn_DEF_X2N_ReportIntervalMDT = {
62         "ReportIntervalMDT",
63         "ReportIntervalMDT",
64         &asn_OP_NativeEnumerated,
65         asn_DEF_X2N_ReportIntervalMDT_tags_1,
66         sizeof(asn_DEF_X2N_ReportIntervalMDT_tags_1)
67                 /sizeof(asn_DEF_X2N_ReportIntervalMDT_tags_1[0]), /* 1 */
68         asn_DEF_X2N_ReportIntervalMDT_tags_1,   /* Same as above */
69         sizeof(asn_DEF_X2N_ReportIntervalMDT_tags_1)
70                 /sizeof(asn_DEF_X2N_ReportIntervalMDT_tags_1[0]), /* 1 */
71         { 0, &asn_PER_type_X2N_ReportIntervalMDT_constr_1, NativeEnumerated_constraint },
72         0, 0,   /* Defined elsewhere */
73         &asn_SPC_X2N_ReportIntervalMDT_specs_1  /* Additional specs */
74 };
75