diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-09-14 05:54:42 -0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-09-14 05:54:42 -0400 |
commit | 71511c866bce04f931e462ad0cce3f122aa0c447 (patch) | |
tree | 83713e5e695f04bcbdfbf69818ca03d01c4ddc45 /drivers/net/wireless/iwlwifi/iwl-7000.c | |
parent | 712b24adc105518f7cbbb6f9f353efea48954bb9 (diff) | |
parent | 2cddddc56a1179aa71b460ad616176c237d4a243 (diff) |
Merge remote-tracking branch 'iwlwifi-fixes/master' into NEXT
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-7000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-7000.c | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-7000.c b/drivers/net/wireless/iwlwifi/iwl-7000.c index 446654aed017..8e99dffa88e8 100644 --- a/drivers/net/wireless/iwlwifi/iwl-7000.c +++ b/drivers/net/wireless/iwlwifi/iwl-7000.c | |||
@@ -69,8 +69,8 @@ | |||
69 | #include "iwl-agn-hw.h" | 69 | #include "iwl-agn-hw.h" |
70 | 70 | ||
71 | /* Highest firmware API version supported */ | 71 | /* Highest firmware API version supported */ |
72 | #define IWL7260_UCODE_API_MAX 9 | 72 | #define IWL7260_UCODE_API_MAX 10 |
73 | #define IWL3160_UCODE_API_MAX 9 | 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 9 |
@@ -85,6 +85,8 @@ | |||
85 | #define IWL7260_TX_POWER_VERSION 0xffff /* meaningless */ | 85 | #define IWL7260_TX_POWER_VERSION 0xffff /* meaningless */ |
86 | #define IWL3160_NVM_VERSION 0x709 | 86 | #define IWL3160_NVM_VERSION 0x709 |
87 | #define IWL3160_TX_POWER_VERSION 0xffff /* meaningless */ | 87 | #define IWL3160_TX_POWER_VERSION 0xffff /* meaningless */ |
88 | #define IWL3165_NVM_VERSION 0x709 | ||
89 | #define IWL3165_TX_POWER_VERSION 0xffff /* meaningless */ | ||
88 | #define IWL7265_NVM_VERSION 0x0a1d | 90 | #define IWL7265_NVM_VERSION 0x0a1d |
89 | #define IWL7265_TX_POWER_VERSION 0xffff /* meaningless */ | 91 | #define IWL7265_TX_POWER_VERSION 0xffff /* meaningless */ |
90 | 92 | ||
@@ -94,6 +96,9 @@ | |||
94 | #define IWL3160_FW_PRE "iwlwifi-3160-" | 96 | #define IWL3160_FW_PRE "iwlwifi-3160-" |
95 | #define IWL3160_MODULE_FIRMWARE(api) IWL3160_FW_PRE __stringify(api) ".ucode" | 97 | #define IWL3160_MODULE_FIRMWARE(api) IWL3160_FW_PRE __stringify(api) ".ucode" |
96 | 98 | ||
99 | #define IWL3165_FW_PRE "iwlwifi-3165-" | ||
100 | #define IWL3165_MODULE_FIRMWARE(api) IWL3165_FW_PRE __stringify(api) ".ucode" | ||
101 | |||
97 | #define IWL7265_FW_PRE "iwlwifi-7265-" | 102 | #define IWL7265_FW_PRE "iwlwifi-7265-" |
98 | #define IWL7265_MODULE_FIRMWARE(api) IWL7265_FW_PRE __stringify(api) ".ucode" | 103 | #define IWL7265_MODULE_FIRMWARE(api) IWL7265_FW_PRE __stringify(api) ".ucode" |
99 | 104 | ||
@@ -215,6 +220,16 @@ static const struct iwl_pwr_tx_backoff iwl7265_pwr_tx_backoffs[] = { | |||
215 | {0}, | 220 | {0}, |
216 | }; | 221 | }; |
217 | 222 | ||
223 | const struct iwl_cfg iwl3165_2ac_cfg = { | ||
224 | .name = "Intel(R) Dual Band Wireless AC 3165", | ||
225 | .fw_name_pre = IWL3165_FW_PRE, | ||
226 | IWL_DEVICE_7000, | ||
227 | .ht_params = &iwl7000_ht_params, | ||
228 | .nvm_ver = IWL3165_NVM_VERSION, | ||
229 | .nvm_calib_ver = IWL3165_TX_POWER_VERSION, | ||
230 | .pwr_tx_backoffs = iwl7265_pwr_tx_backoffs, | ||
231 | }; | ||
232 | |||
218 | const struct iwl_cfg iwl7265_2ac_cfg = { | 233 | const struct iwl_cfg iwl7265_2ac_cfg = { |
219 | .name = "Intel(R) Dual Band Wireless AC 7265", | 234 | .name = "Intel(R) Dual Band Wireless AC 7265", |
220 | .fw_name_pre = IWL7265_FW_PRE, | 235 | .fw_name_pre = IWL7265_FW_PRE, |
@@ -247,4 +262,5 @@ const struct iwl_cfg iwl7265_n_cfg = { | |||
247 | 262 | ||
248 | MODULE_FIRMWARE(IWL7260_MODULE_FIRMWARE(IWL7260_UCODE_API_OK)); | 263 | MODULE_FIRMWARE(IWL7260_MODULE_FIRMWARE(IWL7260_UCODE_API_OK)); |
249 | MODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL3160_UCODE_API_OK)); | 264 | MODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL3160_UCODE_API_OK)); |
265 | MODULE_FIRMWARE(IWL3165_MODULE_FIRMWARE(IWL3160_UCODE_API_OK)); | ||
250 | MODULE_FIRMWARE(IWL7265_MODULE_FIRMWARE(IWL7260_UCODE_API_OK)); | 266 | MODULE_FIRMWARE(IWL7265_MODULE_FIRMWARE(IWL7260_UCODE_API_OK)); |