aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-08-31 18:20:51 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-31 18:20:51 (GMT)
commit4d32c0c44db43d496f45c5094a9b6ae60c35115e (patch)
tree4901cc61ca261ecd3d5f7a4967f48e0dd8eb7415 /wpa_supplicant/p2p_supplicant.h
parent55d834e172976f7ab2e36f75c7a5d485486c4dca (diff)
downloadhostap-4d32c0c44db43d496f45c5094a9b6ae60c35115e.zip
hostap-4d32c0c44db43d496f45c5094a9b6ae60c35115e.tar.gz
hostap-4d32c0c44db43d496f45c5094a9b6ae60c35115e.tar.bz2
P2P: Allow p2p_invite-persistent to specify channel for GO
The freq and ht40 parameters can now be used with the p2p_invite command when reinvoking a persistent group as the GO. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 1e0e68f..2e2a8a4 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -104,7 +104,8 @@ int wpas_p2p_service_del_upnp(struct wpa_supplicant *wpa_s, u8 version,
const char *service);
int wpas_p2p_reject(struct wpa_supplicant *wpa_s, const u8 *addr);
int wpas_p2p_invite(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
- struct wpa_ssid *ssid, const u8 *go_dev_addr);
+ struct wpa_ssid *ssid, const u8 *go_dev_addr, int freq,
+ int ht40);
int wpas_p2p_invite_group(struct wpa_supplicant *wpa_s, const char *ifname,
const u8 *peer_addr, const u8 *go_dev_addr);
void wpas_p2p_completed(struct wpa_supplicant *wpa_s);