aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>2017-05-09 15:03:51 (GMT)
committerJouni Malinen <j@w1.fi>2017-05-11 21:20:59 (GMT)
commit43a356b2687219b7a212df8ef21237b5ddf49f35 (patch)
tree5b81f3965c8a56d4d9142e4c2b4f98a1da75daf4 /wpa_supplicant/config_ssid.h
parent33117656e6c22ccdfbd6bcecee923f837690b111 (diff)
downloadhostap-43a356b2687219b7a212df8ef21237b5ddf49f35.zip
hostap-43a356b2687219b7a212df8ef21237b5ddf49f35.tar.gz
hostap-43a356b2687219b7a212df8ef21237b5ddf49f35.tar.bz2
Provide option to configure BSSID hint for a network
This exposes user configurable option to set bssid_hint for a network. bssid_hint indicates which BSS has been found a suitable candidate for initial association for drivers that use driver/firmware-based BSS selection. Unlike the bssid parameter, bssid_hint does not limit the driver from selecting other BSSs in the ESS. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 7153042..6c6c32a 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -147,6 +147,19 @@ struct wpa_ssid {
int bssid_set;
/**
+ * bssid_hint - BSSID hint
+ *
+ * If set, this is configured to the driver as a preferred initial BSSID
+ * while connecting to this network.
+ */
+ u8 bssid_hint[ETH_ALEN];
+
+ /**
+ * bssid_hint_set - Whether BSSID hint is configured for this network
+ */
+ int bssid_hint_set;
+
+ /**
* go_p2p_dev_addr - GO's P2P Device Address or all zeros if not set
*/
u8 go_p2p_dev_addr[ETH_ALEN];