[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git] / src / codec_utils / RRC / Phy-ParametersFR2.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 "Phy-ParametersFR2.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 /*
15  * This type is implemented using NativeEnumerated,
16  * so here we adjust the DEF accordingly.
17  */
18 static asn_oer_constraints_t asn_OER_type_calibrationGapPA_constr_2 CC_NOTUSED = {
19         { 0, 0 },
20         -1};
21 static asn_per_constraints_t asn_PER_type_calibrationGapPA_constr_2 CC_NOTUSED = {
22         { APC_CONSTRAINED,       0,  0,  0,  0 }        /* (0..0) */,
23         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
24         0, 0    /* No PER value map */
25 };
26 static asn_oer_constraints_t asn_OER_type_pdsch_RE_MappingFR2_constr_4 CC_NOTUSED = {
27         { 0, 0 },
28         -1};
29 static asn_per_constraints_t asn_PER_type_pdsch_RE_MappingFR2_constr_4 CC_NOTUSED = {
30         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
31         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
32         0, 0    /* No PER value map */
33 };
34 static const asn_INTEGER_enum_map_t asn_MAP_calibrationGapPA_value2enum_2[] = {
35         { 0,    9,      "supported" }
36 };
37 static const unsigned int asn_MAP_calibrationGapPA_enum2value_2[] = {
38         0       /* supported(0) */
39 };
40 static const asn_INTEGER_specifics_t asn_SPC_calibrationGapPA_specs_2 = {
41         asn_MAP_calibrationGapPA_value2enum_2,  /* "tag" => N; sorted by tag */
42         asn_MAP_calibrationGapPA_enum2value_2,  /* N => "tag"; sorted by N */
43         1,      /* Number of elements in the maps */
44         0,      /* Enumeration is not extensible */
45         1,      /* Strict enumeration */
46         0,      /* Native long size */
47         0
48 };
49 static const ber_tlv_tag_t asn_DEF_calibrationGapPA_tags_2[] = {
50         (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
51         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
52 };
53 static /* Use -fall-defs-global to expose */
54 asn_TYPE_descriptor_t asn_DEF_calibrationGapPA_2 = {
55         "calibrationGapPA",
56         "calibrationGapPA",
57         &asn_OP_NativeEnumerated,
58         asn_DEF_calibrationGapPA_tags_2,
59         sizeof(asn_DEF_calibrationGapPA_tags_2)
60                 /sizeof(asn_DEF_calibrationGapPA_tags_2[0]) - 1, /* 1 */
61         asn_DEF_calibrationGapPA_tags_2,        /* Same as above */
62         sizeof(asn_DEF_calibrationGapPA_tags_2)
63                 /sizeof(asn_DEF_calibrationGapPA_tags_2[0]), /* 2 */
64         { &asn_OER_type_calibrationGapPA_constr_2, &asn_PER_type_calibrationGapPA_constr_2, NativeEnumerated_constraint },
65         0, 0,   /* Defined elsewhere */
66         &asn_SPC_calibrationGapPA_specs_2       /* Additional specs */
67 };
68
69 static const asn_INTEGER_enum_map_t asn_MAP_pdsch_RE_MappingFR2_value2enum_4[] = {
70         { 0,    2,      "n6" },
71         { 1,    3,      "n20" }
72 };
73 static const unsigned int asn_MAP_pdsch_RE_MappingFR2_enum2value_4[] = {
74         1,      /* n20(1) */
75         0       /* n6(0) */
76 };
77 static const asn_INTEGER_specifics_t asn_SPC_pdsch_RE_MappingFR2_specs_4 = {
78         asn_MAP_pdsch_RE_MappingFR2_value2enum_4,       /* "tag" => N; sorted by tag */
79         asn_MAP_pdsch_RE_MappingFR2_enum2value_4,       /* N => "tag"; sorted by N */
80         2,      /* Number of elements in the maps */
81         0,      /* Enumeration is not extensible */
82         1,      /* Strict enumeration */
83         0,      /* Native long size */
84         0
85 };
86 static const ber_tlv_tag_t asn_DEF_pdsch_RE_MappingFR2_tags_4[] = {
87         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
88         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
89 };
90 static /* Use -fall-defs-global to expose */
91 asn_TYPE_descriptor_t asn_DEF_pdsch_RE_MappingFR2_4 = {
92         "pdsch-RE-MappingFR2",
93         "pdsch-RE-MappingFR2",
94         &asn_OP_NativeEnumerated,
95         asn_DEF_pdsch_RE_MappingFR2_tags_4,
96         sizeof(asn_DEF_pdsch_RE_MappingFR2_tags_4)
97                 /sizeof(asn_DEF_pdsch_RE_MappingFR2_tags_4[0]) - 1, /* 1 */
98         asn_DEF_pdsch_RE_MappingFR2_tags_4,     /* Same as above */
99         sizeof(asn_DEF_pdsch_RE_MappingFR2_tags_4)
100                 /sizeof(asn_DEF_pdsch_RE_MappingFR2_tags_4[0]), /* 2 */
101         { &asn_OER_type_pdsch_RE_MappingFR2_constr_4, &asn_PER_type_pdsch_RE_MappingFR2_constr_4, NativeEnumerated_constraint },
102         0, 0,   /* Defined elsewhere */
103         &asn_SPC_pdsch_RE_MappingFR2_specs_4    /* Additional specs */
104 };
105
106 asn_TYPE_member_t asn_MBR_Phy_ParametersFR2_1[] = {
107         { ATF_POINTER, 2, offsetof(struct Phy_ParametersFR2, calibrationGapPA),
108                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
109                 -1,     /* IMPLICIT tag at current level */
110                 &asn_DEF_calibrationGapPA_2,
111                 0,
112                 { 0, 0, 0 },
113                 0, 0, /* No default value */
114                 "calibrationGapPA"
115                 },
116         { ATF_POINTER, 1, offsetof(struct Phy_ParametersFR2, pdsch_RE_MappingFR2),
117                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
118                 -1,     /* IMPLICIT tag at current level */
119                 &asn_DEF_pdsch_RE_MappingFR2_4,
120                 0,
121                 { 0, 0, 0 },
122                 0, 0, /* No default value */
123                 "pdsch-RE-MappingFR2"
124                 },
125 };
126 static const int asn_MAP_Phy_ParametersFR2_oms_1[] = { 0, 1 };
127 static const ber_tlv_tag_t asn_DEF_Phy_ParametersFR2_tags_1[] = {
128         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
129 };
130 static const asn_TYPE_tag2member_t asn_MAP_Phy_ParametersFR2_tag2el_1[] = {
131     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* calibrationGapPA */
132     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* pdsch-RE-MappingFR2 */
133 };
134 asn_SEQUENCE_specifics_t asn_SPC_Phy_ParametersFR2_specs_1 = {
135         sizeof(struct Phy_ParametersFR2),
136         offsetof(struct Phy_ParametersFR2, _asn_ctx),
137         asn_MAP_Phy_ParametersFR2_tag2el_1,
138         2,      /* Count of tags in the map */
139         asn_MAP_Phy_ParametersFR2_oms_1,        /* Optional members */
140         2, 0,   /* Root/Additions */
141         2,      /* First extension addition */
142 };
143 asn_TYPE_descriptor_t asn_DEF_Phy_ParametersFR2 = {
144         "Phy-ParametersFR2",
145         "Phy-ParametersFR2",
146         &asn_OP_SEQUENCE,
147         asn_DEF_Phy_ParametersFR2_tags_1,
148         sizeof(asn_DEF_Phy_ParametersFR2_tags_1)
149                 /sizeof(asn_DEF_Phy_ParametersFR2_tags_1[0]), /* 1 */
150         asn_DEF_Phy_ParametersFR2_tags_1,       /* Same as above */
151         sizeof(asn_DEF_Phy_ParametersFR2_tags_1)
152                 /sizeof(asn_DEF_Phy_ParametersFR2_tags_1[0]), /* 1 */
153         { 0, 0, SEQUENCE_constraint },
154         asn_MBR_Phy_ParametersFR2_1,
155         2,      /* Elements count */
156         &asn_SPC_Phy_ParametersFR2_specs_1      /* Additional specs */
157 };
158