path: root/wpa_supplicant/scan.h
diff options
authorKanchanapally, Vidyullatha <vkanchan@qti.qualcomm.com>2016-04-21 11:29:56 (GMT)
committerJouni Malinen <j@w1.fi>2016-04-23 14:12:16 (GMT)
commit2f195639ec9a568d0758c41d39f3358d3efbcbbf (patch)
treef42497cef4e16eebbdcd29045d9c32ed0c539dda /wpa_supplicant/scan.h
parent49ae6ddbca153299b4d7c0fa89a5274dfe9c8e1f (diff)
WNM: Fetch scan results before checking transition candidates
On receiving a WNM BSS Transition Management Request frame with a candidate list, fetch the latest scan results from the kernel to see if there are any recent scan results for the candidates and initiate a connection if found. This helps to avoid triggering a new scan in cases where a scan initiated by something else (e.g., an internal beacon measurement report functionality in a driver) has processed Beacon or Probe Response frames without wpa_supplicant having received a notification of such an update yet. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/scan.h')
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/scan.h b/wpa_supplicant/scan.h
index ad9a23e..9f8d04e 100644
--- a/wpa_supplicant/scan.h
+++ b/wpa_supplicant/scan.h
@@ -51,5 +51,10 @@ int wpas_mac_addr_rand_scan_set(struct wpa_supplicant *wpa_s,
unsigned int type, const u8 *addr,
const u8 *mask);
int wpas_abort_ongoing_scan(struct wpa_supplicant *wpa_s);
+void filter_scan_res(struct wpa_supplicant *wpa_s,
+ struct wpa_scan_results *res);
+void scan_snr(struct wpa_scan_res *res);
+void scan_est_throughput(struct wpa_supplicant *wpa_s,
+ struct wpa_scan_res *res);
#endif /* SCAN_H */