aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.h
diff options
context:
space:
mode:
authorThomas Pedersen <c_tpeder@qca.qualcomm.com>2012-06-25 11:45:14 (GMT)
committerJouni Malinen <j@w1.fi>2012-06-25 11:45:14 (GMT)
commit1b487b8b1e95e1fbd9e00d52d883ba0ac4c2e4bf (patch)
tree9b8ebae95234d64e861736aec269b67abafa28e2 /wpa_supplicant/ap.h
parente7381b8473e7fb43c0e13f45c1c61e64d64072c2 (diff)
downloadhostap-1b487b8b1e95e1fbd9e00d52d883ba0ac4c2e4bf.zip
hostap-1b487b8b1e95e1fbd9e00d52d883ba0ac4c2e4bf.tar.gz
hostap-1b487b8b1e95e1fbd9e00d52d883ba0ac4c2e4bf.tar.bz2
nl80211: Handle CH_SWITCH event
Some drivers may independently decide to switch channels. Handle this by updating the hostapd and wpa_supplicant AP and GO configuration. Signed-hostap: Thomas Pedersen <c_tpeder@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/ap.h')
-rw-r--r--wpa_supplicant/ap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.h b/wpa_supplicant/ap.h
index 91ab423..bc953d9 100644
--- a/wpa_supplicant/ap.h
+++ b/wpa_supplicant/ap.h
@@ -49,5 +49,7 @@ int wpa_supplicant_ap_update_beacon(struct wpa_supplicant *wpa_s);
int wpa_supplicant_ap_mac_addr_filter(struct wpa_supplicant *wpa_s,
const u8 *addr);
void wpa_supplicant_ap_pwd_auth_fail(struct wpa_supplicant *wpa_s);
+void wpas_ap_ch_switch(struct wpa_supplicant *wpa_s, int freq, int ht,
+ int offset);
#endif /* AP_H */