aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-12-30 17:08:51 (GMT)
committerJouni Malinen <j@w1.fi>2015-12-30 17:08:51 (GMT)
commit70e0cb33f2c655b0ed5f7195661b08526252a232 (patch)
treecce38e58f808cc0879076bf24d12f551af8c9abc /wpa_supplicant/p2p_supplicant.h
parent438be60153dbfe3e3da9d53edb5e7b1b1dac7567 (diff)
downloadhostap-70e0cb33f2c655b0ed5f7195661b08526252a232.zip
hostap-70e0cb33f2c655b0ed5f7195661b08526252a232.tar.gz
hostap-70e0cb33f2c655b0ed5f7195661b08526252a232.tar.bz2
P2P: Provide group SSID, if specified, to P2P Client join step
At least one of the wpas_p2p_connect() callers (NFC join case) already had access to the Group SSID. Pass that information through wpas_p2p_connect() to wpas_p2p_join() so that the join operation can filter out incorrect groups more easily. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 21ee41f..6a770d2 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -34,10 +34,11 @@ struct wpa_supplicant * wpas_get_p2p_client_iface(struct wpa_supplicant *wpa_s,
const u8 *peer_dev_addr);
int wpas_p2p_connect(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
const char *pin, enum p2p_wps_method wps_method,
- int persistent_group, int auto_join, int join,
- int auth, int go_intent, int freq,
- unsigned int vht_center_freq2, int persistent_id,
- int pd, int ht40, int vht, unsigned int max_oper_chwidth);
+ int persistent_group, int auto_join, int join, int auth,
+ int go_intent, int freq, unsigned int vht_center_freq2,
+ int persistent_id, int pd, int ht40, int vht,
+ unsigned int vht_chwidth, const u8 *group_ssid,
+ size_t group_ssid_len);
int wpas_p2p_handle_frequency_conflicts(struct wpa_supplicant *wpa_s,
int freq, struct wpa_ssid *ssid);
int wpas_p2p_group_add(struct wpa_supplicant *wpa_s, int persistent_group,