]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Remove strict validation of AKM suites
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 21 Sep 2011 15:11:33 +0000 (18:11 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:29:54 +0000 (14:29 -0400)
commitcafeebb94acbce79bc8bcb66b67589e3e77b1b7d
tree56bb2d85ccda77d9d12187cc699e9820d3161de7
parentc5c87d55c732a6d43a7a808efb78b9e697dd187e
cfg80211: Remove strict validation of AKM suites

NL80211_ATTR_AKM_SUITES can be used to configure new AKMs, like FT or
the SHA-256 -based AKMs or FT from 802.11r/802.11w. In addition, vendor
specific AKMs could be used. The current validation code for the connect
command prevents cfg80211-based drivers from using these mechanisms even
if the driver would not actually use this AKM value (i.e., it uses
WPA/RSN IE from user space). mac80211-based drivers allow any AKM to be
used since this value is not used there.

Remove the unnecessary validation step in cfg80211 to allow drivers to
decide what AKMs are supported. In theory, we could handle this by
advertising supported AKMs, but that would not be very effective unless
we enforce all drivers (including mac80211) to advertise the set of
supported AKMs. This would require additional changes in many places
whenever a new AKM is introduced even though no actually functionality
changes may be required in most drivers.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c