[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-437] Establishing communication between Sourc...
[o-du/l2.git] / src / codec_utils / RRC / TimeToTrigger.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "../../../rrc_15.3_asn.asn1"
5  *      `asn1c -D ./25_02_2022_RRC/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "TimeToTrigger.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_TimeToTrigger_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_TimeToTrigger_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED,       4,  4,  0,  15 }       /* (0..15) */,
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_TimeToTrigger_value2enum_1[] = {
23         { 0,    3,      "ms0" },
24         { 1,    4,      "ms40" },
25         { 2,    4,      "ms64" },
26         { 3,    4,      "ms80" },
27         { 4,    5,      "ms100" },
28         { 5,    5,      "ms128" },
29         { 6,    5,      "ms160" },
30         { 7,    5,      "ms256" },
31         { 8,    5,      "ms320" },
32         { 9,    5,      "ms480" },
33         { 10,   5,      "ms512" },
34         { 11,   5,      "ms640" },
35         { 12,   6,      "ms1024" },
36         { 13,   6,      "ms1280" },
37         { 14,   6,      "ms2560" },
38         { 15,   6,      "ms5120" }
39 };
40 static const unsigned int asn_MAP_TimeToTrigger_enum2value_1[] = {
41         0,      /* ms0(0) */
42         4,      /* ms100(4) */
43         12,     /* ms1024(12) */
44         5,      /* ms128(5) */
45         13,     /* ms1280(13) */
46         6,      /* ms160(6) */
47         7,      /* ms256(7) */
48         14,     /* ms2560(14) */
49         8,      /* ms320(8) */
50         1,      /* ms40(1) */
51         9,      /* ms480(9) */
52         10,     /* ms512(10) */
53         15,     /* ms5120(15) */
54         2,      /* ms64(2) */
55         11,     /* ms640(11) */
56         3       /* ms80(3) */
57 };
58 const asn_INTEGER_specifics_t asn_SPC_TimeToTrigger_specs_1 = {
59         asn_MAP_TimeToTrigger_value2enum_1,     /* "tag" => N; sorted by tag */
60         asn_MAP_TimeToTrigger_enum2value_1,     /* N => "tag"; sorted by N */
61         16,     /* Number of elements in the maps */
62         0,      /* Enumeration is not extensible */
63         1,      /* Strict enumeration */
64         0,      /* Native long size */
65         0
66 };
67 static const ber_tlv_tag_t asn_DEF_TimeToTrigger_tags_1[] = {
68         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
69 };
70 asn_TYPE_descriptor_t asn_DEF_TimeToTrigger = {
71         "TimeToTrigger",
72         "TimeToTrigger",
73         &asn_OP_NativeEnumerated,
74         asn_DEF_TimeToTrigger_tags_1,
75         sizeof(asn_DEF_TimeToTrigger_tags_1)
76                 /sizeof(asn_DEF_TimeToTrigger_tags_1[0]), /* 1 */
77         asn_DEF_TimeToTrigger_tags_1,   /* Same as above */
78         sizeof(asn_DEF_TimeToTrigger_tags_1)
79                 /sizeof(asn_DEF_TimeToTrigger_tags_1[0]), /* 1 */
80         { &asn_OER_type_TimeToTrigger_constr_1, &asn_PER_type_TimeToTrigger_constr_1, NativeEnumerated_constraint },
81         0, 0,   /* Defined elsewhere */
82         &asn_SPC_TimeToTrigger_specs_1  /* Additional specs */
83 };
84