2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "02_Aug/rrc_15_3_asn.asn1"
5 * `asn1c -D ./Aug02 -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "BeamManagementSSB-CSI-RS.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
15 * This type is implemented using NativeEnumerated,
16 * so here we adjust the DEF accordingly.
19 * This type is implemented using NativeEnumerated,
20 * so here we adjust the DEF accordingly.
22 static asn_oer_constraints_t asn_OER_type_maxNumberSSB_CSI_RS_ResourceOneTx_constr_2 CC_NOTUSED = {
25 static asn_per_constraints_t asn_PER_type_maxNumberSSB_CSI_RS_ResourceOneTx_constr_2 CC_NOTUSED = {
26 { APC_CONSTRAINED, 3, 3, 0, 4 } /* (0..4) */,
27 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
28 0, 0 /* No PER value map */
30 static asn_oer_constraints_t asn_OER_type_maxNumberCSI_RS_ResourceTwoTx_constr_8 CC_NOTUSED = {
33 static asn_per_constraints_t asn_PER_type_maxNumberCSI_RS_ResourceTwoTx_constr_8 CC_NOTUSED = {
34 { APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */,
35 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
36 0, 0 /* No PER value map */
38 static asn_oer_constraints_t asn_OER_type_supportedCSI_RS_Density_constr_15 CC_NOTUSED = {
41 static asn_per_constraints_t asn_PER_type_supportedCSI_RS_Density_constr_15 CC_NOTUSED = {
42 { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */,
43 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
44 0, 0 /* No PER value map */
46 static const asn_INTEGER_enum_map_t asn_MAP_maxNumberSSB_CSI_RS_ResourceOneTx_value2enum_2[] = {
53 static const unsigned int asn_MAP_maxNumberSSB_CSI_RS_ResourceOneTx_enum2value_2[] = {
60 static const asn_INTEGER_specifics_t asn_SPC_maxNumberSSB_CSI_RS_ResourceOneTx_specs_2 = {
61 asn_MAP_maxNumberSSB_CSI_RS_ResourceOneTx_value2enum_2, /* "tag" => N; sorted by tag */
62 asn_MAP_maxNumberSSB_CSI_RS_ResourceOneTx_enum2value_2, /* N => "tag"; sorted by N */
63 5, /* Number of elements in the maps */
64 0, /* Enumeration is not extensible */
65 1, /* Strict enumeration */
66 0, /* Native long size */
69 static const ber_tlv_tag_t asn_DEF_maxNumberSSB_CSI_RS_ResourceOneTx_tags_2[] = {
70 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
71 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
73 static /* Use -fall-defs-global to expose */
74 asn_TYPE_descriptor_t asn_DEF_maxNumberSSB_CSI_RS_ResourceOneTx_2 = {
75 "maxNumberSSB-CSI-RS-ResourceOneTx",
76 "maxNumberSSB-CSI-RS-ResourceOneTx",
77 &asn_OP_NativeEnumerated,
78 asn_DEF_maxNumberSSB_CSI_RS_ResourceOneTx_tags_2,
79 sizeof(asn_DEF_maxNumberSSB_CSI_RS_ResourceOneTx_tags_2)
80 /sizeof(asn_DEF_maxNumberSSB_CSI_RS_ResourceOneTx_tags_2[0]) - 1, /* 1 */
81 asn_DEF_maxNumberSSB_CSI_RS_ResourceOneTx_tags_2, /* Same as above */
82 sizeof(asn_DEF_maxNumberSSB_CSI_RS_ResourceOneTx_tags_2)
83 /sizeof(asn_DEF_maxNumberSSB_CSI_RS_ResourceOneTx_tags_2[0]), /* 2 */
84 { &asn_OER_type_maxNumberSSB_CSI_RS_ResourceOneTx_constr_2, &asn_PER_type_maxNumberSSB_CSI_RS_ResourceOneTx_constr_2, NativeEnumerated_constraint },
85 0, 0, /* Defined elsewhere */
86 &asn_SPC_maxNumberSSB_CSI_RS_ResourceOneTx_specs_2 /* Additional specs */
89 static const asn_INTEGER_enum_map_t asn_MAP_maxNumberCSI_RS_ResourceTwoTx_value2enum_8[] = {
97 static const unsigned int asn_MAP_maxNumberCSI_RS_ResourceTwoTx_enum2value_8[] = {
105 static const asn_INTEGER_specifics_t asn_SPC_maxNumberCSI_RS_ResourceTwoTx_specs_8 = {
106 asn_MAP_maxNumberCSI_RS_ResourceTwoTx_value2enum_8, /* "tag" => N; sorted by tag */
107 asn_MAP_maxNumberCSI_RS_ResourceTwoTx_enum2value_8, /* N => "tag"; sorted by N */
108 6, /* Number of elements in the maps */
109 0, /* Enumeration is not extensible */
110 1, /* Strict enumeration */
111 0, /* Native long size */
114 static const ber_tlv_tag_t asn_DEF_maxNumberCSI_RS_ResourceTwoTx_tags_8[] = {
115 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
116 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
118 static /* Use -fall-defs-global to expose */
119 asn_TYPE_descriptor_t asn_DEF_maxNumberCSI_RS_ResourceTwoTx_8 = {
120 "maxNumberCSI-RS-ResourceTwoTx",
121 "maxNumberCSI-RS-ResourceTwoTx",
122 &asn_OP_NativeEnumerated,
123 asn_DEF_maxNumberCSI_RS_ResourceTwoTx_tags_8,
124 sizeof(asn_DEF_maxNumberCSI_RS_ResourceTwoTx_tags_8)
125 /sizeof(asn_DEF_maxNumberCSI_RS_ResourceTwoTx_tags_8[0]) - 1, /* 1 */
126 asn_DEF_maxNumberCSI_RS_ResourceTwoTx_tags_8, /* Same as above */
127 sizeof(asn_DEF_maxNumberCSI_RS_ResourceTwoTx_tags_8)
128 /sizeof(asn_DEF_maxNumberCSI_RS_ResourceTwoTx_tags_8[0]), /* 2 */
129 { &asn_OER_type_maxNumberCSI_RS_ResourceTwoTx_constr_8, &asn_PER_type_maxNumberCSI_RS_ResourceTwoTx_constr_8, NativeEnumerated_constraint },
130 0, 0, /* Defined elsewhere */
131 &asn_SPC_maxNumberCSI_RS_ResourceTwoTx_specs_8 /* Additional specs */
134 static const asn_INTEGER_enum_map_t asn_MAP_supportedCSI_RS_Density_value2enum_15[] = {
137 { 2, 11, "oneAndThree" }
139 static const unsigned int asn_MAP_supportedCSI_RS_Density_enum2value_15[] = {
141 2, /* oneAndThree(2) */
144 static const asn_INTEGER_specifics_t asn_SPC_supportedCSI_RS_Density_specs_15 = {
145 asn_MAP_supportedCSI_RS_Density_value2enum_15, /* "tag" => N; sorted by tag */
146 asn_MAP_supportedCSI_RS_Density_enum2value_15, /* N => "tag"; sorted by N */
147 3, /* Number of elements in the maps */
148 0, /* Enumeration is not extensible */
149 1, /* Strict enumeration */
150 0, /* Native long size */
153 static const ber_tlv_tag_t asn_DEF_supportedCSI_RS_Density_tags_15[] = {
154 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
155 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
157 static /* Use -fall-defs-global to expose */
158 asn_TYPE_descriptor_t asn_DEF_supportedCSI_RS_Density_15 = {
159 "supportedCSI-RS-Density",
160 "supportedCSI-RS-Density",
161 &asn_OP_NativeEnumerated,
162 asn_DEF_supportedCSI_RS_Density_tags_15,
163 sizeof(asn_DEF_supportedCSI_RS_Density_tags_15)
164 /sizeof(asn_DEF_supportedCSI_RS_Density_tags_15[0]) - 1, /* 1 */
165 asn_DEF_supportedCSI_RS_Density_tags_15, /* Same as above */
166 sizeof(asn_DEF_supportedCSI_RS_Density_tags_15)
167 /sizeof(asn_DEF_supportedCSI_RS_Density_tags_15[0]), /* 2 */
168 { &asn_OER_type_supportedCSI_RS_Density_constr_15, &asn_PER_type_supportedCSI_RS_Density_constr_15, NativeEnumerated_constraint },
169 0, 0, /* Defined elsewhere */
170 &asn_SPC_supportedCSI_RS_Density_specs_15 /* Additional specs */
173 asn_TYPE_member_t asn_MBR_BeamManagementSSB_CSI_RS_1[] = {
174 { ATF_NOFLAGS, 0, offsetof(struct BeamManagementSSB_CSI_RS, maxNumberSSB_CSI_RS_ResourceOneTx),
175 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
176 -1, /* IMPLICIT tag at current level */
177 &asn_DEF_maxNumberSSB_CSI_RS_ResourceOneTx_2,
180 0, 0, /* No default value */
181 "maxNumberSSB-CSI-RS-ResourceOneTx"
183 { ATF_NOFLAGS, 0, offsetof(struct BeamManagementSSB_CSI_RS, maxNumberCSI_RS_ResourceTwoTx),
184 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
185 -1, /* IMPLICIT tag at current level */
186 &asn_DEF_maxNumberCSI_RS_ResourceTwoTx_8,
189 0, 0, /* No default value */
190 "maxNumberCSI-RS-ResourceTwoTx"
192 { ATF_NOFLAGS, 0, offsetof(struct BeamManagementSSB_CSI_RS, supportedCSI_RS_Density),
193 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
194 -1, /* IMPLICIT tag at current level */
195 &asn_DEF_supportedCSI_RS_Density_15,
198 0, 0, /* No default value */
199 "supportedCSI-RS-Density"
202 static const ber_tlv_tag_t asn_DEF_BeamManagementSSB_CSI_RS_tags_1[] = {
203 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
205 static const asn_TYPE_tag2member_t asn_MAP_BeamManagementSSB_CSI_RS_tag2el_1[] = {
206 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* maxNumberSSB-CSI-RS-ResourceOneTx */
207 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* maxNumberCSI-RS-ResourceTwoTx */
208 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* supportedCSI-RS-Density */
210 asn_SEQUENCE_specifics_t asn_SPC_BeamManagementSSB_CSI_RS_specs_1 = {
211 sizeof(struct BeamManagementSSB_CSI_RS),
212 offsetof(struct BeamManagementSSB_CSI_RS, _asn_ctx),
213 asn_MAP_BeamManagementSSB_CSI_RS_tag2el_1,
214 3, /* Count of tags in the map */
215 0, 0, 0, /* Optional elements (not needed) */
216 -1, /* First extension addition */
218 asn_TYPE_descriptor_t asn_DEF_BeamManagementSSB_CSI_RS = {
219 "BeamManagementSSB-CSI-RS",
220 "BeamManagementSSB-CSI-RS",
222 asn_DEF_BeamManagementSSB_CSI_RS_tags_1,
223 sizeof(asn_DEF_BeamManagementSSB_CSI_RS_tags_1)
224 /sizeof(asn_DEF_BeamManagementSSB_CSI_RS_tags_1[0]), /* 1 */
225 asn_DEF_BeamManagementSSB_CSI_RS_tags_1, /* Same as above */
226 sizeof(asn_DEF_BeamManagementSSB_CSI_RS_tags_1)
227 /sizeof(asn_DEF_BeamManagementSSB_CSI_RS_tags_1[0]), /* 1 */
228 { 0, 0, SEQUENCE_constraint },
229 asn_MBR_BeamManagementSSB_CSI_RS_1,
230 3, /* Elements count */
231 &asn_SPC_BeamManagementSSB_CSI_RS_specs_1 /* Additional specs */