aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.h
diff options
context:
space:
mode:
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>2015-09-08 09:46:16 (GMT)
committerJouni Malinen <j@w1.fi>2015-10-03 17:10:37 (GMT)
commit73afc20d409652b89cbc2f5e3cf8583d6bf4dcaa (patch)
treec9adcb63dfb597608b0952d24e6b8482796c2705 /wpa_supplicant/ap.h
parent6315bfdba2ecf6bd6b1d0a7814efff63869dbf93 (diff)
downloadhostap-73afc20d409652b89cbc2f5e3cf8583d6bf4dcaa.zip
hostap-73afc20d409652b89cbc2f5e3cf8583d6bf4dcaa.tar.gz
hostap-73afc20d409652b89cbc2f5e3cf8583d6bf4dcaa.tar.bz2
P2P: Implement wpas_p2p_move_go_csa()
Use channel switch mechanism to move a P2P GO to a new channel, when required. In order to be able to reconfigure the GO channel, split wpa_supplicant_conf_ap() function, so the frequency configuration part can be reused to find additional CSA settings. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Diffstat (limited to 'wpa_supplicant/ap.h')
-rw-r--r--wpa_supplicant/ap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wpa_supplicant/ap.h b/wpa_supplicant/ap.h
index 594168c..2b8a1d4 100644
--- a/wpa_supplicant/ap.h
+++ b/wpa_supplicant/ap.h
@@ -76,9 +76,9 @@ int wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id,
const struct wpabuf *pw, const u8 *pubkey_hash);
struct hostapd_config;
-void wpa_supplicant_conf_ap_ht(struct wpa_supplicant *wpa_s,
- struct wpa_ssid *ssid,
- struct hostapd_config *conf);
+int wpa_supplicant_conf_ap_ht(struct wpa_supplicant *wpa_s,
+ struct wpa_ssid *ssid,
+ struct hostapd_config *conf);
int wpas_ap_stop_ap(struct wpa_supplicant *wpa_s);