Lines Matching refs:scan_res
2063 static void dump_scan_res(struct wpa_scan_results *scan_res)
2068 if (scan_res->res == NULL || scan_res->num == 0)
2073 for (i = 0; i < scan_res->num; i++) {
2074 struct wpa_scan_res *r = scan_res->res[i];
2355 struct wpa_scan_results *scan_res;
2359 scan_res = wpa_drv_get_scan_results2(wpa_s);
2360 if (scan_res == NULL) {
2364 if (scan_res->fetch_time.sec == 0) {
2369 os_get_reltime(&scan_res->fetch_time);
2371 filter_scan_res(wpa_s, scan_res);
2373 for (i = 0; i < scan_res->num; i++) {
2374 struct wpa_scan_res *scan_res_item = scan_res->res[i];
2388 if (scan_res->res) {
2389 qsort(scan_res->res, scan_res->num,
2392 dump_scan_res(scan_res);
2401 return scan_res;
2405 for (i = 0; i < scan_res->num; i++)
2406 wpa_bss_update_scan_res(wpa_s, scan_res->res[i],
2407 &scan_res->fetch_time);
2410 return scan_res;
2428 struct wpa_scan_results *scan_res;
2429 scan_res = wpa_supplicant_get_scan_results(wpa_s, NULL, 0);
2430 if (scan_res == NULL)
2432 wpa_scan_results_free(scan_res);
2442 struct wpa_scan_results *scan_res)