aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorJithu Jance <jithu@broadcom.com>2011-12-06 19:28:02 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-06 19:28:02 (GMT)
commit8c5f73098335225aa71efdbf414f7c8452658f17 (patch)
treea40620bfde73a896b094eb97bed6c6143514f686 /wpa_supplicant/p2p_supplicant.h
parent61ff2c80806db047ec26304864bd3add261e01eb (diff)
downloadhostap-8c5f73098335225aa71efdbf414f7c8452658f17.zip
hostap-8c5f73098335225aa71efdbf414f7c8452658f17.tar.gz
hostap-8c5f73098335225aa71efdbf414f7c8452658f17.tar.bz2
P2P: Add optional "join" argument for p2p_prov_disc command
This can be used to request Provision Discovery Request to be sent for the purpose of joining a running group, e.g., to request the GO to display a PIN that we can then use with p2p_connect join command. Signed-hostap: Jithu Jance <jithu@broadcom.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 9a13f9f..33b22db 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -43,7 +43,7 @@ struct p2p_group * wpas_p2p_group_init(struct wpa_supplicant *wpa_s,
void wpas_p2p_wps_success(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
int registrar);
int wpas_p2p_prov_disc(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
- const char *config_method);
+ const char *config_method, int join);
void wpas_send_action_tx_status(struct wpa_supplicant *wpa_s, const u8 *dst,
const u8 *data, size_t data_len,
enum p2p_send_action_result result);