summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/iwl-prph.h
diff options
context:
space:
mode:
authorSara Sharon <sara.sharon@intel.com>2016-12-28 10:04:23 +0200
committerLuca Coelho <luciano.coelho@intel.com>2017-04-11 14:54:37 +0300
commit82ea79660c2744c6d273862a455ca634a6c4d2ee (patch)
treefa8d96ac40f7e3e952a92c04f3c2830f27429ef2 /drivers/net/wireless/intel/iwlwifi/iwl-prph.h
parentde74c455fd991024be76a535df4d66e96af3896e (diff)
downloadtalos-op-linux-82ea79660c2744c6d273862a455ca634a6c4d2ee.tar.gz
talos-op-linux-82ea79660c2744c6d273862a455ca634a6c4d2ee.zip
iwlwifi: pcie: use WFPM_GP for debugging D3 flows
This register is helpful for debugging D3 issues. Driver turns all bits on, and then on exit reads the updated value there. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-prph.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/iwl-prph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-prph.h b/drivers/net/wireless/intel/iwlwifi/iwl-prph.h
index 406ef301b8ab..3a8aeee3b55a 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-prph.h
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-prph.h
@@ -378,6 +378,7 @@
#define RADIO_REG_SYS_MANUAL_DFT_0 0xAD4078
#define RFIC_REG_RD 0xAD0470
#define WFPM_CTRL_REG 0xA03030
+#define WFPM_GP2 0xA030B4
enum {
ENABLE_WFPM = BIT(31),
WFPM_AUX_CTL_AUX_IF_MAC_OWNER_MSK = 0x80000000,
OpenPOWER on IntegriCloud