69
69
#include "iwl-agn-hw.h"
70
70
71
71
/* Highest firmware API version supported */
72
- #define IWL7260_UCODE_API_MAX 19
72
+ #define IWL7260_UCODE_API_MAX 17
73
+ #define IWL7265_UCODE_API_MAX 19
74
+ #define IWL7265D_UCODE_API_MAX 19
73
75
74
76
/* Oldest version we won't warn about */
75
77
#define IWL7260_UCODE_API_OK 13
78
+ #define IWL7265_UCODE_API_OK 13
79
+ #define IWL7265D_UCODE_API_OK 13
76
80
77
81
/* Lowest firmware API version supported */
78
82
#define IWL7260_UCODE_API_MIN 13
83
+ #define IWL7265_UCODE_API_MIN 13
84
+ #define IWL7265D_UCODE_API_MIN 13
79
85
80
86
/* NVM versions */
81
87
#define IWL7260_NVM_VERSION 0x0a1d
@@ -149,10 +155,7 @@ static const struct iwl_ht_params iwl7000_ht_params = {
149
155
.ht40_bands = BIT (IEEE80211_BAND_2GHZ ) | BIT (IEEE80211_BAND_5GHZ ),
150
156
};
151
157
152
- #define IWL_DEVICE_7000 \
153
- .ucode_api_max = IWL7260_UCODE_API_MAX, \
154
- .ucode_api_ok = IWL7260_UCODE_API_OK, \
155
- .ucode_api_min = IWL7260_UCODE_API_MIN, \
158
+ #define IWL_DEVICE_7000_COMMON \
156
159
.device_family = IWL_DEVICE_FAMILY_7000, \
157
160
.max_inst_size = IWL60_RTC_INST_SIZE, \
158
161
.max_data_size = IWL60_RTC_DATA_SIZE, \
@@ -163,6 +166,24 @@ static const struct iwl_ht_params iwl7000_ht_params = {
163
166
.max_ht_ampdu_exponent = IEEE80211_HT_MAX_AMPDU_64K, \
164
167
.dccm_offset = IWL7000_DCCM_OFFSET
165
168
169
+ #define IWL_DEVICE_7000 \
170
+ IWL_DEVICE_7000_COMMON, \
171
+ .ucode_api_max = IWL7260_UCODE_API_MAX, \
172
+ .ucode_api_ok = IWL7260_UCODE_API_OK, \
173
+ .ucode_api_min = IWL7260_UCODE_API_MIN
174
+
175
+ #define IWL_DEVICE_7005 \
176
+ IWL_DEVICE_7000_COMMON, \
177
+ .ucode_api_max = IWL7265_UCODE_API_MAX, \
178
+ .ucode_api_ok = IWL7265_UCODE_API_OK, \
179
+ .ucode_api_min = IWL7265_UCODE_API_MIN
180
+
181
+ #define IWL_DEVICE_7005D \
182
+ IWL_DEVICE_7000_COMMON, \
183
+ .ucode_api_max = IWL7265D_UCODE_API_MAX, \
184
+ .ucode_api_ok = IWL7265D_UCODE_API_OK, \
185
+ .ucode_api_min = IWL7265D_UCODE_API_MIN
186
+
166
187
const struct iwl_cfg iwl7260_2ac_cfg = {
167
188
.name = "Intel(R) Dual Band Wireless AC 7260" ,
168
189
.fw_name_pre = IWL7260_FW_PRE ,
@@ -266,7 +287,7 @@ static const struct iwl_ht_params iwl7265_ht_params = {
266
287
const struct iwl_cfg iwl3165_2ac_cfg = {
267
288
.name = "Intel(R) Dual Band Wireless AC 3165" ,
268
289
.fw_name_pre = IWL7265D_FW_PRE ,
269
- IWL_DEVICE_7000 ,
290
+ IWL_DEVICE_7005D ,
270
291
.ht_params = & iwl7000_ht_params ,
271
292
.nvm_ver = IWL3165_NVM_VERSION ,
272
293
.nvm_calib_ver = IWL3165_TX_POWER_VERSION ,
@@ -277,7 +298,7 @@ const struct iwl_cfg iwl3165_2ac_cfg = {
277
298
const struct iwl_cfg iwl7265_2ac_cfg = {
278
299
.name = "Intel(R) Dual Band Wireless AC 7265" ,
279
300
.fw_name_pre = IWL7265_FW_PRE ,
280
- IWL_DEVICE_7000 ,
301
+ IWL_DEVICE_7005 ,
281
302
.ht_params = & iwl7265_ht_params ,
282
303
.nvm_ver = IWL7265_NVM_VERSION ,
283
304
.nvm_calib_ver = IWL7265_TX_POWER_VERSION ,
@@ -288,7 +309,7 @@ const struct iwl_cfg iwl7265_2ac_cfg = {
288
309
const struct iwl_cfg iwl7265_2n_cfg = {
289
310
.name = "Intel(R) Dual Band Wireless N 7265" ,
290
311
.fw_name_pre = IWL7265_FW_PRE ,
291
- IWL_DEVICE_7000 ,
312
+ IWL_DEVICE_7005 ,
292
313
.ht_params = & iwl7265_ht_params ,
293
314
.nvm_ver = IWL7265_NVM_VERSION ,
294
315
.nvm_calib_ver = IWL7265_TX_POWER_VERSION ,
@@ -299,7 +320,7 @@ const struct iwl_cfg iwl7265_2n_cfg = {
299
320
const struct iwl_cfg iwl7265_n_cfg = {
300
321
.name = "Intel(R) Wireless N 7265" ,
301
322
.fw_name_pre = IWL7265_FW_PRE ,
302
- IWL_DEVICE_7000 ,
323
+ IWL_DEVICE_7005 ,
303
324
.ht_params = & iwl7265_ht_params ,
304
325
.nvm_ver = IWL7265_NVM_VERSION ,
305
326
.nvm_calib_ver = IWL7265_TX_POWER_VERSION ,
@@ -310,7 +331,7 @@ const struct iwl_cfg iwl7265_n_cfg = {
310
331
const struct iwl_cfg iwl7265d_2ac_cfg = {
311
332
.name = "Intel(R) Dual Band Wireless AC 7265" ,
312
333
.fw_name_pre = IWL7265D_FW_PRE ,
313
- IWL_DEVICE_7000 ,
334
+ IWL_DEVICE_7005D ,
314
335
.ht_params = & iwl7265_ht_params ,
315
336
.nvm_ver = IWL7265D_NVM_VERSION ,
316
337
.nvm_calib_ver = IWL7265_TX_POWER_VERSION ,
@@ -321,7 +342,7 @@ const struct iwl_cfg iwl7265d_2ac_cfg = {
321
342
const struct iwl_cfg iwl7265d_2n_cfg = {
322
343
.name = "Intel(R) Dual Band Wireless N 7265" ,
323
344
.fw_name_pre = IWL7265D_FW_PRE ,
324
- IWL_DEVICE_7000 ,
345
+ IWL_DEVICE_7005D ,
325
346
.ht_params = & iwl7265_ht_params ,
326
347
.nvm_ver = IWL7265D_NVM_VERSION ,
327
348
.nvm_calib_ver = IWL7265_TX_POWER_VERSION ,
@@ -332,7 +353,7 @@ const struct iwl_cfg iwl7265d_2n_cfg = {
332
353
const struct iwl_cfg iwl7265d_n_cfg = {
333
354
.name = "Intel(R) Wireless N 7265" ,
334
355
.fw_name_pre = IWL7265D_FW_PRE ,
335
- IWL_DEVICE_7000 ,
356
+ IWL_DEVICE_7005D ,
336
357
.ht_params = & iwl7265_ht_params ,
337
358
.nvm_ver = IWL7265D_NVM_VERSION ,
338
359
.nvm_calib_ver = IWL7265_TX_POWER_VERSION ,
@@ -342,5 +363,5 @@ const struct iwl_cfg iwl7265d_n_cfg = {
342
363
343
364
MODULE_FIRMWARE (IWL7260_MODULE_FIRMWARE (IWL7260_UCODE_API_OK ));
344
365
MODULE_FIRMWARE (IWL3160_MODULE_FIRMWARE (IWL7260_UCODE_API_OK ));
345
- MODULE_FIRMWARE (IWL7265_MODULE_FIRMWARE (IWL7260_UCODE_API_OK ));
346
- MODULE_FIRMWARE (IWL7265D_MODULE_FIRMWARE (IWL7260_UCODE_API_OK ));
366
+ MODULE_FIRMWARE (IWL7265_MODULE_FIRMWARE (IWL7265_UCODE_API_OK ));
367
+ MODULE_FIRMWARE (IWL7265D_MODULE_FIRMWARE (IWL7265D_UCODE_API_OK ));
0 commit comments