summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/iwl-csr.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-05-18 17:02:05 +0200
committerLuca Coelho <luciano.coelho@intel.com>2017-06-29 12:26:24 +0200
commitae5bb2a62d96e52b138628e0cda4ebb377cbc456 (patch)
tree15f7bd5e004ca9f48da41155be07e14b64f2df1a /drivers/net/wireless/intel/iwlwifi/iwl-csr.h
parentiwlwifi: pcie: only apply retention workaround on 9000-series A-step (diff)
downloadlinux-ae5bb2a62d96e52b138628e0cda4ebb377cbc456.tar.xz
linux-ae5bb2a62d96e52b138628e0cda4ebb377cbc456.zip
iwlwifi: pcie: fix 9000-series RF-kill interrupt propagation
A hardware issue on 9000 series devices sometimes causes RF-kill interrupts to not be propagated to the host properly if ASPM is enabled. Work around this by setting the right hardware bit to allow it to interrupt the host for this reason (rfkill). Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-csr.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/iwl-csr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-csr.h b/drivers/net/wireless/intel/iwlwifi/iwl-csr.h
index e239b1d92cf9..c6c1876c1ad4 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-csr.h
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-csr.h
@@ -312,7 +312,7 @@
#define CSR_GP_CNTRL_REG_VAL_MAC_ACCESS_EN (0x00000001)
#define CSR_GP_CNTRL_REG_MSK_POWER_SAVE_TYPE (0x07000000)
-#define CSR_GP_CNTRL_REG_FLAG_MAC_POWER_SAVE (0x04000000)
+#define CSR_GP_CNTRL_REG_FLAG_RFKILL_WAKE_L1A_EN (0x04000000)
#define CSR_GP_CNTRL_REG_FLAG_HW_RF_KILL_SW (0x08000000)