[PATCH] WPS: Fix hostapd PBC with Windows 7 supplicant

Jouni Malinen j
Fri Apr 15 08:26:06 PDT 2011

On Tue, Apr 12, 2011 at 12:00:09PM +0900, Masashi Honma wrote:
> The Windows 7 has it's own supplicant (not wpa_supplicant). If I
> configured the hostapd as only WPS PBC capable AP (i.e.
> "config_methods=push_button" in hostapd.conf), the Windows 7
> supplicant could not connect to the hostapd. Because the Windows 7
> supplicant popped up PIN input dialog.
> The attached patch solves this issue.

Well, it may work around a completely broken WPS discovery mechanism in
Windows, but it is strictly against the WPS specification and would make
the AP fail some certification tests. Then again, support of PIN method
is mandatory in those tests, too. What kind of use cases would this AP
be used for? Only to work as a Registrar and only allow use of PBC to
connect Enrollees to the network? I.e., no support for use of PIN from
a label or for entering an Enrollee PIN.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list