diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-07-23 13:24:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-08 16:04:03 -0400 |
commit | ca9a46056908d3cade6957b3d5b2e698356b29fc (patch) | |
tree | 343619b1c45d1386d44688f577414623496e4fb6 /drivers/net/wireless/iwlwifi/iwl-1000.c | |
parent | 5d7969bf2bce73fdb91bd53ad39b1f0ab43f5ce3 (diff) |
iwlagn: bump firmware API for some devices
We're working on improvements for the firmware
for some devices, and need to bump the API for
those since they won't be backward compatible
completely (the earlier patch reserving queue
10 for P2P).
Bump the API version to 6 for those devices
but don't warn users of version 5 yet.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-1000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-1000.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-1000.c b/drivers/net/wireless/iwlwifi/iwl-1000.c index 9e8e06aad508..ccdbed567171 100644 --- a/drivers/net/wireless/iwlwifi/iwl-1000.c +++ b/drivers/net/wireless/iwlwifi/iwl-1000.c | |||
@@ -45,8 +45,12 @@ | |||
45 | #include "iwl-agn-hw.h" | 45 | #include "iwl-agn-hw.h" |
46 | 46 | ||
47 | /* Highest firmware API version supported */ | 47 | /* Highest firmware API version supported */ |
48 | #define IWL1000_UCODE_API_MAX 5 | 48 | #define IWL1000_UCODE_API_MAX 6 |
49 | #define IWL100_UCODE_API_MAX 5 | 49 | #define IWL100_UCODE_API_MAX 6 |
50 | |||
51 | /* Oldest version we won't warn about */ | ||
52 | #define IWL1000_UCODE_API_OK 5 | ||
53 | #define IWL100_UCODE_API_OK 5 | ||
50 | 54 | ||
51 | /* Lowest firmware API version supported */ | 55 | /* Lowest firmware API version supported */ |
52 | #define IWL1000_UCODE_API_MIN 1 | 56 | #define IWL1000_UCODE_API_MIN 1 |
@@ -205,6 +209,7 @@ static struct iwl_ht_params iwl1000_ht_params = { | |||
205 | #define IWL_DEVICE_1000 \ | 209 | #define IWL_DEVICE_1000 \ |
206 | .fw_name_pre = IWL1000_FW_PRE, \ | 210 | .fw_name_pre = IWL1000_FW_PRE, \ |
207 | .ucode_api_max = IWL1000_UCODE_API_MAX, \ | 211 | .ucode_api_max = IWL1000_UCODE_API_MAX, \ |
212 | .ucode_api_ok = IWL1000_UCODE_API_OK, \ | ||
208 | .ucode_api_min = IWL1000_UCODE_API_MIN, \ | 213 | .ucode_api_min = IWL1000_UCODE_API_MIN, \ |
209 | .eeprom_ver = EEPROM_1000_EEPROM_VERSION, \ | 214 | .eeprom_ver = EEPROM_1000_EEPROM_VERSION, \ |
210 | .eeprom_calib_ver = EEPROM_1000_TX_POWER_VERSION, \ | 215 | .eeprom_calib_ver = EEPROM_1000_TX_POWER_VERSION, \ |
@@ -226,6 +231,7 @@ struct iwl_cfg iwl1000_bg_cfg = { | |||
226 | #define IWL_DEVICE_100 \ | 231 | #define IWL_DEVICE_100 \ |
227 | .fw_name_pre = IWL100_FW_PRE, \ | 232 | .fw_name_pre = IWL100_FW_PRE, \ |
228 | .ucode_api_max = IWL100_UCODE_API_MAX, \ | 233 | .ucode_api_max = IWL100_UCODE_API_MAX, \ |
234 | .ucode_api_ok = IWL100_UCODE_API_OK, \ | ||
229 | .ucode_api_min = IWL100_UCODE_API_MIN, \ | 235 | .ucode_api_min = IWL100_UCODE_API_MIN, \ |
230 | .eeprom_ver = EEPROM_1000_EEPROM_VERSION, \ | 236 | .eeprom_ver = EEPROM_1000_EEPROM_VERSION, \ |
231 | .eeprom_calib_ver = EEPROM_1000_TX_POWER_VERSION, \ | 237 | .eeprom_calib_ver = EEPROM_1000_TX_POWER_VERSION, \ |