summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorJohannes Berg2015-05-20 16:51:28 +0200
committerEmmanuel Grumbach2015-06-03 09:12:26 +0200
commit5f4c02e2b8c9251c827abf87c4ead4496c67492a (patch)
tree972cfa24a7943ac3a5ced9d174c2f10ca884720f /drivers/net/wireless/iwlwifi/mvm/mvm.h
parentiwlwifi: bump the iwlmvm API number to 15 (diff)
downloadkernel-qcow2-linux-5f4c02e2b8c9251c827abf87c4ead4496c67492a.tar.gz
kernel-qcow2-linux-5f4c02e2b8c9251c827abf87c4ead4496c67492a.tar.xz
kernel-qcow2-linux-5f4c02e2b8c9251c827abf87c4ead4496c67492a.zip
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 255cde41d8b0..2d4bad5fe825 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 */