aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-02-26 15:16:35 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-26 15:19:20 (GMT)
commit0645492e7c98441d230b787c5711b4e4b337655b (patch)
tree57c1756b5416aca3ecf22cc7544c4ada96d6464f /wpa_supplicant/wpa_supplicant_i.h
parenteb20cea590f1020835f09103d0290a0a7e7d5ada (diff)
downloadhostap-0645492e7c98441d230b787c5711b4e4b337655b.zip
hostap-0645492e7c98441d230b787c5711b4e4b337655b.tar.gz
hostap-0645492e7c98441d230b787c5711b4e4b337655b.tar.bz2
WNM: Optimize a single BSS transition management candidate scan
If the BSS Transition Management Request frame includes only a single candidate and we need to scan for the BSS to get up-to-date information, use a scan for the known BSSID instead of wildcard BSSID. In addition, set the SSID in the scan if it is known based on old scan results in the BSS table. This removes unnecessary Probe Response frames when we are interested in results from only a single BSS. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
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 0e3e42a..14a7245 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -640,6 +640,7 @@ struct wpa_supplicant {
#define MAX_SCAN_ID 16
int scan_id[MAX_SCAN_ID];
unsigned int scan_id_count;
+ u8 next_scan_bssid[ETH_ALEN];
struct wpa_ssid_value *ssids_from_scan_req;
unsigned int num_ssids_from_scan_req;