aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-10-14 16:25:28 (GMT)
committerJouni Malinen <j@w1.fi>2013-10-14 16:25:28 (GMT)
commitaaeb9c98e6aad64bbf92c7cb6ef4531c039b8a1d (patch)
tree39e2aecb64be11ab9b4c7602d63e53a057827b3c /wpa_supplicant/scan.h
parentb16696ff72969329c9e4507f9bbcaf5882b492f7 (diff)
downloadhostap-aaeb9c98e6aad64bbf92c7cb6ef4531c039b8a1d.zip
hostap-aaeb9c98e6aad64bbf92c7cb6ef4531c039b8a1d.tar.gz
hostap-aaeb9c98e6aad64bbf92c7cb6ef4531c039b8a1d.tar.bz2
P2P: Allow GO to be discovered based on Beacon frame
This fixes some P2P-join-a-group cases where GO may have been discovered based on passive scan or non-P2P scan. P2P IEs may have been received from a Beacon frame in such a case and that information can be used to create a P2P peer entry, e.g., to allow provision discovery exchange to be completed. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/scan.h')
-rw-r--r--wpa_supplicant/scan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/scan.h b/wpa_supplicant/scan.h
index 2144787..66581a9 100644
--- a/wpa_supplicant/scan.h
+++ b/wpa_supplicant/scan.h
@@ -29,6 +29,8 @@ int wpa_supplicant_update_scan_results(struct wpa_supplicant *wpa_s);
const u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie);
const u8 * wpa_scan_get_vendor_ie(const struct wpa_scan_res *res,
u32 vendor_type);
+const u8 * wpa_scan_get_vendor_ie_beacon(const struct wpa_scan_res *res,
+ u32 vendor_type);
struct wpabuf * wpa_scan_get_vendor_ie_multi(const struct wpa_scan_res *res,
u32 vendor_type);
int wpa_supplicant_filter_bssid_match(struct wpa_supplicant *wpa_s,