RICPLT-2801 Implement Subscription Request timer, RICPLT-2801 Implement Subscription...
[ric-plt/submgr.git] / e2ap / lib / M6delay-threshold.c
1 /*
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`
6  */
7
8 #include "M6delay-threshold.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 static asn_oer_constraints_t asn_OER_type_M6delay_threshold_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_M6delay_threshold_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  4,  4,  0,  11 }   /* (0..11,...) */,
19         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
20         0, 0    /* No PER value map */
21 };
22 static const asn_INTEGER_enum_map_t asn_MAP_M6delay_threshold_value2enum_1[] = {
23         { 0,    4,      "ms30" },
24         { 1,    4,      "ms40" },
25         { 2,    4,      "ms50" },
26         { 3,    4,      "ms60" },
27         { 4,    4,      "ms70" },
28         { 5,    4,      "ms80" },
29         { 6,    4,      "ms90" },
30         { 7,    5,      "ms100" },
31         { 8,    5,      "ms150" },
32         { 9,    5,      "ms300" },
33         { 10,   5,      "ms500" },
34         { 11,   5,      "ms750" }
35         /* This list is extensible */
36 };
37 static const unsigned int asn_MAP_M6delay_threshold_enum2value_1[] = {
38         7,      /* ms100(7) */
39         8,      /* ms150(8) */
40         0,      /* ms30(0) */
41         9,      /* ms300(9) */
42         1,      /* ms40(1) */
43         2,      /* ms50(2) */
44         10,     /* ms500(10) */
45         3,      /* ms60(3) */
46         4,      /* ms70(4) */
47         11,     /* ms750(11) */
48         5,      /* ms80(5) */
49         6       /* ms90(6) */
50         /* This list is extensible */
51 };
52 const asn_INTEGER_specifics_t asn_SPC_M6delay_threshold_specs_1 = {
53         asn_MAP_M6delay_threshold_value2enum_1, /* "tag" => N; sorted by tag */
54         asn_MAP_M6delay_threshold_enum2value_1, /* N => "tag"; sorted by N */
55         12,     /* Number of elements in the maps */
56         13,     /* Extensions before this member */
57         1,      /* Strict enumeration */
58         0,      /* Native long size */
59         0
60 };
61 static const ber_tlv_tag_t asn_DEF_M6delay_threshold_tags_1[] = {
62         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
63 };
64 asn_TYPE_descriptor_t asn_DEF_M6delay_threshold = {
65         "M6delay-threshold",
66         "M6delay-threshold",
67         &asn_OP_NativeEnumerated,
68         asn_DEF_M6delay_threshold_tags_1,
69         sizeof(asn_DEF_M6delay_threshold_tags_1)
70                 /sizeof(asn_DEF_M6delay_threshold_tags_1[0]), /* 1 */
71         asn_DEF_M6delay_threshold_tags_1,       /* Same as above */
72         sizeof(asn_DEF_M6delay_threshold_tags_1)
73                 /sizeof(asn_DEF_M6delay_threshold_tags_1[0]), /* 1 */
74         { &asn_OER_type_M6delay_threshold_constr_1, &asn_PER_type_M6delay_threshold_constr_1, NativeEnumerated_constraint },
75         0, 0,   /* Defined elsewhere */
76         &asn_SPC_M6delay_threshold_specs_1      /* Additional specs */
77 };
78