2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../ASN1_Input/rrc_15_3_asn.asn1"
5 * `asn1c -D ../RRC_output_14Nov/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
8 #include "MeasResultNR.h"
10 #include "MeasQuantityResults.h"
11 #include "ResultsPerSSB-IndexList.h"
12 #include "ResultsPerCSI-RS-IndexList.h"
14 static asn_TYPE_member_t asn_MBR_cellResults_4[] = {
15 { ATF_POINTER, 2, offsetof(struct MeasResultNR__measResult__cellResults, resultsSSB_Cell),
16 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
17 -1, /* IMPLICIT tag at current level */
18 &asn_DEF_MeasQuantityResults,
21 0, 0, /* No default value */
24 { ATF_POINTER, 1, offsetof(struct MeasResultNR__measResult__cellResults, resultsCSI_RS_Cell),
25 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
26 -1, /* IMPLICIT tag at current level */
27 &asn_DEF_MeasQuantityResults,
30 0, 0, /* No default value */
34 static const int asn_MAP_cellResults_oms_4[] = { 0, 1 };
35 static const ber_tlv_tag_t asn_DEF_cellResults_tags_4[] = {
36 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
37 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
39 static const asn_TYPE_tag2member_t asn_MAP_cellResults_tag2el_4[] = {
40 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* resultsSSB-Cell */
41 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* resultsCSI-RS-Cell */
43 static asn_SEQUENCE_specifics_t asn_SPC_cellResults_specs_4 = {
44 sizeof(struct MeasResultNR__measResult__cellResults),
45 offsetof(struct MeasResultNR__measResult__cellResults, _asn_ctx),
46 asn_MAP_cellResults_tag2el_4,
47 2, /* Count of tags in the map */
48 asn_MAP_cellResults_oms_4, /* Optional members */
49 2, 0, /* Root/Additions */
50 -1, /* First extension addition */
52 static /* Use -fall-defs-global to expose */
53 asn_TYPE_descriptor_t asn_DEF_cellResults_4 = {
57 asn_DEF_cellResults_tags_4,
58 sizeof(asn_DEF_cellResults_tags_4)
59 /sizeof(asn_DEF_cellResults_tags_4[0]) - 1, /* 1 */
60 asn_DEF_cellResults_tags_4, /* Same as above */
61 sizeof(asn_DEF_cellResults_tags_4)
62 /sizeof(asn_DEF_cellResults_tags_4[0]), /* 2 */
63 { 0, 0, SEQUENCE_constraint },
64 asn_MBR_cellResults_4,
65 2, /* Elements count */
66 &asn_SPC_cellResults_specs_4 /* Additional specs */
69 static asn_TYPE_member_t asn_MBR_rsIndexResults_7[] = {
70 { ATF_POINTER, 2, offsetof(struct MeasResultNR__measResult__rsIndexResults, resultsSSB_Indexes),
71 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
72 -1, /* IMPLICIT tag at current level */
73 &asn_DEF_ResultsPerSSB_IndexList,
76 0, 0, /* No default value */
79 { ATF_POINTER, 1, offsetof(struct MeasResultNR__measResult__rsIndexResults, resultsCSI_RS_Indexes),
80 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
81 -1, /* IMPLICIT tag at current level */
82 &asn_DEF_ResultsPerCSI_RS_IndexList,
85 0, 0, /* No default value */
86 "resultsCSI-RS-Indexes"
89 static const int asn_MAP_rsIndexResults_oms_7[] = { 0, 1 };
90 static const ber_tlv_tag_t asn_DEF_rsIndexResults_tags_7[] = {
91 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
92 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
94 static const asn_TYPE_tag2member_t asn_MAP_rsIndexResults_tag2el_7[] = {
95 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* resultsSSB-Indexes */
96 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* resultsCSI-RS-Indexes */
98 static asn_SEQUENCE_specifics_t asn_SPC_rsIndexResults_specs_7 = {
99 sizeof(struct MeasResultNR__measResult__rsIndexResults),
100 offsetof(struct MeasResultNR__measResult__rsIndexResults, _asn_ctx),
101 asn_MAP_rsIndexResults_tag2el_7,
102 2, /* Count of tags in the map */
103 asn_MAP_rsIndexResults_oms_7, /* Optional members */
104 2, 0, /* Root/Additions */
105 -1, /* First extension addition */
107 static /* Use -fall-defs-global to expose */
108 asn_TYPE_descriptor_t asn_DEF_rsIndexResults_7 = {
112 asn_DEF_rsIndexResults_tags_7,
113 sizeof(asn_DEF_rsIndexResults_tags_7)
114 /sizeof(asn_DEF_rsIndexResults_tags_7[0]) - 1, /* 1 */
115 asn_DEF_rsIndexResults_tags_7, /* Same as above */
116 sizeof(asn_DEF_rsIndexResults_tags_7)
117 /sizeof(asn_DEF_rsIndexResults_tags_7[0]), /* 2 */
118 { 0, 0, SEQUENCE_constraint },
119 asn_MBR_rsIndexResults_7,
120 2, /* Elements count */
121 &asn_SPC_rsIndexResults_specs_7 /* Additional specs */
124 static asn_TYPE_member_t asn_MBR_measResult_3[] = {
125 { ATF_NOFLAGS, 0, offsetof(struct MeasResultNR__measResult, cellResults),
126 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
128 &asn_DEF_cellResults_4,
131 0, 0, /* No default value */
134 { ATF_POINTER, 1, offsetof(struct MeasResultNR__measResult, rsIndexResults),
135 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
137 &asn_DEF_rsIndexResults_7,
140 0, 0, /* No default value */
144 static const int asn_MAP_measResult_oms_3[] = { 1 };
145 static const ber_tlv_tag_t asn_DEF_measResult_tags_3[] = {
146 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
147 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
149 static const asn_TYPE_tag2member_t asn_MAP_measResult_tag2el_3[] = {
150 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellResults */
151 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rsIndexResults */
153 static asn_SEQUENCE_specifics_t asn_SPC_measResult_specs_3 = {
154 sizeof(struct MeasResultNR__measResult),
155 offsetof(struct MeasResultNR__measResult, _asn_ctx),
156 asn_MAP_measResult_tag2el_3,
157 2, /* Count of tags in the map */
158 asn_MAP_measResult_oms_3, /* Optional members */
159 1, 0, /* Root/Additions */
160 -1, /* First extension addition */
162 static /* Use -fall-defs-global to expose */
163 asn_TYPE_descriptor_t asn_DEF_measResult_3 = {
167 asn_DEF_measResult_tags_3,
168 sizeof(asn_DEF_measResult_tags_3)
169 /sizeof(asn_DEF_measResult_tags_3[0]) - 1, /* 1 */
170 asn_DEF_measResult_tags_3, /* Same as above */
171 sizeof(asn_DEF_measResult_tags_3)
172 /sizeof(asn_DEF_measResult_tags_3[0]), /* 2 */
173 { 0, 0, SEQUENCE_constraint },
174 asn_MBR_measResult_3,
175 2, /* Elements count */
176 &asn_SPC_measResult_specs_3 /* Additional specs */
179 static asn_TYPE_member_t asn_MBR_ext1_11[] = {
180 { ATF_POINTER, 1, offsetof(struct MeasResultNR__ext1, cgi_Info),
181 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
182 -1, /* IMPLICIT tag at current level */
186 0, 0, /* No default value */
190 static const int asn_MAP_ext1_oms_11[] = { 0 };
191 static const ber_tlv_tag_t asn_DEF_ext1_tags_11[] = {
192 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
193 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
195 static const asn_TYPE_tag2member_t asn_MAP_ext1_tag2el_11[] = {
196 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* cgi-Info */
198 static asn_SEQUENCE_specifics_t asn_SPC_ext1_specs_11 = {
199 sizeof(struct MeasResultNR__ext1),
200 offsetof(struct MeasResultNR__ext1, _asn_ctx),
201 asn_MAP_ext1_tag2el_11,
202 1, /* Count of tags in the map */
203 asn_MAP_ext1_oms_11, /* Optional members */
204 1, 0, /* Root/Additions */
205 -1, /* First extension addition */
207 static /* Use -fall-defs-global to expose */
208 asn_TYPE_descriptor_t asn_DEF_ext1_11 = {
212 asn_DEF_ext1_tags_11,
213 sizeof(asn_DEF_ext1_tags_11)
214 /sizeof(asn_DEF_ext1_tags_11[0]) - 1, /* 1 */
215 asn_DEF_ext1_tags_11, /* Same as above */
216 sizeof(asn_DEF_ext1_tags_11)
217 /sizeof(asn_DEF_ext1_tags_11[0]), /* 2 */
218 { 0, 0, SEQUENCE_constraint },
220 1, /* Elements count */
221 &asn_SPC_ext1_specs_11 /* Additional specs */
224 asn_TYPE_member_t asn_MBR_MeasResultNR_1[] = {
225 { ATF_POINTER, 1, offsetof(struct MeasResultNR, physCellId),
226 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
227 -1, /* IMPLICIT tag at current level */
231 0, 0, /* No default value */
234 { ATF_NOFLAGS, 0, offsetof(struct MeasResultNR, measResult),
235 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
237 &asn_DEF_measResult_3,
240 0, 0, /* No default value */
243 { ATF_POINTER, 1, offsetof(struct MeasResultNR, ext1),
244 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
249 0, 0, /* No default value */
253 static const int asn_MAP_MeasResultNR_oms_1[] = { 0, 2 };
254 static const ber_tlv_tag_t asn_DEF_MeasResultNR_tags_1[] = {
255 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
257 static const asn_TYPE_tag2member_t asn_MAP_MeasResultNR_tag2el_1[] = {
258 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId */
259 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measResult */
260 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* ext1 */
262 asn_SEQUENCE_specifics_t asn_SPC_MeasResultNR_specs_1 = {
263 sizeof(struct MeasResultNR),
264 offsetof(struct MeasResultNR, _asn_ctx),
265 asn_MAP_MeasResultNR_tag2el_1,
266 3, /* Count of tags in the map */
267 asn_MAP_MeasResultNR_oms_1, /* Optional members */
268 1, 1, /* Root/Additions */
269 2, /* First extension addition */
271 asn_TYPE_descriptor_t asn_DEF_MeasResultNR = {
275 asn_DEF_MeasResultNR_tags_1,
276 sizeof(asn_DEF_MeasResultNR_tags_1)
277 /sizeof(asn_DEF_MeasResultNR_tags_1[0]), /* 1 */
278 asn_DEF_MeasResultNR_tags_1, /* Same as above */
279 sizeof(asn_DEF_MeasResultNR_tags_1)
280 /sizeof(asn_DEF_MeasResultNR_tags_1[0]), /* 1 */
281 { 0, 0, SEQUENCE_constraint },
282 asn_MBR_MeasResultNR_1,
283 3, /* Elements count */
284 &asn_SPC_MeasResultNR_specs_1 /* Additional specs */