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)
commit5f4c02e2b8c9251c827abf87c4ead4496c67492a
tree972cfa24a7943ac3a5ced9d174c2f10ca884720f
parent42bbd6ecca5065debf99260923689ae52df7230d
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