Merge "[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures MeasC...
[o-du/l2.git] / src / codec_utils / RRC / CipheringAlgorithm.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 "CipheringAlgorithm.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_CipheringAlgorithm_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_CipheringAlgorithm_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  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_CipheringAlgorithm_value2enum_1[] = {
23         { 0,    4,      "nea0" },
24         { 1,    4,      "nea1" },
25         { 2,    4,      "nea2" },
26         { 3,    4,      "nea3" },
27         { 4,    6,      "spare4" },
28         { 5,    6,      "spare3" },
29         { 6,    6,      "spare2" },
30         { 7,    6,      "spare1" }
31         /* This list is extensible */
32 };
33 static const unsigned int asn_MAP_CipheringAlgorithm_enum2value_1[] = {
34         0,      /* nea0(0) */
35         1,      /* nea1(1) */
36         2,      /* nea2(2) */
37         3,      /* nea3(3) */
38         7,      /* spare1(7) */
39         6,      /* spare2(6) */
40         5,      /* spare3(5) */
41         4       /* spare4(4) */
42         /* This list is extensible */
43 };
44 const asn_INTEGER_specifics_t asn_SPC_CipheringAlgorithm_specs_1 = {
45         asn_MAP_CipheringAlgorithm_value2enum_1,        /* "tag" => N; sorted by tag */
46         asn_MAP_CipheringAlgorithm_enum2value_1,        /* N => "tag"; sorted by N */
47         8,      /* Number of elements in the maps */
48         9,      /* Extensions before this member */
49         1,      /* Strict enumeration */
50         0,      /* Native long size */
51         0
52 };
53 static const ber_tlv_tag_t asn_DEF_CipheringAlgorithm_tags_1[] = {
54         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
55 };
56 asn_TYPE_descriptor_t asn_DEF_CipheringAlgorithm = {
57         "CipheringAlgorithm",
58         "CipheringAlgorithm",
59         &asn_OP_NativeEnumerated,
60         asn_DEF_CipheringAlgorithm_tags_1,
61         sizeof(asn_DEF_CipheringAlgorithm_tags_1)
62                 /sizeof(asn_DEF_CipheringAlgorithm_tags_1[0]), /* 1 */
63         asn_DEF_CipheringAlgorithm_tags_1,      /* Same as above */
64         sizeof(asn_DEF_CipheringAlgorithm_tags_1)
65                 /sizeof(asn_DEF_CipheringAlgorithm_tags_1[0]), /* 1 */
66         { &asn_OER_type_CipheringAlgorithm_constr_1, &asn_PER_type_CipheringAlgorithm_constr_1, NativeEnumerated_constraint },
67         0, 0,   /* Defined elsewhere */
68         &asn_SPC_CipheringAlgorithm_specs_1     /* Additional specs */
69 };
70