Lines Matching refs:report
35 struct spectralsim_report *report,
38 struct spectralsim_report *report,
41 struct spectralsim_report *report);
76 struct spectralsim_report *report, in target_if_populate_report_static_gen2() argument
79 if (!report) { in target_if_populate_report_static_gen2()
86 report->data = NULL; in target_if_populate_report_static_gen2()
87 report->data = (uint8_t *) in target_if_populate_report_static_gen2()
90 if (!report->data) in target_if_populate_report_static_gen2()
93 report->datasize = sizeof(reportdata_20_gen2); in target_if_populate_report_static_gen2()
94 qdf_mem_copy(report->data, in target_if_populate_report_static_gen2()
95 reportdata_20_gen2, report->datasize); in target_if_populate_report_static_gen2()
97 qdf_mem_copy(&report->rfqual_info, in target_if_populate_report_static_gen2()
98 &rfqual_info_20, sizeof(report->rfqual_info)); in target_if_populate_report_static_gen2()
100 qdf_mem_copy(&report->chan_info, in target_if_populate_report_static_gen2()
101 &chan_info_20, sizeof(report->chan_info)); in target_if_populate_report_static_gen2()
105 report->data = NULL; in target_if_populate_report_static_gen2()
106 report->data = (uint8_t *) in target_if_populate_report_static_gen2()
109 if (!report->data) in target_if_populate_report_static_gen2()
112 report->datasize = sizeof(reportdata_40_gen2); in target_if_populate_report_static_gen2()
113 qdf_mem_copy(report->data, in target_if_populate_report_static_gen2()
114 reportdata_40_gen2, report->datasize); in target_if_populate_report_static_gen2()
116 qdf_mem_copy(&report->rfqual_info, in target_if_populate_report_static_gen2()
117 &rfqual_info_40, sizeof(report->rfqual_info)); in target_if_populate_report_static_gen2()
119 qdf_mem_copy(&report->chan_info, in target_if_populate_report_static_gen2()
120 &chan_info_40, sizeof(report->chan_info)); in target_if_populate_report_static_gen2()
124 report->data = NULL; in target_if_populate_report_static_gen2()
125 report->data = (uint8_t *) in target_if_populate_report_static_gen2()
128 if (!report->data) in target_if_populate_report_static_gen2()
131 report->datasize = sizeof(reportdata_80_gen2); in target_if_populate_report_static_gen2()
132 qdf_mem_copy(report->data, in target_if_populate_report_static_gen2()
133 reportdata_80_gen2, report->datasize); in target_if_populate_report_static_gen2()
135 qdf_mem_copy(&report->rfqual_info, in target_if_populate_report_static_gen2()
136 &rfqual_info_80, sizeof(report->rfqual_info)); in target_if_populate_report_static_gen2()
138 qdf_mem_copy(&report->chan_info, in target_if_populate_report_static_gen2()
139 &chan_info_80, sizeof(report->chan_info)); in target_if_populate_report_static_gen2()
143 report->data = NULL; in target_if_populate_report_static_gen2()
144 report->data = (uint8_t *) in target_if_populate_report_static_gen2()
147 if (!report->data) in target_if_populate_report_static_gen2()
150 report->datasize = sizeof(reportdata_80_80_gen2); in target_if_populate_report_static_gen2()
151 qdf_mem_copy(report->data, in target_if_populate_report_static_gen2()
152 reportdata_80_80_gen2, report->datasize); in target_if_populate_report_static_gen2()
154 qdf_mem_copy(&report->rfqual_info, in target_if_populate_report_static_gen2()
156 sizeof(report->rfqual_info)); in target_if_populate_report_static_gen2()
158 qdf_mem_copy(&report->chan_info, in target_if_populate_report_static_gen2()
160 sizeof(report->chan_info)); in target_if_populate_report_static_gen2()
164 report->data = NULL; in target_if_populate_report_static_gen2()
165 report->data = (uint8_t *) in target_if_populate_report_static_gen2()
168 if (!report->data) in target_if_populate_report_static_gen2()
171 report->datasize = sizeof(reportdata_160_gen2); in target_if_populate_report_static_gen2()
172 qdf_mem_copy(report->data, in target_if_populate_report_static_gen2()
173 reportdata_160_gen2, report->datasize); in target_if_populate_report_static_gen2()
175 qdf_mem_copy(&report->rfqual_info, in target_if_populate_report_static_gen2()
177 sizeof(report->rfqual_info)); in target_if_populate_report_static_gen2()
179 qdf_mem_copy(&report->chan_info, in target_if_populate_report_static_gen2()
180 &chan_info_160, sizeof(report->chan_info)); in target_if_populate_report_static_gen2()
207 struct spectralsim_report *report, in target_if_populate_report_static_gen3() argument
210 if (!report) { in target_if_populate_report_static_gen3()
216 report->data = NULL; in target_if_populate_report_static_gen3()
217 report->data = (uint8_t *) in target_if_populate_report_static_gen3()
220 if (!report->data) in target_if_populate_report_static_gen3()
223 report->datasize = sizeof(reportdata_20_gen3); in target_if_populate_report_static_gen3()
224 qdf_mem_copy(report->data, in target_if_populate_report_static_gen3()
225 reportdata_20_gen3, report->datasize); in target_if_populate_report_static_gen3()
227 qdf_mem_copy(&report->rfqual_info, in target_if_populate_report_static_gen3()
228 &rfqual_info_20, sizeof(report->rfqual_info)); in target_if_populate_report_static_gen3()
230 qdf_mem_copy(&report->chan_info, in target_if_populate_report_static_gen3()
231 &chan_info_20, sizeof(report->chan_info)); in target_if_populate_report_static_gen3()
235 report->data = NULL; in target_if_populate_report_static_gen3()
236 report->data = (uint8_t *) in target_if_populate_report_static_gen3()
239 if (!report->data) in target_if_populate_report_static_gen3()
242 report->datasize = sizeof(reportdata_40_gen3); in target_if_populate_report_static_gen3()
243 qdf_mem_copy(report->data, in target_if_populate_report_static_gen3()
244 reportdata_40_gen3, report->datasize); in target_if_populate_report_static_gen3()
246 qdf_mem_copy(&report->rfqual_info, in target_if_populate_report_static_gen3()
247 &rfqual_info_40, sizeof(report->rfqual_info)); in target_if_populate_report_static_gen3()
249 qdf_mem_copy(&report->chan_info, in target_if_populate_report_static_gen3()
250 &chan_info_40, sizeof(report->chan_info)); in target_if_populate_report_static_gen3()
254 report->data = NULL; in target_if_populate_report_static_gen3()
255 report->data = (uint8_t *) in target_if_populate_report_static_gen3()
258 if (!report->data) in target_if_populate_report_static_gen3()
261 report->datasize = sizeof(reportdata_80_gen3); in target_if_populate_report_static_gen3()
262 qdf_mem_copy(report->data, in target_if_populate_report_static_gen3()
263 reportdata_80_gen3, report->datasize); in target_if_populate_report_static_gen3()
265 qdf_mem_copy(&report->rfqual_info, in target_if_populate_report_static_gen3()
266 &rfqual_info_80, sizeof(report->rfqual_info)); in target_if_populate_report_static_gen3()
268 qdf_mem_copy(&report->chan_info, in target_if_populate_report_static_gen3()
269 &chan_info_80, sizeof(report->chan_info)); in target_if_populate_report_static_gen3()
274 report->data = NULL; in target_if_populate_report_static_gen3()
275 report->data = (uint8_t *) in target_if_populate_report_static_gen3()
278 if (!report->data) in target_if_populate_report_static_gen3()
281 report->datasize = sizeof(reportdata_80_80_gen3); in target_if_populate_report_static_gen3()
282 qdf_mem_copy(report->data, in target_if_populate_report_static_gen3()
283 reportdata_80_80_gen3, report->datasize); in target_if_populate_report_static_gen3()
285 qdf_mem_copy(&report->rfqual_info, in target_if_populate_report_static_gen3()
287 sizeof(report->rfqual_info)); in target_if_populate_report_static_gen3()
289 qdf_mem_copy(&report->chan_info, in target_if_populate_report_static_gen3()
291 sizeof(report->chan_info)); in target_if_populate_report_static_gen3()
295 report->data = NULL; in target_if_populate_report_static_gen3()
296 report->data = (uint8_t *) in target_if_populate_report_static_gen3()
299 if (!report->data) in target_if_populate_report_static_gen3()
302 report->datasize = sizeof(reportdata_160_gen3); in target_if_populate_report_static_gen3()
303 qdf_mem_copy(report->data, in target_if_populate_report_static_gen3()
304 reportdata_160_gen3, report->datasize); in target_if_populate_report_static_gen3()
306 qdf_mem_copy(&report->rfqual_info, in target_if_populate_report_static_gen3()
308 sizeof(report->rfqual_info)); in target_if_populate_report_static_gen3()
310 qdf_mem_copy(&report->chan_info, in target_if_populate_report_static_gen3()
311 &chan_info_160, sizeof(report->chan_info)); in target_if_populate_report_static_gen3()
337 struct spectralsim_report *report) in target_if_depopulate_report() argument
339 if (!report) in target_if_depopulate_report()
342 if (report->data) { in target_if_depopulate_report()
343 qdf_mem_free(report->data); in target_if_depopulate_report()
344 report->data = NULL; in target_if_depopulate_report()
345 report->datasize = 0; in target_if_depopulate_report()
367 struct spectralsim_report *report = NULL; in target_if_populate_reportset_static() local
378 report = (struct spectralsim_report *) in target_if_populate_reportset_static()
381 if (!report) in target_if_populate_reportset_static()
384 qdf_mem_zero(report, sizeof(*report)); in target_if_populate_reportset_static()
391 ret = simctx->populate_report_static(report, CH_WIDTH_20MHZ); in target_if_populate_reportset_static()
395 report->next = NULL; in target_if_populate_reportset_static()
396 reportset->headreport = report; in target_if_populate_reportset_static()
402 ret = simctx->populate_report_static(report, CH_WIDTH_40MHZ); in target_if_populate_reportset_static()
406 report->next = NULL; in target_if_populate_reportset_static()
407 reportset->headreport = report; in target_if_populate_reportset_static()
413 ret = simctx->populate_report_static(report, CH_WIDTH_80MHZ); in target_if_populate_reportset_static()
417 report->next = NULL; in target_if_populate_reportset_static()
418 reportset->headreport = report; in target_if_populate_reportset_static()
426 ret = simctx->populate_report_static(report, in target_if_populate_reportset_static()
431 report->next = NULL; in target_if_populate_reportset_static()
432 reportset->headreport = report; in target_if_populate_reportset_static()
439 ret = simctx->populate_report_static(report, in target_if_populate_reportset_static()
444 report->next = NULL; in target_if_populate_reportset_static()
445 reportset->headreport = report; in target_if_populate_reportset_static()