]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: advertise only HW-supported ciphers
authorJohannes Berg <johannes.berg@intel.com>
Wed, 20 May 2015 14:51:28 +0000 (16:51 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Jun 2015 07:12:26 +0000 (10:12 +0300)
commit13aeb94b5aaf98eb009a81012ffc024ef8a677be
tree972cfa24a7943ac3a5ced9d174c2f10ca884720f
parent929c75a12b70dd23eb613cf2e9a5be1c639d4580
iwlwifi: mvm: advertise only HW-supported ciphers

After the new ciphers CCMP-256 and GCMP-128/256 were implemented,
wpa_supplicant could start negotiating them and use the software
implementation. This, however, breaks D3 behaviour in the driver
since it means that WoWLAN will not be possible.

To avoid breaking that feature, advertise only ciphers that the
hardware supports.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h