aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-09-27 19:21:29 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-15 15:53:13 (GMT)
commitcbdf3507e99e1639cba9635c22ba8f29c0bec99e (patch)
tree1a49da70ea2be90118305ce077e5544a9b82daad /wpa_supplicant/scan.h
parent5f738a21a6e2d7d903321b5f5050a5ca89261638 (diff)
downloadhostap-cbdf3507e99e1639cba9635c22ba8f29c0bec99e.zip
hostap-cbdf3507e99e1639cba9635c22ba8f29c0bec99e.tar.gz
hostap-cbdf3507e99e1639cba9635c22ba8f29c0bec99e.tar.bz2
Add scheduled scan driver operations
In new Linux kernel versions (>=3.0), nl80211 adds scheduled scan capability. In order to use this feature to its full extent, we need to support it in the wpa_supplicant core, so that it can also be used by other drivers. This commit adds initial scheduled scan support operations and events. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'wpa_supplicant/scan.h')
-rw-r--r--wpa_supplicant/scan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/scan.h b/wpa_supplicant/scan.h
index 025b815..f9d21b0 100644
--- a/wpa_supplicant/scan.h
+++ b/wpa_supplicant/scan.h
@@ -17,7 +17,9 @@
int wpa_supplicant_enabled_networks(struct wpa_config *conf);
void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec);
+int wpa_supplicant_req_sched_scan(struct wpa_supplicant *wpa_s);
void wpa_supplicant_cancel_scan(struct wpa_supplicant *wpa_s);
+void wpa_supplicant_cancel_sched_scan(struct wpa_supplicant *wpa_s);
void wpa_supplicant_notify_scanning(struct wpa_supplicant *wpa_s,
int scanning);
struct wpa_driver_scan_params;