WPS: Add a workaround for static WEP with Windows network probe
authorJouni Malinen <j@w1.fi>
Sun, 8 Mar 2009 17:36:02 +0000 (19:36 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 8 Mar 2009 17:36:02 +0000 (19:36 +0200)
commit143a4bf632e79d7adbe97f23e1b02e9c1d1a5cee
tree0091a2370e6d5690a6e6087fda04e99273194527
parent9e783041fa3cc13bf940d275e9d26c0dce032df6
WPS: Add a workaround for static WEP with Windows network probe

Windows XP and Vista clients can get confused about EAP-Identity/Request
when they probe the network with EAPOL-Start. In such a case, they may
assume the network is using IEEE 802.1X and prompt user for a
certificate while the correct (non-WPS) behavior would be to ask for the
static WEP key. As a workaround, use Microsoft Provisioning IE to
advertise that legacy 802.1X is not supported.

This seems to make Windows ask for a static WEP key when adding a new
network, but at least Windows XP SP3 was still marking IEEE 802.1X
enabled for the network. Anyway, this is better than just leaving the
network configured with IEEE 802.1X and automatic WEP key distribution.
hostapd/wps_hostapd.c
src/wps/wps.h
src/wps/wps_registrar.c