cd5d8177c659cbad33bb2ad31977d5223f27a5ff
[o-du/l2.git] / src / codec_utils / RRC / BCCH-Config.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "/home/labadmin/hlal/rrc_15.3_asn.asn1"
5  *      `asn1c -D ./15_3_rrc/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "BCCH-Config.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_modificationPeriodCoeff_constr_2 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 static asn_per_constraints_t asn_PER_type_modificationPeriodCoeff_constr_2 CC_NOTUSED = {
18         { APC_CONSTRAINED,       2,  2,  0,  3 }        /* (0..3) */,
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_modificationPeriodCoeff_value2enum_2[] = {
23         { 0,    2,      "n2" },
24         { 1,    2,      "n4" },
25         { 2,    2,      "n8" },
26         { 3,    3,      "n16" }
27 };
28 static const unsigned int asn_MAP_modificationPeriodCoeff_enum2value_2[] = {
29         3,      /* n16(3) */
30         0,      /* n2(0) */
31         1,      /* n4(1) */
32         2       /* n8(2) */
33 };
34 static const asn_INTEGER_specifics_t asn_SPC_modificationPeriodCoeff_specs_2 = {
35         asn_MAP_modificationPeriodCoeff_value2enum_2,   /* "tag" => N; sorted by tag */
36         asn_MAP_modificationPeriodCoeff_enum2value_2,   /* N => "tag"; sorted by N */
37         4,      /* Number of elements in the maps */
38         0,      /* Enumeration is not extensible */
39         1,      /* Strict enumeration */
40         0,      /* Native long size */
41         0
42 };
43 static const ber_tlv_tag_t asn_DEF_modificationPeriodCoeff_tags_2[] = {
44         (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
45         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
46 };
47 static /* Use -fall-defs-global to expose */
48 asn_TYPE_descriptor_t asn_DEF_modificationPeriodCoeff_2 = {
49         "modificationPeriodCoeff",
50         "modificationPeriodCoeff",
51         &asn_OP_NativeEnumerated,
52         asn_DEF_modificationPeriodCoeff_tags_2,
53         sizeof(asn_DEF_modificationPeriodCoeff_tags_2)
54                 /sizeof(asn_DEF_modificationPeriodCoeff_tags_2[0]) - 1, /* 1 */
55         asn_DEF_modificationPeriodCoeff_tags_2, /* Same as above */
56         sizeof(asn_DEF_modificationPeriodCoeff_tags_2)
57                 /sizeof(asn_DEF_modificationPeriodCoeff_tags_2[0]), /* 2 */
58         { &asn_OER_type_modificationPeriodCoeff_constr_2, &asn_PER_type_modificationPeriodCoeff_constr_2, NativeEnumerated_constraint },
59         0, 0,   /* Defined elsewhere */
60         &asn_SPC_modificationPeriodCoeff_specs_2        /* Additional specs */
61 };
62
63 asn_TYPE_member_t asn_MBR_BCCH_Config_1[] = {
64         { ATF_NOFLAGS, 0, offsetof(struct BCCH_Config, modificationPeriodCoeff),
65                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
66                 -1,     /* IMPLICIT tag at current level */
67                 &asn_DEF_modificationPeriodCoeff_2,
68                 0,
69                 { 0, 0, 0 },
70                 0, 0, /* No default value */
71                 "modificationPeriodCoeff"
72                 },
73 };
74 static const ber_tlv_tag_t asn_DEF_BCCH_Config_tags_1[] = {
75         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
76 };
77 static const asn_TYPE_tag2member_t asn_MAP_BCCH_Config_tag2el_1[] = {
78     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* modificationPeriodCoeff */
79 };
80 asn_SEQUENCE_specifics_t asn_SPC_BCCH_Config_specs_1 = {
81         sizeof(struct BCCH_Config),
82         offsetof(struct BCCH_Config, _asn_ctx),
83         asn_MAP_BCCH_Config_tag2el_1,
84         1,      /* Count of tags in the map */
85         0, 0, 0,        /* Optional elements (not needed) */
86         1,      /* First extension addition */
87 };
88 asn_TYPE_descriptor_t asn_DEF_BCCH_Config = {
89         "BCCH-Config",
90         "BCCH-Config",
91         &asn_OP_SEQUENCE,
92         asn_DEF_BCCH_Config_tags_1,
93         sizeof(asn_DEF_BCCH_Config_tags_1)
94                 /sizeof(asn_DEF_BCCH_Config_tags_1[0]), /* 1 */
95         asn_DEF_BCCH_Config_tags_1,     /* Same as above */
96         sizeof(asn_DEF_BCCH_Config_tags_1)
97                 /sizeof(asn_DEF_BCCH_Config_tags_1[0]), /* 1 */
98         { 0, 0, SEQUENCE_constraint },
99         asn_MBR_BCCH_Config_1,
100         1,      /* Elements count */
101         &asn_SPC_BCCH_Config_specs_1    /* Additional specs */
102 };
103