1 /******************************************************************************
2  *
3  * This file is provided under a dual BSD/GPLv2 license.  When using or
4  * redistributing this file, you may do so under either license.
5  *
6  * GPL LICENSE SUMMARY
7  *
8  * Copyright(c) 2015-2017 Intel Deutschland GmbH
9  * Copyright (C) 2018-2019 Intel Corporation
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of version 2 of the GNU General Public License as
13  * published by the Free Software Foundation.
14  *
15  * This program is distributed in the hope that it will be useful, but
16  * WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * General Public License for more details.
19  *
20  * BSD LICENSE
21  *
22  * Copyright(c) 2015-2017 Intel Deutschland GmbH
23  * Copyright (C) 2018-2019 Intel Corporation
24  * All rights reserved.
25  *
26  * Redistribution and use in source and binary forms, with or without
27  * modification, are permitted provided that the following conditions
28  * are met:
29  *
30  *  * Redistributions of source code must retain the above copyright
31  *    notice, this list of conditions and the following disclaimer.
32  *  * Redistributions in binary form must reproduce the above copyright
33  *    notice, this list of conditions and the following disclaimer in
34  *    the documentation and/or other materials provided with the
35  *    distribution.
36  *  * Neither the name Intel Corporation nor the names of its
37  *    contributors may be used to endorse or promote products derived
38  *    from this software without specific prior written permission.
39  *
40  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
41  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
42  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
43  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
44  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
45  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
46  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
47  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
48  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
49  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
50  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
51  *
52  *****************************************************************************/
53 
54 #include <linux/module.h>
55 #include <linux/stringify.h>
56 #include "iwl-config.h"
57 
58 /* Highest firmware API version supported */
59 #define IWL_22000_UCODE_API_MAX	48
60 
61 /* Lowest firmware API version supported */
62 #define IWL_22000_UCODE_API_MIN	39
63 
64 /* NVM versions */
65 #define IWL_22000_NVM_VERSION		0x0a1d
66 
67 /* Memory offsets and lengths */
68 #define IWL_22000_DCCM_OFFSET		0x800000 /* LMAC1 */
69 #define IWL_22000_DCCM_LEN		0x10000 /* LMAC1 */
70 #define IWL_22000_DCCM2_OFFSET		0x880000
71 #define IWL_22000_DCCM2_LEN		0x8000
72 #define IWL_22000_SMEM_OFFSET		0x400000
73 #define IWL_22000_SMEM_LEN		0xD0000
74 
75 #define IWL_22000_JF_FW_PRE		"iwlwifi-Qu-a0-jf-b0-"
76 #define IWL_22000_HR_FW_PRE		"iwlwifi-Qu-a0-hr-a0-"
77 #define IWL_22000_HR_CDB_FW_PRE		"iwlwifi-QuIcp-z0-hrcdb-a0-"
78 #define IWL_22000_HR_A_F0_FW_PRE	"iwlwifi-QuQnj-f0-hr-a0-"
79 #define IWL_22000_HR_B_F0_FW_PRE	"iwlwifi-Qu-b0-hr-b0-"
80 #define IWL_22000_QU_B_HR_B_FW_PRE	"iwlwifi-Qu-b0-hr-b0-"
81 #define IWL_22000_HR_B_FW_PRE		"iwlwifi-QuQnj-b0-hr-b0-"
82 #define IWL_22000_HR_A0_FW_PRE		"iwlwifi-QuQnj-a0-hr-a0-"
83 #define IWL_QU_B_JF_B_FW_PRE		"iwlwifi-Qu-b0-jf-b0-"
84 #define IWL_QUZ_A_HR_B_FW_PRE		"iwlwifi-QuZ-a0-hr-b0-"
85 #define IWL_QNJ_B_JF_B_FW_PRE		"iwlwifi-QuQnj-b0-jf-b0-"
86 #define IWL_CC_A_FW_PRE			"iwlwifi-cc-a0-"
87 #define IWL_22000_SO_A_JF_B_FW_PRE	"iwlwifi-so-a0-jf-b0-"
88 #define IWL_22000_SO_A_HR_B_FW_PRE      "iwlwifi-so-a0-hr-b0-"
89 #define IWL_22000_SO_A_GF_A_FW_PRE      "iwlwifi-so-a0-gf-a0-"
90 #define IWL_22000_TY_A_GF_A_FW_PRE      "iwlwifi-ty-a0-gf-a0-"
91 #define IWL_22000_SO_A_GF4_A_FW_PRE     "iwlwifi-so-a0-gf4-a0-"
92 
93 #define IWL_22000_HR_MODULE_FIRMWARE(api) \
94 	IWL_22000_HR_FW_PRE __stringify(api) ".ucode"
95 #define IWL_22000_JF_MODULE_FIRMWARE(api) \
96 	IWL_22000_JF_FW_PRE __stringify(api) ".ucode"
97 #define IWL_22000_HR_A_F0_QNJ_MODULE_FIRMWARE(api) \
98 	IWL_22000_HR_A_F0_FW_PRE __stringify(api) ".ucode"
99 #define IWL_22000_HR_B_F0_QNJ_MODULE_FIRMWARE(api) \
100 	IWL_22000_HR_B_F0_FW_PRE __stringify(api) ".ucode"
101 #define IWL_22000_QU_B_HR_B_MODULE_FIRMWARE(api) \
102 	IWL_22000_QU_B_HR_B_FW_PRE __stringify(api) ".ucode"
103 #define IWL_22000_HR_B_QNJ_MODULE_FIRMWARE(api)	\
104 	IWL_22000_HR_B_FW_PRE __stringify(api) ".ucode"
105 #define IWL_22000_HR_A0_QNJ_MODULE_FIRMWARE(api) \
106 	IWL_22000_HR_A0_FW_PRE __stringify(api) ".ucode"
107 #define IWL_QUZ_A_HR_B_MODULE_FIRMWARE(api) \
108 	IWL_QUZ_A_HR_B_FW_PRE __stringify(api) ".ucode"
109 #define IWL_QU_B_JF_B_MODULE_FIRMWARE(api) \
110 	IWL_QU_B_JF_B_FW_PRE __stringify(api) ".ucode"
111 #define IWL_QNJ_B_JF_B_MODULE_FIRMWARE(api)		\
112 	IWL_QNJ_B_JF_B_FW_PRE __stringify(api) ".ucode"
113 #define IWL_CC_A_MODULE_FIRMWARE(api)			\
114 	IWL_CC_A_FW_PRE __stringify(api) ".ucode"
115 #define IWL_22000_SO_A_JF_B_MODULE_FIRMWARE(api) \
116 	IWL_22000_SO_A_JF_B_FW_PRE __stringify(api) ".ucode"
117 #define IWL_22000_SO_A_HR_B_MODULE_FIRMWARE(api) \
118 	IWL_22000_SO_A_HR_B_FW_PRE __stringify(api) ".ucode"
119 #define IWL_22000_SO_A_GF_A_MODULE_FIRMWARE(api) \
120 	IWL_22000_SO_A_GF_A_FW_PRE __stringify(api) ".ucode"
121 #define IWL_22000_TY_A_GF_A_MODULE_FIRMWARE(api) \
122 	IWL_22000_TY_A_GF_A_FW_PRE __stringify(api) ".ucode"
123 
124 static const struct iwl_base_params iwl_22000_base_params = {
125 	.eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
126 	.num_of_queues = 512,
127 	.max_tfd_queue_size = 256,
128 	.shadow_ram_support = true,
129 	.led_compensation = 57,
130 	.wd_timeout = IWL_LONG_WD_TIMEOUT,
131 	.max_event_log_size = 512,
132 	.shadow_reg_enable = true,
133 	.pcie_l1_allowed = true,
134 };
135 
136 static const struct iwl_base_params iwl_22560_base_params = {
137 	.eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
138 	.num_of_queues = 512,
139 	.max_tfd_queue_size = 65536,
140 	.shadow_ram_support = true,
141 	.led_compensation = 57,
142 	.wd_timeout = IWL_LONG_WD_TIMEOUT,
143 	.max_event_log_size = 512,
144 	.shadow_reg_enable = true,
145 	.pcie_l1_allowed = true,
146 };
147 
148 static const struct iwl_ht_params iwl_22000_ht_params = {
149 	.stbc = true,
150 	.ldpc = true,
151 	.ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ),
152 };
153 
154 #define IWL_DEVICE_22000_COMMON						\
155 	.ucode_api_max = IWL_22000_UCODE_API_MAX,			\
156 	.ucode_api_min = IWL_22000_UCODE_API_MIN,			\
157 	.led_mode = IWL_LED_RF_STATE,					\
158 	.nvm_hw_section_num = 10,					\
159 	.non_shared_ant = ANT_B,					\
160 	.dccm_offset = IWL_22000_DCCM_OFFSET,				\
161 	.dccm_len = IWL_22000_DCCM_LEN,					\
162 	.dccm2_offset = IWL_22000_DCCM2_OFFSET,				\
163 	.dccm2_len = IWL_22000_DCCM2_LEN,				\
164 	.smem_offset = IWL_22000_SMEM_OFFSET,				\
165 	.smem_len = IWL_22000_SMEM_LEN,					\
166 	.features = IWL_TX_CSUM_NETIF_FLAGS | NETIF_F_RXCSUM,		\
167 	.apmg_not_supported = true,					\
168 	.mq_rx_supported = true,					\
169 	.vht_mu_mimo_supported = true,					\
170 	.mac_addr_from_csr = true,					\
171 	.ht_params = &iwl_22000_ht_params,				\
172 	.nvm_ver = IWL_22000_NVM_VERSION,				\
173 	.max_ht_ampdu_exponent = IEEE80211_HT_MAX_AMPDU_64K,		\
174 	.use_tfh = true,						\
175 	.rf_id = true,							\
176 	.gen2 = true,							\
177 	.nvm_type = IWL_NVM_EXT,					\
178 	.dbgc_supported = true,						\
179 	.min_umac_error_event_table = 0x400000,				\
180 	.d3_debug_data_base_addr = 0x401000,				\
181 	.d3_debug_data_length = 60 * 1024,				\
182 	.fw_mon_smem_write_ptr_addr = 0xa0c16c,				\
183 	.fw_mon_smem_write_ptr_msk = 0xfffff,				\
184 	.fw_mon_smem_cycle_cnt_ptr_addr = 0xa0c174,			\
185 	.fw_mon_smem_cycle_cnt_ptr_msk = 0xfffff
186 
187 #define IWL_DEVICE_AX200_COMMON						\
188 	IWL_DEVICE_22000_COMMON,					\
189 	.umac_prph_offset = 0x300000
190 
191 #define IWL_DEVICE_22500						\
192 	IWL_DEVICE_22000_COMMON,					\
193 	.device_family = IWL_DEVICE_FAMILY_22000,			\
194 	.base_params = &iwl_22000_base_params,				\
195 	.csr = &iwl_csr_v1,						\
196 	.gp2_reg_addr = 0xa02c68
197 
198 #define IWL_DEVICE_22560						\
199 	IWL_DEVICE_22000_COMMON,					\
200 	.device_family = IWL_DEVICE_FAMILY_22560,			\
201 	.base_params = &iwl_22560_base_params,				\
202 	.csr = &iwl_csr_v2
203 
204 #define IWL_DEVICE_AX210						\
205 	IWL_DEVICE_AX200_COMMON,					\
206 	.device_family = IWL_DEVICE_FAMILY_AX210,			\
207 	.base_params = &iwl_22560_base_params,				\
208 	.csr = &iwl_csr_v1,						\
209 	.min_txq_size = 128,						\
210 	.gp2_reg_addr = 0xd02c68,					\
211 	.min_256_ba_txq_size = 512
212 
213 const struct iwl_cfg iwl22000_2ac_cfg_hr = {
214 	.name = "Intel(R) Dual Band Wireless AC 22000",
215 	.fw_name_pre = IWL_22000_HR_FW_PRE,
216 	IWL_DEVICE_22500,
217 };
218 
219 const struct iwl_cfg iwl22000_2ac_cfg_hr_cdb = {
220 	.name = "Intel(R) Dual Band Wireless AC 22000",
221 	.fw_name_pre = IWL_22000_HR_CDB_FW_PRE,
222 	IWL_DEVICE_22500,
223 	.cdb = true,
224 };
225 
226 const struct iwl_cfg iwl22000_2ac_cfg_jf = {
227 	.name = "Intel(R) Dual Band Wireless AC 22000",
228 	.fw_name_pre = IWL_22000_JF_FW_PRE,
229 	IWL_DEVICE_22500,
230 };
231 
232 const struct iwl_cfg iwl_ax101_cfg_qu_hr = {
233 	.name = "Intel(R) Wi-Fi 6 AX101",
234 	.fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE,
235 	IWL_DEVICE_22500,
236 	/*
237 	 * This device doesn't support receiving BlockAck with a large bitmap
238 	 * so we need to restrict the size of transmitted aggregation to the
239 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
240 	 */
241 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
242 };
243 
244 const struct iwl_cfg iwl_ax201_cfg_qu_hr = {
245 	.name = "Intel(R) Wi-Fi 6 AX201 160MHz",
246 	.fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE,
247 	IWL_DEVICE_22500,
248 	/*
249 	 * This device doesn't support receiving BlockAck with a large bitmap
250 	 * so we need to restrict the size of transmitted aggregation to the
251 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
252 	 */
253 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
254 };
255 
256 const struct iwl_cfg iwl_ax101_cfg_quz_hr = {
257 	.name = "Intel(R) Wi-Fi 6 AX101",
258 	.fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE,
259 	IWL_DEVICE_22500,
260 	/*
261 	 * This device doesn't support receiving BlockAck with a large bitmap
262 	 * so we need to restrict the size of transmitted aggregation to the
263 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
264 	 */
265 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
266 };
267 
268 const struct iwl_cfg iwl_ax201_cfg_quz_hr = {
269 		.name = "Intel(R) Wi-Fi 6 AX201 160MHz",
270 		.fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE,
271 		IWL_DEVICE_22500,
272 		/*
273          * This device doesn't support receiving BlockAck with a large bitmap
274          * so we need to restrict the size of transmitted aggregation to the
275          * HT size; mac80211 would otherwise pick the HE max (256) by default.
276          */
277 		.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
278 };
279 
280 const struct iwl_cfg iwl_ax1650s_cfg_quz_hr = {
281 		.name = "Killer(R) Wi-Fi 6 AX1650s 160MHz Wireless Network Adapter (201D2W)",
282 		.fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE,
283 		IWL_DEVICE_22500,
284 		/*
285          * This device doesn't support receiving BlockAck with a large bitmap
286          * so we need to restrict the size of transmitted aggregation to the
287          * HT size; mac80211 would otherwise pick the HE max (256) by default.
288          */
289 		.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
290 };
291 
292 const struct iwl_cfg iwl_ax1650i_cfg_quz_hr = {
293 		.name = "Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW)",
294 		.fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE,
295 		IWL_DEVICE_22500,
296 		/*
297          * This device doesn't support receiving BlockAck with a large bitmap
298          * so we need to restrict the size of transmitted aggregation to the
299          * HT size; mac80211 would otherwise pick the HE max (256) by default.
300          */
301 		.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
302 };
303 
304 const struct iwl_cfg iwl_ax200_cfg_cc = {
305 	.name = "Intel(R) Wi-Fi 6 AX200 160MHz",
306 	.fw_name_pre = IWL_CC_A_FW_PRE,
307 	IWL_DEVICE_22500,
308 	/*
309 	 * This device doesn't support receiving BlockAck with a large bitmap
310 	 * so we need to restrict the size of transmitted aggregation to the
311 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
312 	 */
313 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
314 	.bisr_workaround = 1,
315 };
316 
317 const struct iwl_cfg killer1650x_2ax_cfg = {
318 	.name = "Killer(R) Wi-Fi 6 AX1650x 160MHz Wireless Network Adapter (200NGW)",
319 	.fw_name_pre = IWL_CC_A_FW_PRE,
320 	IWL_DEVICE_22500,
321 	/*
322 	 * This device doesn't support receiving BlockAck with a large bitmap
323 	 * so we need to restrict the size of transmitted aggregation to the
324 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
325 	 */
326 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
327 	.bisr_workaround = 1,
328 };
329 
330 const struct iwl_cfg killer1650w_2ax_cfg = {
331 	.name = "Killer(R) Wi-Fi 6 AX1650w 160MHz Wireless Network Adapter (200D2W)",
332 	.fw_name_pre = IWL_CC_A_FW_PRE,
333 	IWL_DEVICE_22500,
334 	/*
335 	 * This device doesn't support receiving BlockAck with a large bitmap
336 	 * so we need to restrict the size of transmitted aggregation to the
337 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
338 	 */
339 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
340 	.bisr_workaround = 1,
341 };
342 
343 /*
344  * All JF radio modules are part of the 9000 series, but the MAC part
345  * looks more like 22000.  That's why this device is here, but called
346  * 9560 nevertheless.
347  */
348 const struct iwl_cfg iwl9461_2ac_cfg_qu_b0_jf_b0 = {
349 	.name = "Intel(R) Wireless-AC 9461",
350 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
351 	IWL_DEVICE_22500,
352 };
353 
354 const struct iwl_cfg iwl9462_2ac_cfg_qu_b0_jf_b0 = {
355 	.name = "Intel(R) Wireless-AC 9462",
356 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
357 	IWL_DEVICE_22500,
358 };
359 
360 const struct iwl_cfg iwl9560_2ac_cfg_qu_b0_jf_b0 = {
361 	.name = "Intel(R) Wireless-AC 9560",
362 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
363 	IWL_DEVICE_22500,
364 };
365 
366 const struct iwl_cfg iwl9560_2ac_160_cfg_qu_b0_jf_b0 = {
367 	.name = "Intel(R) Wireless-AC 9560 160MHz",
368 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
369 	IWL_DEVICE_22500,
370 };
371 
372 const struct iwl_cfg iwl9560_2ac_cfg_qnj_jf_b0 = {
373 	.name = "Intel(R) Wireless-AC 9560 160MHz",
374 	.fw_name_pre = IWL_QNJ_B_JF_B_FW_PRE,
375 	IWL_DEVICE_22500,
376 	/*
377 	 * This device doesn't support receiving BlockAck with a large bitmap
378 	 * so we need to restrict the size of transmitted aggregation to the
379 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
380 	 */
381 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
382 };
383 
384 const struct iwl_cfg killer1550i_2ac_cfg_qu_b0_jf_b0 = {
385 	.name = "Killer (R) Wireless-AC 1550i Wireless Network Adapter (9560NGW)",
386 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
387 	IWL_DEVICE_22500,
388 };
389 
390 const struct iwl_cfg killer1550s_2ac_cfg_qu_b0_jf_b0 = {
391 	.name = "Killer (R) Wireless-AC 1550s Wireless Network Adapter (9560NGW)",
392 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
393 	IWL_DEVICE_22500,
394 };
395 
396 const struct iwl_cfg killer1650s_2ax_cfg_qu_b0_hr_b0 = {
397 	.name = "Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW)",
398 	.fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE,
399 	IWL_DEVICE_22500,
400 	/*
401 	 * This device doesn't support receiving BlockAck with a large bitmap
402 	 * so we need to restrict the size of transmitted aggregation to the
403 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
404 	 */
405 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
406 };
407 
408 const struct iwl_cfg killer1650i_2ax_cfg_qu_b0_hr_b0 = {
409 	.name = "Killer(R) Wi-Fi 6 AX1650s 160MHz Wireless Network Adapter (201D2W)",
410 	.fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE,
411 	IWL_DEVICE_22500,
412 	/*
413 	 * This device doesn't support receiving BlockAck with a large bitmap
414 	 * so we need to restrict the size of transmitted aggregation to the
415 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
416 	 */
417 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
418 };
419 
420 const struct iwl_cfg iwl22000_2ax_cfg_jf = {
421 	.name = "Intel(R) Dual Band Wireless AX 22000",
422 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
423 	IWL_DEVICE_22500,
424 	/*
425 	 * This device doesn't support receiving BlockAck with a large bitmap
426 	 * so we need to restrict the size of transmitted aggregation to the
427 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
428 	 */
429 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
430 };
431 
432 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_a0_f0 = {
433 	.name = "Intel(R) Dual Band Wireless AX 22000",
434 	.fw_name_pre = IWL_22000_HR_A_F0_FW_PRE,
435 	IWL_DEVICE_22500,
436 	/*
437 	 * This device doesn't support receiving BlockAck with a large bitmap
438 	 * so we need to restrict the size of transmitted aggregation to the
439 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
440 	 */
441 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
442 };
443 
444 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_b0 = {
445 	.name = "Intel(R) Dual Band Wireless AX 22000",
446 	.fw_name_pre = IWL_22000_HR_B_FW_PRE,
447 	IWL_DEVICE_22500,
448 	/*
449 	 * This device doesn't support receiving BlockAck with a large bitmap
450 	 * so we need to restrict the size of transmitted aggregation to the
451 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
452 	 */
453 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
454 };
455 
456 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_a0 = {
457 	.name = "Intel(R) Dual Band Wireless AX 22000",
458 	.fw_name_pre = IWL_22000_HR_A0_FW_PRE,
459 	IWL_DEVICE_22500,
460 	/*
461 	 * This device doesn't support receiving BlockAck with a large bitmap
462 	 * so we need to restrict the size of transmitted aggregation to the
463 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
464 	 */
465 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
466 };
467 
468 const struct iwl_cfg iwlax210_2ax_cfg_so_jf_a0 = {
469 	.name = "Intel(R) Wireless-AC 9560 160MHz",
470 	.fw_name_pre = IWL_22000_SO_A_JF_B_FW_PRE,
471 	IWL_DEVICE_AX210,
472 };
473 
474 const struct iwl_cfg iwlax210_2ax_cfg_so_hr_a0 = {
475 	.name = "Intel(R) Wi-Fi 7 AX210 160MHz",
476 	.fw_name_pre = IWL_22000_SO_A_HR_B_FW_PRE,
477 	IWL_DEVICE_AX210,
478 };
479 
480 const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0 = {
481 	.name = "Intel(R) Wi-Fi 7 AX211 160MHz",
482 	.fw_name_pre = IWL_22000_SO_A_GF_A_FW_PRE,
483 	.uhb_supported = true,
484 	IWL_DEVICE_AX210,
485 };
486 
487 const struct iwl_cfg iwlax210_2ax_cfg_ty_gf_a0 = {
488 	.name = "Intel(R) Wi-Fi 7 AX210 160MHz",
489 	.fw_name_pre = IWL_22000_TY_A_GF_A_FW_PRE,
490 	.uhb_supported = true,
491 	IWL_DEVICE_AX210,
492 };
493 
494 const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0 = {
495 	.name = "Intel(R) Wi-Fi 7 AX411 160MHz",
496 	.fw_name_pre = IWL_22000_SO_A_GF4_A_FW_PRE,
497 	IWL_DEVICE_AX210,
498 };
499 
500 MODULE_FIRMWARE(IWL_22000_HR_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
501 MODULE_FIRMWARE(IWL_22000_JF_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
502 MODULE_FIRMWARE(IWL_22000_HR_A_F0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
503 MODULE_FIRMWARE(IWL_22000_HR_B_F0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
504 MODULE_FIRMWARE(IWL_22000_HR_B_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
505 MODULE_FIRMWARE(IWL_22000_HR_A0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
506 MODULE_FIRMWARE(IWL_QU_B_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
507 MODULE_FIRMWARE(IWL_QUZ_A_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
508 MODULE_FIRMWARE(IWL_QNJ_B_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
509 MODULE_FIRMWARE(IWL_CC_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
510 MODULE_FIRMWARE(IWL_22000_SO_A_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
511 MODULE_FIRMWARE(IWL_22000_SO_A_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
512 MODULE_FIRMWARE(IWL_22000_SO_A_GF_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
513 MODULE_FIRMWARE(IWL_22000_TY_A_GF_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
514