aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bgscan.h
diff options
context:
space:
mode:
authorHaim Dreyfuss <haim.dreyfuss@intel.com>2013-11-03 13:19:59 (GMT)
committerJouni Malinen <j@w1.fi>2013-11-05 08:26:31 (GMT)
commit3139270903af6f0fc4e2d26ab4125071eae45af9 (patch)
tree638e0f79a3950533a78b6f9fd5bb32af6b358730 /wpa_supplicant/bgscan.h
parent5061a301e57b1224e224aa3abf21cc67a25e1221 (diff)
downloadhostap-3139270903af6f0fc4e2d26ab4125071eae45af9.zip
hostap-3139270903af6f0fc4e2d26ab4125071eae45af9.tar.gz
hostap-3139270903af6f0fc4e2d26ab4125071eae45af9.tar.bz2
bgscan: Add global bgscan configuration
This option can be used to globally configure bgscan parameters for all the network blocks. Note that this configuration will not override a network block specific bgscan settings, but will only be used in case that the network block does not have a valid bgscan configuration. Signed-hostap: Haim Dreyfuss <haim.dreyfuss@intel.com>
Diffstat (limited to 'wpa_supplicant/bgscan.h')
-rw-r--r--wpa_supplicant/bgscan.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/wpa_supplicant/bgscan.h b/wpa_supplicant/bgscan.h
index e9d15fc..9131e4e 100644
--- a/wpa_supplicant/bgscan.h
+++ b/wpa_supplicant/bgscan.h
@@ -29,7 +29,8 @@ struct bgscan_ops {
#ifdef CONFIG_BGSCAN
-int bgscan_init(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
+int bgscan_init(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
+ const char *name);
void bgscan_deinit(struct wpa_supplicant *wpa_s);
int bgscan_notify_scan(struct wpa_supplicant *wpa_s,
struct wpa_scan_results *scan_res);
@@ -41,7 +42,7 @@ void bgscan_notify_signal_change(struct wpa_supplicant *wpa_s, int above,
#else /* CONFIG_BGSCAN */
static inline int bgscan_init(struct wpa_supplicant *wpa_s,
- struct wpa_ssid *ssid)
+ struct wpa_ssid *ssid, const char name)
{
return 0;
}