aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2013-06-30 07:17:47 (GMT)
committerJouni Malinen <j@w1.fi>2013-06-30 07:50:14 (GMT)
commitc68f6200a72f2b33304f583859b09e57757b9d2a (patch)
treebc33281faf4a1fcefe0c513b6d65c8b609c95d8b /wpa_supplicant/p2p_supplicant.h
parent851b0c5581069de6db01ddca7c150b76cee415a2 (diff)
downloadhostap-c68f6200a72f2b33304f583859b09e57757b9d2a.zip
hostap-c68f6200a72f2b33304f583859b09e57757b9d2a.tar.gz
hostap-c68f6200a72f2b33304f583859b09e57757b9d2a.tar.bz2
P2P: Create P2P Device interface if supported
If the capability flag of the driver indicates a dedicated P2P Device is supported, a P2P Device interface is created. Create the P2P Device in main interface creation loop when the added interface flags support and P2P supplicant is not yet initialized avoiding recursion of add_interface. Do not register l2_packet for P2P Device interface (both for EAPOL and for TDLS). Signed-hostap: Arend van Spriel <arend@broadcom.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 0a7212c..a7fadc0 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -14,10 +14,12 @@ struct p2p_go_neg_results;
enum p2p_send_action_result;
struct p2p_peer_info;
struct p2p_channels;
+struct wps_event_fail;
int wpas_p2p_init(struct wpa_global *global, struct wpa_supplicant *wpa_s);
void wpas_p2p_deinit(struct wpa_supplicant *wpa_s);
void wpas_p2p_deinit_global(struct wpa_global *global);
+int wpas_p2p_add_p2pdev_interface(struct wpa_supplicant *wpa_s);
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,