aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.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 /src/p2p/p2p_i.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 'src/p2p/p2p_i.h')
-rw-r--r--src/p2p/p2p_i.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index 237abbf..f913e00 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -361,6 +361,10 @@ struct p2p_data {
u8 after_scan_peer[ETH_ALEN];
struct p2p_pending_action_tx *after_scan_tx;
+ /* Requested device types for find/search */
+ unsigned int num_req_dev_types;
+ u8 *req_dev_types;
+
struct p2p_group **groups;
size_t num_groups;