diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-11-27 08:38:57 -0500 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-12-01 05:04:44 -0500 |
commit | e70af8e099248424c51602ea1d5d940c28ff48e6 (patch) | |
tree | a482472c5ecd7ecd9df382aac807c757dc5743bf | |
parent | a4e5df283c9a84b29100a046e64f35bfb1660a9c (diff) |
iwlwifi: don't load on 7265D with old NVM
7265D are new devices that should always have a new NVM
(at least 0x0c11). The firmware has issues with older
versions of the NVM which are not and will not be available
to the common mortals.
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-7000.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-7000.c b/drivers/net/wireless/iwlwifi/iwl-7000.c index 8155988a8b43..e5be2d21868f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-7000.c +++ b/drivers/net/wireless/iwlwifi/iwl-7000.c | |||
@@ -89,6 +89,8 @@ | |||
89 | #define IWL3165_TX_POWER_VERSION 0xffff /* meaningless */ | 89 | #define IWL3165_TX_POWER_VERSION 0xffff /* meaningless */ |
90 | #define IWL7265_NVM_VERSION 0x0a1d | 90 | #define IWL7265_NVM_VERSION 0x0a1d |
91 | #define IWL7265_TX_POWER_VERSION 0xffff /* meaningless */ | 91 | #define IWL7265_TX_POWER_VERSION 0xffff /* meaningless */ |
92 | #define IWL7265D_NVM_VERSION 0x0c11 | ||
93 | #define IWL7265_TX_POWER_VERSION 0xffff /* meaningless */ | ||
92 | 94 | ||
93 | #define IWL7260_FW_PRE "iwlwifi-7260-" | 95 | #define IWL7260_FW_PRE "iwlwifi-7260-" |
94 | #define IWL7260_MODULE_FIRMWARE(api) IWL7260_FW_PRE __stringify(api) ".ucode" | 96 | #define IWL7260_MODULE_FIRMWARE(api) IWL7260_FW_PRE __stringify(api) ".ucode" |
@@ -275,7 +277,7 @@ const struct iwl_cfg iwl7265d_2ac_cfg = { | |||
275 | .fw_name_pre = IWL7265D_FW_PRE, | 277 | .fw_name_pre = IWL7265D_FW_PRE, |
276 | IWL_DEVICE_7000, | 278 | IWL_DEVICE_7000, |
277 | .ht_params = &iwl7265_ht_params, | 279 | .ht_params = &iwl7265_ht_params, |
278 | .nvm_ver = IWL7265_NVM_VERSION, | 280 | .nvm_ver = IWL7265D_NVM_VERSION, |
279 | .nvm_calib_ver = IWL7265_TX_POWER_VERSION, | 281 | .nvm_calib_ver = IWL7265_TX_POWER_VERSION, |
280 | .pwr_tx_backoffs = iwl7265_pwr_tx_backoffs, | 282 | .pwr_tx_backoffs = iwl7265_pwr_tx_backoffs, |
281 | }; | 283 | }; |
@@ -285,7 +287,7 @@ const struct iwl_cfg iwl7265d_2n_cfg = { | |||
285 | .fw_name_pre = IWL7265D_FW_PRE, | 287 | .fw_name_pre = IWL7265D_FW_PRE, |
286 | IWL_DEVICE_7000, | 288 | IWL_DEVICE_7000, |
287 | .ht_params = &iwl7265_ht_params, | 289 | .ht_params = &iwl7265_ht_params, |
288 | .nvm_ver = IWL7265_NVM_VERSION, | 290 | .nvm_ver = IWL7265D_NVM_VERSION, |
289 | .nvm_calib_ver = IWL7265_TX_POWER_VERSION, | 291 | .nvm_calib_ver = IWL7265_TX_POWER_VERSION, |
290 | .pwr_tx_backoffs = iwl7265_pwr_tx_backoffs, | 292 | .pwr_tx_backoffs = iwl7265_pwr_tx_backoffs, |
291 | }; | 293 | }; |
@@ -295,7 +297,7 @@ const struct iwl_cfg iwl7265d_n_cfg = { | |||
295 | .fw_name_pre = IWL7265D_FW_PRE, | 297 | .fw_name_pre = IWL7265D_FW_PRE, |
296 | IWL_DEVICE_7000, | 298 | IWL_DEVICE_7000, |
297 | .ht_params = &iwl7265_ht_params, | 299 | .ht_params = &iwl7265_ht_params, |
298 | .nvm_ver = IWL7265_NVM_VERSION, | 300 | .nvm_ver = IWL7265D_NVM_VERSION, |
299 | .nvm_calib_ver = IWL7265_TX_POWER_VERSION, | 301 | .nvm_calib_ver = IWL7265_TX_POWER_VERSION, |
300 | .pwr_tx_backoffs = iwl7265_pwr_tx_backoffs, | 302 | .pwr_tx_backoffs = iwl7265_pwr_tx_backoffs, |
301 | }; | 303 | }; |