aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorJean-Michel Bachot <jean-michelx.bachot@linux.intel.com>2011-03-19 10:57:46 (GMT)
committerJouni Malinen <j@w1.fi>2011-03-19 10:57:46 (GMT)
commit046ef4aa6738a423741c369e8d38d2e7a9bae342 (patch)
tree5e4becca8408b0a8e258daaeb49e10c1047a401c /wpa_supplicant/p2p_supplicant.h
parent10c5d2a593249a2a1e0a5d4bfdba6caaff00bdb3 (diff)
downloadhostap-046ef4aa6738a423741c369e8d38d2e7a9bae342.zip
hostap-046ef4aa6738a423741c369e8d38d2e7a9bae342.tar.gz
hostap-046ef4aa6738a423741c369e8d38d2e7a9bae342.tar.bz2
P2P: Add option for requested device type in P2P search/scan
With this, p2p_find can be extended to find certain requested device types. Signed-off-by: Johannes Berg <johannes.berg@intel.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 5b3b1d2..69df475 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -51,7 +51,8 @@ int wpas_p2p_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
char *end);
enum p2p_discovery_type;
int wpas_p2p_find(struct wpa_supplicant *wpa_s, unsigned int timeout,
- enum p2p_discovery_type type);
+ enum p2p_discovery_type type,
+ unsigned int num_req_dev_types, const u8 *req_dev_types);
void wpas_p2p_stop_find(struct wpa_supplicant *wpa_s);
int wpas_p2p_listen(struct wpa_supplicant *wpa_s, unsigned int timeout);
int wpas_p2p_assoc_req_ie(struct wpa_supplicant *wpa_s, struct wpa_bss *bss,