Updated documentation for mock a1 tool
[ric-app/admin.git] / asn1c_defs / X2N_M6delay-threshold.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_M6delay-threshold.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_M6delay_threshold_constr_1 CC_NOTUSED = {
15         { APC_CONSTRAINED | APC_EXTENSIBLE,  4,  4,  0,  11 }   /* (0..11,...) */,
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_M6delay_threshold_value2enum_1[] = {
20         { 0,    4,      "ms30" },
21         { 1,    4,      "ms40" },
22         { 2,    4,      "ms50" },
23         { 3,    4,      "ms60" },
24         { 4,    4,      "ms70" },
25         { 5,    4,      "ms80" },
26         { 6,    4,      "ms90" },
27         { 7,    5,      "ms100" },
28         { 8,    5,      "ms150" },
29         { 9,    5,      "ms300" },
30         { 10,   5,      "ms500" },
31         { 11,   5,      "ms750" }
32         /* This list is extensible */
33 };
34 static const unsigned int asn_MAP_X2N_M6delay_threshold_enum2value_1[] = {
35         7,      /* ms100(7) */
36         8,      /* ms150(8) */
37         0,      /* ms30(0) */
38         9,      /* ms300(9) */
39         1,      /* ms40(1) */
40         2,      /* ms50(2) */
41         10,     /* ms500(10) */
42         3,      /* ms60(3) */
43         4,      /* ms70(4) */
44         11,     /* ms750(11) */
45         5,      /* ms80(5) */
46         6       /* ms90(6) */
47         /* This list is extensible */
48 };
49 const asn_INTEGER_specifics_t asn_SPC_X2N_M6delay_threshold_specs_1 = {
50         asn_MAP_X2N_M6delay_threshold_value2enum_1,     /* "tag" => N; sorted by tag */
51         asn_MAP_X2N_M6delay_threshold_enum2value_1,     /* N => "tag"; sorted by N */
52         12,     /* Number of elements in the maps */
53         13,     /* Extensions before this member */
54         1,      /* Strict enumeration */
55         0,      /* Native long size */
56         0
57 };
58 static const ber_tlv_tag_t asn_DEF_X2N_M6delay_threshold_tags_1[] = {
59         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
60 };
61 asn_TYPE_descriptor_t asn_DEF_X2N_M6delay_threshold = {
62         "M6delay-threshold",
63         "M6delay-threshold",
64         &asn_OP_NativeEnumerated,
65         asn_DEF_X2N_M6delay_threshold_tags_1,
66         sizeof(asn_DEF_X2N_M6delay_threshold_tags_1)
67                 /sizeof(asn_DEF_X2N_M6delay_threshold_tags_1[0]), /* 1 */
68         asn_DEF_X2N_M6delay_threshold_tags_1,   /* Same as above */
69         sizeof(asn_DEF_X2N_M6delay_threshold_tags_1)
70                 /sizeof(asn_DEF_X2N_M6delay_threshold_tags_1[0]), /* 1 */
71         { 0, &asn_PER_type_X2N_M6delay_threshold_constr_1, NativeEnumerated_constraint },
72         0, 0,   /* Defined elsewhere */
73         &asn_SPC_X2N_M6delay_threshold_specs_1  /* Additional specs */
74 };
75