aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-09-07 22:42:53 (GMT)
committerJouni Malinen <j@w1.fi>2013-11-07 11:49:01 (GMT)
commit9ec876662b7630fe555b4c6838331f45e8a95ba1 (patch)
tree875d84bfb334b1c12d631d07ed3fb7439cfc1770 /wpa_supplicant/config_ssid.h
parent83eefb40b593e671e2ca88a17e57b2feba2c64b9 (diff)
downloadhostap-9ec876662b7630fe555b4c6838331f45e8a95ba1.zip
hostap-9ec876662b7630fe555b4c6838331f45e8a95ba1.tar.gz
hostap-9ec876662b7630fe555b4c6838331f45e8a95ba1.tar.bz2
P2P: Allow GO P2P Device Address to be used for scan result matching
This is a better way of matching P2P groups based on the unique P2P Device Address (e.g., from P2P Group ID) and SSID pair instead of using the not necessarily unique P2P Interface Address. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 2a8be6b..0102da9 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -131,6 +131,11 @@ struct wpa_ssid {
int bssid_set;
/**
+ * go_p2p_dev_addr - GO's P2P Device Address or all zeros if not set
+ */
+ u8 go_p2p_dev_addr[ETH_ALEN];
+
+ /**
* psk - WPA pre-shared key (256 bits)
*/
u8 psk[32];