aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps/wps.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-08-28 19:16:59 +0300
committerJouni Malinen <j@w1.fi>2011-08-28 19:16:59 +0300
commit17f6b9005641c9c44f55cda825b3a170ffa8ff04 (patch)
treea7e3e09d4cd0182c8c08f9b6cb37a055da1b7066 /src/wps/wps.h
parentfb91db56396cce2c13f659fb263fd30d2f23cbef (diff)
downloadexternal_wpa_supplicant_8_ti-17f6b9005641c9c44f55cda825b3a170ffa8ff04.zip
external_wpa_supplicant_8_ti-17f6b9005641c9c44f55cda825b3a170ffa8ff04.tar.gz
external_wpa_supplicant_8_ti-17f6b9005641c9c44f55cda825b3a170ffa8ff04.tar.bz2
WPS: Wait for EAPOL-Start unless WPS 2.0 station as workaround
Extend the code that waits for the station to send EAPOL-Start before initiating EAPOL authenticator operations to cover the case where the station includes WPS IE in (Re)Association Request frame if that IE does not include support for WPS 2.0. While this should not really be needed, this may help with some deployed WPS 1.0 stations that do not support EAPOL operations correctly and may get confused of the EAP-Request/Identity packets that would show up twice if EAPOL-Start is transmitted.
Diffstat (limited to 'src/wps/wps.h')
-rw-r--r--src/wps/wps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wps/wps.h b/src/wps/wps.h
index 3e4c218..2cbbc18 100644
--- a/src/wps/wps.h
+++ b/src/wps/wps.h
@@ -239,6 +239,7 @@ int wps_ap_priority_compar(const struct wpabuf *wps_a,
int wps_is_addr_authorized(const struct wpabuf *msg, const u8 *addr,
int ver1_compat);
const u8 * wps_get_uuid_e(const struct wpabuf *msg);
+int wps_is_20(const struct wpabuf *msg);
struct wpabuf * wps_build_assoc_req_ie(enum wps_request_type req_type);
struct wpabuf * wps_build_assoc_resp_ie(void);