Lines Matching refs:scan_res
1806 static void dump_scan_res(struct wpa_scan_results *scan_res)
1811 if (scan_res->res == NULL || scan_res->num == 0)
1816 for (i = 0; i < scan_res->num; i++) {
1817 struct wpa_scan_res *r = scan_res->res[i];
2098 struct wpa_scan_results *scan_res;
2102 scan_res = wpa_drv_get_scan_results2(wpa_s);
2103 if (scan_res == NULL) {
2107 if (scan_res->fetch_time.sec == 0) {
2112 os_get_reltime(&scan_res->fetch_time);
2114 filter_scan_res(wpa_s, scan_res);
2116 for (i = 0; i < scan_res->num; i++) {
2117 struct wpa_scan_res *scan_res_item = scan_res->res[i];
2131 qsort(scan_res->res, scan_res->num, sizeof(struct wpa_scan_res *),
2133 dump_scan_res(scan_res);
2136 for (i = 0; i < scan_res->num; i++)
2137 wpa_bss_update_scan_res(wpa_s, scan_res->res[i],
2138 &scan_res->fetch_time);
2141 return scan_res;
2159 struct wpa_scan_results *scan_res;
2160 scan_res = wpa_supplicant_get_scan_results(wpa_s, NULL, 0);
2161 if (scan_res == NULL)
2163 wpa_scan_results_free(scan_res);
2173 struct wpa_scan_results *scan_res)