summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-05-20 16:51:28 +0200
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-06-03 10:12:26 +0300
commit5f4c02e2b8c9251c827abf87c4ead4496c67492a (patch)
tree972cfa24a7943ac3a5ced9d174c2f10ca884720f /drivers/net/wireless/iwlwifi/mvm/mvm.h
parent42bbd6ecca5065debf99260923689ae52df7230d (diff)
downloadop-kernel-dev-5f4c02e2b8c9251c827abf87c4ead4496c67492a.zip
op-kernel-dev-5f4c02e2b8c9251c827abf87c4ead4496c67492a.tar.gz
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index 255cde4..2d4bad5 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -820,6 +820,8 @@ struct iwl_mvm {
} tdls_cs;
struct iwl_mvm_shared_mem_cfg shared_mem_cfg;
+
+ u32 ciphers[6];
};
/* Extract MVM priv from op_mode and _hw */
OpenPOWER on IntegriCloud