[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git] / src / codec_utils / RRC / ReportInterval.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "./22April22_Paging/rrc_15.3_asn.asn1"
5  *      `asn1c -D ./22April22_Paging -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "ReportInterval.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_ReportInterval_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_ReportInterval_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED,       4,  4,  0,  13 }       /* (0..13) */,
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_ReportInterval_value2enum_1[] = {
23         { 0,    5,      "ms120" },
24         { 1,    5,      "ms240" },
25         { 2,    5,      "ms480" },
26         { 3,    5,      "ms640" },
27         { 4,    6,      "ms1024" },
28         { 5,    6,      "ms2048" },
29         { 6,    6,      "ms5120" },
30         { 7,    7,      "ms10240" },
31         { 8,    7,      "ms20480" },
32         { 9,    7,      "ms40960" },
33         { 10,   4,      "min1" },
34         { 11,   4,      "min6" },
35         { 12,   5,      "min12" },
36         { 13,   5,      "min30" }
37 };
38 static const unsigned int asn_MAP_ReportInterval_enum2value_1[] = {
39         10,     /* min1(10) */
40         12,     /* min12(12) */
41         13,     /* min30(13) */
42         11,     /* min6(11) */
43         4,      /* ms1024(4) */
44         7,      /* ms10240(7) */
45         0,      /* ms120(0) */
46         5,      /* ms2048(5) */
47         8,      /* ms20480(8) */
48         1,      /* ms240(1) */
49         9,      /* ms40960(9) */
50         2,      /* ms480(2) */
51         6,      /* ms5120(6) */
52         3       /* ms640(3) */
53 };
54 const asn_INTEGER_specifics_t asn_SPC_ReportInterval_specs_1 = {
55         asn_MAP_ReportInterval_value2enum_1,    /* "tag" => N; sorted by tag */
56         asn_MAP_ReportInterval_enum2value_1,    /* N => "tag"; sorted by N */
57         14,     /* Number of elements in the maps */
58         0,      /* Enumeration is not extensible */
59         1,      /* Strict enumeration */
60         0,      /* Native long size */
61         0
62 };
63 static const ber_tlv_tag_t asn_DEF_ReportInterval_tags_1[] = {
64         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
65 };
66 asn_TYPE_descriptor_t asn_DEF_ReportInterval = {
67         "ReportInterval",
68         "ReportInterval",
69         &asn_OP_NativeEnumerated,
70         asn_DEF_ReportInterval_tags_1,
71         sizeof(asn_DEF_ReportInterval_tags_1)
72                 /sizeof(asn_DEF_ReportInterval_tags_1[0]), /* 1 */
73         asn_DEF_ReportInterval_tags_1,  /* Same as above */
74         sizeof(asn_DEF_ReportInterval_tags_1)
75                 /sizeof(asn_DEF_ReportInterval_tags_1[0]), /* 1 */
76         { &asn_OER_type_ReportInterval_constr_1, &asn_PER_type_ReportInterval_constr_1, NativeEnumerated_constraint },
77         0, 0,   /* Defined elsewhere */
78         &asn_SPC_ReportInterval_specs_1 /* Additional specs */
79 };
80