summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-prph.h
diff options
context:
space:
mode:
authorEran Harary <eran.harary@intel.com>2015-02-25 13:24:51 +0100
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-03-12 08:57:35 +0100
commit7a42baa621538eb73b261828027b1faa25e341e6 (patch)
tree45a47676b4294b2e8c5a211b72b85b2fec8c3db7 /drivers/net/wireless/iwlwifi/iwl-prph.h
parentiwlwifi: mvm: always update the quota after association (diff)
downloadlinux-7a42baa621538eb73b261828027b1faa25e341e6.tar.xz
linux-7a42baa621538eb73b261828027b1faa25e341e6.zip
iwlwifi: mvm: support family 8000 B2/C steps
In-order to recognize newer step of the device, the driver must read the chip_version_id from the AUX bus MISC address space. This will determine what firmware file will be loaded. Signed-off-by: Eran Harary <eran.harary@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-prph.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-prph.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-prph.h b/drivers/net/wireless/iwlwifi/iwl-prph.h
index 383af2749d9a..aa6fb584a5a6 100644
--- a/drivers/net/wireless/iwlwifi/iwl-prph.h
+++ b/drivers/net/wireless/iwlwifi/iwl-prph.h
@@ -378,6 +378,15 @@ enum secure_load_status_reg {
#define LMPM_PMG_EN 0xA01CEC
#define RADIO_REG_SYS_MANUAL_DFT_0 0xAD4078
#define RFIC_REG_RD 0xAD0470
+#define WFPM_CTRL_REG 0xA03030
+enum {
+ ENABLE_WFPM = BIT(31),
+};
+
+#define AUX_MISC_REG 0xA200B0
+enum {
+ HW_STEP_LOCATION_BITS = 24,
+};
/* FW chicken bits */
#define LMPM_CHICK 0xA01FF8