WPS: Add a workaround for TKIP/CCMP mixed mode credentials
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 5 Mar 2009 19:39:39 +0000 (21:39 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 5 Mar 2009 19:39:39 +0000 (21:39 +0200)
commit7cc1b6c900d79e6051116f4aed55b84d404c49f1
treee1015f5e1d73a6e181e074735f2ebf589e4e125f
parentd85825e355077f5728526e393aed176bbf3db530
WPS: Add a workaround for TKIP/CCMP mixed mode credentials

Many deployed APs do not handle negotiation of security parameters well
when both TKIP and CCMP (or both WPA and WPA2) are enabled. The most
common end result seems to be ending up with the least secure option..

As a workaround, check whether the AP advertises WPA2/CCMP in Beacon
frames and add those options for the credential if needed. This allows
the client to select the most secure configuration regardless of how
broken the AP's WPS implementation is as far as auth/encr type
negotiation is concerned.
wpa_supplicant/wps_supplicant.c