]> 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)
commit8142d483d6667041dfdc8e469328464864d5c6bf
tree972cfa24a7943ac3a5ced9d174c2f10ca884720f
parent7c2749909b79e1a034afaae6df069551d88285dd
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