aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bgscan.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-08-27 13:58:06 (GMT)
committerJouni Malinen <j@w1.fi>2010-08-27 13:58:06 (GMT)
commit60a972a68da94de6182b2ca52c9b4184b00afc45 (patch)
tree15ff5137969d4a774202e4aadb68847fad63abe2 /wpa_supplicant/bgscan.h
parent9c77ad1889664f85f03ea13b629f3107189fe0cc (diff)
downloadhostap-60a972a68da94de6182b2ca52c9b4184b00afc45.zip
hostap-60a972a68da94de6182b2ca52c9b4184b00afc45.tar.gz
hostap-60a972a68da94de6182b2ca52c9b4184b00afc45.tar.bz2
Add current signal strength into signal quality change events
Diffstat (limited to 'wpa_supplicant/bgscan.h')
-rw-r--r--wpa_supplicant/bgscan.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/wpa_supplicant/bgscan.h b/wpa_supplicant/bgscan.h
index e0c9eb0..9f2ba2f 100644
--- a/wpa_supplicant/bgscan.h
+++ b/wpa_supplicant/bgscan.h
@@ -27,7 +27,8 @@ struct bgscan_ops {
int (*notify_scan)(void *priv, struct wpa_scan_results *scan_res);
void (*notify_beacon_loss)(void *priv);
- void (*notify_signal_change)(void *priv, int above);
+ void (*notify_signal_change)(void *priv, int above,
+ int current_signal);
};
#ifdef CONFIG_BGSCAN
@@ -37,7 +38,8 @@ void bgscan_deinit(struct wpa_supplicant *wpa_s);
int bgscan_notify_scan(struct wpa_supplicant *wpa_s,
struct wpa_scan_results *scan_res);
void bgscan_notify_beacon_loss(struct wpa_supplicant *wpa_s);
-void bgscan_notify_signal_change(struct wpa_supplicant *wpa_s, int above);
+void bgscan_notify_signal_change(struct wpa_supplicant *wpa_s, int above,
+ int current_signal);
#else /* CONFIG_BGSCAN */
@@ -62,7 +64,7 @@ static inline void bgscan_notify_beacon_loss(struct wpa_supplicant *wpa_s)
}
static inline void bgscan_notify_signal_change(struct wpa_supplicant *wpa_s,
- int above)
+ int above, int current_signal)
{
}