aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-12-31 13:17:20 +0200
committerJouni Malinen <j@w1.fi>2011-12-31 13:17:20 +0200
commit1e7fb4f1b7cdf16705cfcc1fd171807a9f8e3a56 (patch)
tree21bc682912527a411c0e96fa062206f7286705ae /wpa_supplicant/wpa_supplicant_i.h
parentee9fc67ab7c7fa546c4ae8cc8007f4d29164ea07 (diff)
downloadexternal_wpa_supplicant_8_ti-1e7fb4f1b7cdf16705cfcc1fd171807a9f8e3a56.zip
external_wpa_supplicant_8_ti-1e7fb4f1b7cdf16705cfcc1fd171807a9f8e3a56.tar.gz
external_wpa_supplicant_8_ti-1e7fb4f1b7cdf16705cfcc1fd171807a9f8e3a56.tar.bz2
WPS: Use single channel scan if AP channel already known
If the BSSID of the AP is specified in the WPS command, the target AP is likely already in the BSS table and its operating channel is known. Use this information to speed up connection by only scanning the known channel. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index 5469129..3e3b23d 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -495,6 +495,7 @@ struct wpa_supplicant {
struct wpa_ssid *connect_without_scan;
int after_wps;
+ int known_wps_freq;
unsigned int wps_freq;
int wps_fragment_size;
int auto_reconnect_disabled;