aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-05-26 14:16:14 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-09 13:07:48 (GMT)
commit54f489be451b6c38574cbb0972f18d623bf0a17a (patch)
treef5ffbf7781cba58f75ef5e71c57bfcc1a833f71e /wpa_supplicant/scan.h
parent00ae50bc879479f556c6919d8003dbfdb3e24c2d (diff)
downloadhostap-54f489be451b6c38574cbb0972f18d623bf0a17a.zip
hostap-54f489be451b6c38574cbb0972f18d623bf0a17a.tar.gz
hostap-54f489be451b6c38574cbb0972f18d623bf0a17a.tar.bz2
WPS 2.0: Validate WPS attributes in management frames and WSC messages
If CONFIG_WPS_STRICT is set, validate WPS IE(s) in management frames and reject the frames if any of the mandatory attributes is missing or if an included attribute uses an invalid value. In addition, verify that all mandatory attributes are included and have valid values in the WSC messages.
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 441fdbb..025b815 100644
--- a/wpa_supplicant/scan.h
+++ b/wpa_supplicant/scan.h
@@ -32,6 +32,8 @@ const u8 * wpa_scan_get_vendor_ie(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);
+struct wpabuf * wpa_scan_get_vendor_ie_multi_beacon(
+ const struct wpa_scan_res *res, u32 vendor_type);
void wpa_scan_results_free(struct wpa_scan_results *res);
#endif /* SCAN_H */