[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git] / src / codec_utils / RRC / Alpha.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 "Alpha.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_Alpha_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_Alpha_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED,       3,  3,  0,  7 }        /* (0..7) */,
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_Alpha_value2enum_1[] = {
23         { 0,    6,      "alpha0" },
24         { 1,    7,      "alpha04" },
25         { 2,    7,      "alpha05" },
26         { 3,    7,      "alpha06" },
27         { 4,    7,      "alpha07" },
28         { 5,    7,      "alpha08" },
29         { 6,    7,      "alpha09" },
30         { 7,    6,      "alpha1" }
31 };
32 static const unsigned int asn_MAP_Alpha_enum2value_1[] = {
33         0,      /* alpha0(0) */
34         1,      /* alpha04(1) */
35         2,      /* alpha05(2) */
36         3,      /* alpha06(3) */
37         4,      /* alpha07(4) */
38         5,      /* alpha08(5) */
39         6,      /* alpha09(6) */
40         7       /* alpha1(7) */
41 };
42 const asn_INTEGER_specifics_t asn_SPC_Alpha_specs_1 = {
43         asn_MAP_Alpha_value2enum_1,     /* "tag" => N; sorted by tag */
44         asn_MAP_Alpha_enum2value_1,     /* N => "tag"; sorted by N */
45         8,      /* Number of elements in the maps */
46         0,      /* Enumeration is not extensible */
47         1,      /* Strict enumeration */
48         0,      /* Native long size */
49         0
50 };
51 static const ber_tlv_tag_t asn_DEF_Alpha_tags_1[] = {
52         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
53 };
54 asn_TYPE_descriptor_t asn_DEF_Alpha = {
55         "Alpha",
56         "Alpha",
57         &asn_OP_NativeEnumerated,
58         asn_DEF_Alpha_tags_1,
59         sizeof(asn_DEF_Alpha_tags_1)
60                 /sizeof(asn_DEF_Alpha_tags_1[0]), /* 1 */
61         asn_DEF_Alpha_tags_1,   /* Same as above */
62         sizeof(asn_DEF_Alpha_tags_1)
63                 /sizeof(asn_DEF_Alpha_tags_1[0]), /* 1 */
64         { &asn_OER_type_Alpha_constr_1, &asn_PER_type_Alpha_constr_1, NativeEnumerated_constraint },
65         0, 0,   /* Defined elsewhere */
66         &asn_SPC_Alpha_specs_1  /* Additional specs */
67 };
68