aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2014-06-02 14:42:04 (GMT)
committerJouni Malinen <j@w1.fi>2014-06-29 14:00:55 (GMT)
commit6f04642fe3e1207efb61cac1b6bdd16fabe5ff77 (patch)
treee48071c843e3492e50547ce423a0c8dfe92fca00 /wpa_supplicant/p2p_supplicant.h
parentc6386e5c71ff13d97e38b35c8e6b0b6127e8bb29 (diff)
downloadhostap-6f04642fe3e1207efb61cac1b6bdd16fabe5ff77.zip
hostap-6f04642fe3e1207efb61cac1b6bdd16fabe5ff77.tar.gz
hostap-6f04642fe3e1207efb61cac1b6bdd16fabe5ff77.tar.bz2
P2P: Add utility functions to get GO/client interface
This will be useful for a peer to know if it is part of a group either as a client of our local GO or as the peer GO. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index cb4bf25..841d6df 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -17,6 +17,10 @@ struct p2p_channels;
struct wps_event_fail;
int wpas_p2p_add_p2pdev_interface(struct wpa_supplicant *wpa_s);
+struct wpa_supplicant * wpas_get_p2p_go_iface(struct wpa_supplicant *wpa_s,
+ const u8 *ssid, size_t ssid_len);
+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,