aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps/wps_dev_attr.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/wps/wps_dev_attr.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/wps/wps_dev_attr.h')
-rw-r--r--src/wps/wps_dev_attr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wps/wps_dev_attr.h b/src/wps/wps_dev_attr.h
index f17f62d..f26a05b 100644
--- a/src/wps/wps_dev_attr.h
+++ b/src/wps/wps_dev_attr.h
@@ -37,5 +37,8 @@ void wps_device_data_dup(struct wps_device_data *dst,
const struct wps_device_data *src);
void wps_device_data_free(struct wps_device_data *dev);
int wps_build_vendor_ext(struct wps_device_data *dev, struct wpabuf *msg);
+int wps_build_req_dev_type(struct wps_device_data *dev, struct wpabuf *msg,
+ unsigned int num_req_dev_types,
+ const u8 *req_dev_types);
#endif /* WPS_DEV_ATTR_H */