diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-11-24 01:50:14 -0500 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-12-01 05:04:36 -0500 |
commit | 6d8e09ee77a73466282cf07b67249c4792594a97 (patch) | |
tree | 086cd4f4004f3c2645b351ce0654d55c9d98628c /drivers/net/wireless/iwlwifi | |
parent | b04998f3d57adc9ccde264b125bc4ff00b9993d5 (diff) |
iwlwifi: deprecate -8.ucode for 3160 / 7260 / 7265
This firmware is not supported anymore.
Stop loading this firmware - and remove the code that
handled older versions.
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-7000.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-8000.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mac80211.c | 1 |
3 files changed, 6 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-7000.c b/drivers/net/wireless/iwlwifi/iwl-7000.c index 84d2a4280694..8155988a8b43 100644 --- a/drivers/net/wireless/iwlwifi/iwl-7000.c +++ b/drivers/net/wireless/iwlwifi/iwl-7000.c | |||
@@ -73,12 +73,12 @@ | |||
73 | #define IWL3160_UCODE_API_MAX 10 | 73 | #define IWL3160_UCODE_API_MAX 10 |
74 | 74 | ||
75 | /* Oldest version we won't warn about */ | 75 | /* Oldest version we won't warn about */ |
76 | #define IWL7260_UCODE_API_OK 9 | 76 | #define IWL7260_UCODE_API_OK 10 |
77 | #define IWL3160_UCODE_API_OK 9 | 77 | #define IWL3160_UCODE_API_OK 10 |
78 | 78 | ||
79 | /* Lowest firmware API version supported */ | 79 | /* Lowest firmware API version supported */ |
80 | #define IWL7260_UCODE_API_MIN 8 | 80 | #define IWL7260_UCODE_API_MIN 9 |
81 | #define IWL3160_UCODE_API_MIN 8 | 81 | #define IWL3160_UCODE_API_MIN 9 |
82 | 82 | ||
83 | /* NVM versions */ | 83 | /* NVM versions */ |
84 | #define IWL7260_NVM_VERSION 0x0a1d | 84 | #define IWL7260_NVM_VERSION 0x0a1d |
diff --git a/drivers/net/wireless/iwlwifi/iwl-8000.c b/drivers/net/wireless/iwlwifi/iwl-8000.c index d0357b37fd8f..1211569619d9 100644 --- a/drivers/net/wireless/iwlwifi/iwl-8000.c +++ b/drivers/net/wireless/iwlwifi/iwl-8000.c | |||
@@ -72,10 +72,10 @@ | |||
72 | #define IWL8000_UCODE_API_MAX 10 | 72 | #define IWL8000_UCODE_API_MAX 10 |
73 | 73 | ||
74 | /* Oldest version we won't warn about */ | 74 | /* Oldest version we won't warn about */ |
75 | #define IWL8000_UCODE_API_OK 8 | 75 | #define IWL8000_UCODE_API_OK 10 |
76 | 76 | ||
77 | /* Lowest firmware API version supported */ | 77 | /* Lowest firmware API version supported */ |
78 | #define IWL8000_UCODE_API_MIN 8 | 78 | #define IWL8000_UCODE_API_MIN 9 |
79 | 79 | ||
80 | /* NVM versions */ | 80 | /* NVM versions */ |
81 | #define IWL8000_NVM_VERSION 0x0a1d | 81 | #define IWL8000_NVM_VERSION 0x0a1d |
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c index f876d866b8ab..598fabf5a03d 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c | |||
@@ -337,7 +337,6 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm) | |||
337 | hw->flags |= IEEE80211_HW_MFP_CAPABLE; | 337 | hw->flags |= IEEE80211_HW_MFP_CAPABLE; |
338 | 338 | ||
339 | if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_UAPSD_SUPPORT && | 339 | if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_UAPSD_SUPPORT && |
340 | IWL_UCODE_API(mvm->fw->ucode_ver) >= 9 && | ||
341 | !iwlwifi_mod_params.uapsd_disable) { | 340 | !iwlwifi_mod_params.uapsd_disable) { |
342 | hw->flags |= IEEE80211_HW_SUPPORTS_UAPSD; | 341 | hw->flags |= IEEE80211_HW_SUPPORTS_UAPSD; |
343 | hw->uapsd_queues = IWL_MVM_UAPSD_QUEUES; | 342 | hw->uapsd_queues = IWL_MVM_UAPSD_QUEUES; |