]> git.ipfire.org Git - thirdparty/hostap.git/commit - hostapd/hostapd.conf
WPS: Add a workaround for Windows 7 capability discovery for PBC
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 17 May 2011 16:53:02 +0000 (19:53 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 17 May 2011 16:53:02 +0000 (19:53 +0300)
commitfa5165586fa11ecdccb7c81d40979b51c2583fd2
treee687abcd778d5ebb37fdbd50f3cabb2eccdacc3d
parentbcb90f750d16c9cab4c7699ab211616d0cd9bf46
WPS: Add a workaround for Windows 7 capability discovery for PBC

Windows 7 uses incorrect way of figuring out AP's WPS capabilities by
acting as a Registrar and using M1 from the AP. The config methods
attribute in that message is supposed to indicate only the configuration
method supported by the AP in Enrollee role, i.e., to add an external
Registrar. For that case, PBC shall not be used and as such, the
PushButton config method is removed from M1 by default. If pbc_in_m1=1
is included in the configuration file, the PushButton config method is
left in M1 (if included in config_methods parameter) to allow Windows 7
to use PBC instead of PIN (e.g., from a label in the AP).
14 files changed:
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.h
src/ap/ieee802_1x.c
src/eap_server/eap.h
src/eap_server/eap_i.h
src/eap_server/eap_server.c
src/eap_server/eap_server_wsc.c
src/eapol_auth/eapol_auth_sm.c
src/eapol_auth/eapol_auth_sm.h
src/wps/wps.c
src/wps/wps.h
src/wps/wps_enrollee.c
src/wps/wps_i.h