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	47
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_22000_SU_Z0_FW_PRE		"iwlwifi-su-z0-"
84 #define IWL_QU_B_JF_B_FW_PRE		"iwlwifi-Qu-b0-jf-b0-"
85 #define IWL_QUZ_A_HR_B_FW_PRE		"iwlwifi-QuZ-a0-hr-b0-"
86 #define IWL_QNJ_B_JF_B_FW_PRE		"iwlwifi-QuQnj-b0-jf-b0-"
87 #define IWL_CC_A_FW_PRE			"iwlwifi-cc-a0-"
88 #define IWL_22000_SO_A_JF_B_FW_PRE	"iwlwifi-so-a0-jf-b0-"
89 #define IWL_22000_SO_A_HR_B_FW_PRE      "iwlwifi-so-a0-hr-b0-"
90 #define IWL_22000_SO_A_GF_A_FW_PRE      "iwlwifi-so-a0-gf-a0-"
91 #define IWL_22000_TY_A_GF_A_FW_PRE      "iwlwifi-ty-a0-gf-a0-"
92 #define IWL_22000_SO_A_GF4_A_FW_PRE     "iwlwifi-so-a0-gf4-a0-"
93 
94 #define IWL_22000_HR_MODULE_FIRMWARE(api) \
95 	IWL_22000_HR_FW_PRE __stringify(api) ".ucode"
96 #define IWL_22000_JF_MODULE_FIRMWARE(api) \
97 	IWL_22000_JF_FW_PRE __stringify(api) ".ucode"
98 #define IWL_22000_HR_A_F0_QNJ_MODULE_FIRMWARE(api) \
99 	IWL_22000_HR_A_F0_FW_PRE __stringify(api) ".ucode"
100 #define IWL_22000_HR_B_F0_QNJ_MODULE_FIRMWARE(api) \
101 	IWL_22000_HR_B_F0_FW_PRE __stringify(api) ".ucode"
102 #define IWL_22000_QU_B_HR_B_MODULE_FIRMWARE(api) \
103 	IWL_22000_QU_B_HR_B_FW_PRE __stringify(api) ".ucode"
104 #define IWL_22000_HR_B_QNJ_MODULE_FIRMWARE(api)	\
105 	IWL_22000_HR_B_FW_PRE __stringify(api) ".ucode"
106 #define IWL_22000_HR_A0_QNJ_MODULE_FIRMWARE(api) \
107 	IWL_22000_HR_A0_FW_PRE __stringify(api) ".ucode"
108 #define IWL_22000_SU_Z0_MODULE_FIRMWARE(api) \
109 	IWL_22000_SU_Z0_FW_PRE __stringify(api) ".ucode"
110 #define IWL_QUZ_A_HR_B_MODULE_FIRMWARE(api) \
111 	IWL_QUZ_A_HR_B_FW_PRE __stringify(api) ".ucode"
112 #define IWL_QU_B_JF_B_MODULE_FIRMWARE(api) \
113 	IWL_QU_B_JF_B_FW_PRE __stringify(api) ".ucode"
114 #define IWL_QNJ_B_JF_B_MODULE_FIRMWARE(api)		\
115 	IWL_QNJ_B_JF_B_FW_PRE __stringify(api) ".ucode"
116 #define IWL_CC_A_MODULE_FIRMWARE(api)			\
117 	IWL_CC_A_FW_PRE __stringify(api) ".ucode"
118 #define IWL_22000_SO_A_JF_B_MODULE_FIRMWARE(api) \
119 	IWL_22000_SO_A_JF_B_FW_PRE __stringify(api) ".ucode"
120 #define IWL_22000_SO_A_HR_B_MODULE_FIRMWARE(api) \
121 	IWL_22000_SO_A_HR_B_FW_PRE __stringify(api) ".ucode"
122 #define IWL_22000_SO_A_GF_A_MODULE_FIRMWARE(api) \
123 	IWL_22000_SO_A_GF_A_FW_PRE __stringify(api) ".ucode"
124 #define IWL_22000_TY_A_GF_A_MODULE_FIRMWARE(api) \
125 	IWL_22000_TY_A_GF_A_FW_PRE __stringify(api) ".ucode"
126 
127 static const struct iwl_base_params iwl_22000_base_params = {
128 	.eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
129 	.num_of_queues = 512,
130 	.max_tfd_queue_size = 256,
131 	.shadow_ram_support = true,
132 	.led_compensation = 57,
133 	.wd_timeout = IWL_LONG_WD_TIMEOUT,
134 	.max_event_log_size = 512,
135 	.shadow_reg_enable = true,
136 	.pcie_l1_allowed = true,
137 };
138 
139 static const struct iwl_base_params iwl_22560_base_params = {
140 	.eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
141 	.num_of_queues = 512,
142 	.max_tfd_queue_size = 65536,
143 	.shadow_ram_support = true,
144 	.led_compensation = 57,
145 	.wd_timeout = IWL_LONG_WD_TIMEOUT,
146 	.max_event_log_size = 512,
147 	.shadow_reg_enable = true,
148 	.pcie_l1_allowed = true,
149 };
150 
151 static const struct iwl_ht_params iwl_22000_ht_params = {
152 	.stbc = true,
153 	.ldpc = true,
154 	.ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ),
155 };
156 
157 #define IWL_DEVICE_22000_COMMON						\
158 	.ucode_api_max = IWL_22000_UCODE_API_MAX,			\
159 	.ucode_api_min = IWL_22000_UCODE_API_MIN,			\
160 	.led_mode = IWL_LED_RF_STATE,					\
161 	.nvm_hw_section_num = 10,					\
162 	.non_shared_ant = ANT_B,					\
163 	.dccm_offset = IWL_22000_DCCM_OFFSET,				\
164 	.dccm_len = IWL_22000_DCCM_LEN,					\
165 	.dccm2_offset = IWL_22000_DCCM2_OFFSET,				\
166 	.dccm2_len = IWL_22000_DCCM2_LEN,				\
167 	.smem_offset = IWL_22000_SMEM_OFFSET,				\
168 	.smem_len = IWL_22000_SMEM_LEN,					\
169 	.features = IWL_TX_CSUM_NETIF_FLAGS | NETIF_F_RXCSUM,		\
170 	.apmg_not_supported = true,					\
171 	.mq_rx_supported = true,					\
172 	.vht_mu_mimo_supported = true,					\
173 	.mac_addr_from_csr = true,					\
174 	.ht_params = &iwl_22000_ht_params,				\
175 	.nvm_ver = IWL_22000_NVM_VERSION,				\
176 	.max_ht_ampdu_exponent = IEEE80211_HT_MAX_AMPDU_64K,		\
177 	.use_tfh = true,						\
178 	.rf_id = true,							\
179 	.gen2 = true,							\
180 	.nvm_type = IWL_NVM_EXT,					\
181 	.dbgc_supported = true,						\
182 	.min_umac_error_event_table = 0x400000,				\
183 	.d3_debug_data_base_addr = 0x401000,				\
184 	.d3_debug_data_length = 60 * 1024,				\
185 	.fw_mon_smem_write_ptr_addr = 0xa0c16c,				\
186 	.fw_mon_smem_write_ptr_msk = 0xfffff,				\
187 	.fw_mon_smem_cycle_cnt_ptr_addr = 0xa0c174,			\
188 	.fw_mon_smem_cycle_cnt_ptr_msk = 0xfffff
189 
190 #define IWL_DEVICE_AX200_COMMON						\
191 	IWL_DEVICE_22000_COMMON,					\
192 	.umac_prph_offset = 0x300000
193 
194 #define IWL_DEVICE_22500						\
195 	IWL_DEVICE_22000_COMMON,					\
196 	.device_family = IWL_DEVICE_FAMILY_22000,			\
197 	.base_params = &iwl_22000_base_params,				\
198 	.csr = &iwl_csr_v1,						\
199 	.gp2_reg_addr = 0xa02c68
200 
201 #define IWL_DEVICE_22560						\
202 	IWL_DEVICE_22000_COMMON,					\
203 	.device_family = IWL_DEVICE_FAMILY_22560,			\
204 	.base_params = &iwl_22560_base_params,				\
205 	.csr = &iwl_csr_v2
206 
207 #define IWL_DEVICE_AX210						\
208 	IWL_DEVICE_AX200_COMMON,					\
209 	.device_family = IWL_DEVICE_FAMILY_AX210,			\
210 	.base_params = &iwl_22000_base_params,				\
211 	.csr = &iwl_csr_v1,						\
212 	.min_txq_size = 128,						\
213 	.gp2_reg_addr = 0xd02c68,					\
214 	.min_256_ba_txq_size = 512
215 
216 const struct iwl_cfg iwl22000_2ac_cfg_hr = {
217 	.name = "Intel(R) Dual Band Wireless AC 22000",
218 	.fw_name_pre = IWL_22000_HR_FW_PRE,
219 	IWL_DEVICE_22500,
220 };
221 
222 const struct iwl_cfg iwl22000_2ac_cfg_hr_cdb = {
223 	.name = "Intel(R) Dual Band Wireless AC 22000",
224 	.fw_name_pre = IWL_22000_HR_CDB_FW_PRE,
225 	IWL_DEVICE_22500,
226 	.cdb = true,
227 };
228 
229 const struct iwl_cfg iwl22000_2ac_cfg_jf = {
230 	.name = "Intel(R) Dual Band Wireless AC 22000",
231 	.fw_name_pre = IWL_22000_JF_FW_PRE,
232 	IWL_DEVICE_22500,
233 };
234 
235 const struct iwl_cfg iwl_ax101_cfg_qu_hr = {
236 	.name = "Intel(R) Wi-Fi 6 AX101",
237 	.fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE,
238 	IWL_DEVICE_22500,
239 	/*
240 	 * This device doesn't support receiving BlockAck with a large bitmap
241 	 * so we need to restrict the size of transmitted aggregation to the
242 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
243 	 */
244 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
245 };
246 
247 const struct iwl_cfg iwl_ax101_cfg_quz_hr = {
248 	.name = "Intel(R) Wi-Fi 6 AX101",
249 	.fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE,
250 	IWL_DEVICE_22500,
251 	/*
252 	 * This device doesn't support receiving BlockAck with a large bitmap
253 	 * so we need to restrict the size of transmitted aggregation to the
254 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
255 	 */
256 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
257 };
258 
259 const struct iwl_cfg iwl_ax200_cfg_cc = {
260 	.name = "Intel(R) Wi-Fi 6 AX200 160MHz",
261 	.fw_name_pre = IWL_CC_A_FW_PRE,
262 	IWL_DEVICE_22500,
263 	/*
264 	 * This device doesn't support receiving BlockAck with a large bitmap
265 	 * so we need to restrict the size of transmitted aggregation to the
266 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
267 	 */
268 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
269 	.bisr_workaround = 1,
270 };
271 
272 const struct iwl_cfg killer1650x_2ax_cfg = {
273 	.name = "Killer(R) Wi-Fi 6 AX1650x 160MHz Wireless Network Adapter (200NGW)",
274 	.fw_name_pre = IWL_CC_A_FW_PRE,
275 	IWL_DEVICE_22500,
276 	/*
277 	 * This device doesn't support receiving BlockAck with a large bitmap
278 	 * so we need to restrict the size of transmitted aggregation to the
279 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
280 	 */
281 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
282 	.bisr_workaround = 1,
283 };
284 
285 const struct iwl_cfg killer1650w_2ax_cfg = {
286 	.name = "Killer(R) Wi-Fi 6 AX1650w 160MHz Wireless Network Adapter (200D2W)",
287 	.fw_name_pre = IWL_CC_A_FW_PRE,
288 	IWL_DEVICE_22500,
289 	/*
290 	 * This device doesn't support receiving BlockAck with a large bitmap
291 	 * so we need to restrict the size of transmitted aggregation to the
292 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
293 	 */
294 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
295 	.bisr_workaround = 1,
296 };
297 
298 /*
299  * All JF radio modules are part of the 9000 series, but the MAC part
300  * looks more like 22000.  That's why this device is here, but called
301  * 9560 nevertheless.
302  */
303 const struct iwl_cfg iwl9461_2ac_cfg_qu_b0_jf_b0 = {
304 	.name = "Intel(R) Wireless-AC 9461",
305 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
306 	IWL_DEVICE_22500,
307 };
308 
309 const struct iwl_cfg iwl9462_2ac_cfg_qu_b0_jf_b0 = {
310 	.name = "Intel(R) Wireless-AC 9462",
311 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
312 	IWL_DEVICE_22500,
313 };
314 
315 const struct iwl_cfg iwl9560_2ac_cfg_qu_b0_jf_b0 = {
316 	.name = "Intel(R) Wireless-AC 9560",
317 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
318 	IWL_DEVICE_22500,
319 };
320 
321 const struct iwl_cfg iwl9560_2ac_160_cfg_qu_b0_jf_b0 = {
322 	.name = "Intel(R) Wireless-AC 9560 160MHz",
323 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
324 	IWL_DEVICE_22500,
325 };
326 
327 const struct iwl_cfg iwl9560_2ac_cfg_qnj_jf_b0 = {
328 	.name = "Intel(R) Wireless-AC 9560 160MHz",
329 	.fw_name_pre = IWL_QNJ_B_JF_B_FW_PRE,
330 	IWL_DEVICE_22500,
331 	/*
332 	 * This device doesn't support receiving BlockAck with a large bitmap
333 	 * so we need to restrict the size of transmitted aggregation to the
334 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
335 	 */
336 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
337 };
338 
339 const struct iwl_cfg killer1550i_2ac_cfg_qu_b0_jf_b0 = {
340 	.name = "Killer (R) Wireless-AC 1550i Wireless Network Adapter (9560NGW)",
341 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
342 	IWL_DEVICE_22500,
343 };
344 
345 const struct iwl_cfg killer1550s_2ac_cfg_qu_b0_jf_b0 = {
346 	.name = "Killer (R) Wireless-AC 1550s Wireless Network Adapter (9560NGW)",
347 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
348 	IWL_DEVICE_22500,
349 };
350 
351 const struct iwl_cfg killer1650s_2ax_cfg_qu_b0_hr_b0 = {
352 	.name = "Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW)",
353 	.fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE,
354 	IWL_DEVICE_22500,
355 	/*
356 	 * This device doesn't support receiving BlockAck with a large bitmap
357 	 * so we need to restrict the size of transmitted aggregation to the
358 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
359 	 */
360 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
361 };
362 
363 const struct iwl_cfg killer1650i_2ax_cfg_qu_b0_hr_b0 = {
364 	.name = "Killer(R) Wi-Fi 6 AX1650s 160MHz Wireless Network Adapter (201D2W)",
365 	.fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE,
366 	IWL_DEVICE_22500,
367 	/*
368 	 * This device doesn't support receiving BlockAck with a large bitmap
369 	 * so we need to restrict the size of transmitted aggregation to the
370 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
371 	 */
372 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
373 };
374 
375 const struct iwl_cfg iwl22000_2ax_cfg_jf = {
376 	.name = "Intel(R) Dual Band Wireless AX 22000",
377 	.fw_name_pre = IWL_QU_B_JF_B_FW_PRE,
378 	IWL_DEVICE_22500,
379 	/*
380 	 * This device doesn't support receiving BlockAck with a large bitmap
381 	 * so we need to restrict the size of transmitted aggregation to the
382 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
383 	 */
384 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
385 };
386 
387 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_a0_f0 = {
388 	.name = "Intel(R) Dual Band Wireless AX 22000",
389 	.fw_name_pre = IWL_22000_HR_A_F0_FW_PRE,
390 	IWL_DEVICE_22500,
391 	/*
392 	 * This device doesn't support receiving BlockAck with a large bitmap
393 	 * so we need to restrict the size of transmitted aggregation to the
394 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
395 	 */
396 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
397 };
398 
399 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_b0 = {
400 	.name = "Intel(R) Dual Band Wireless AX 22000",
401 	.fw_name_pre = IWL_22000_HR_B_FW_PRE,
402 	IWL_DEVICE_22500,
403 	/*
404 	 * This device doesn't support receiving BlockAck with a large bitmap
405 	 * so we need to restrict the size of transmitted aggregation to the
406 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
407 	 */
408 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
409 };
410 
411 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_a0 = {
412 	.name = "Intel(R) Dual Band Wireless AX 22000",
413 	.fw_name_pre = IWL_22000_HR_A0_FW_PRE,
414 	IWL_DEVICE_22500,
415 	/*
416 	 * This device doesn't support receiving BlockAck with a large bitmap
417 	 * so we need to restrict the size of transmitted aggregation to the
418 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
419 	 */
420 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
421 };
422 
423 const struct iwl_cfg iwl22560_2ax_cfg_su_cdb = {
424 	.name = "Intel(R) Dual Band Wireless AX 22560",
425 	.fw_name_pre = IWL_22000_SU_Z0_FW_PRE,
426 	IWL_DEVICE_22560,
427 	.cdb = true,
428 	/*
429 	 * This device doesn't support receiving BlockAck with a large bitmap
430 	 * so we need to restrict the size of transmitted aggregation to the
431 	 * HT size; mac80211 would otherwise pick the HE max (256) by default.
432 	 */
433 	.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
434 };
435 
436 const struct iwl_cfg iwlax210_2ax_cfg_so_jf_a0 = {
437 	.name = "Intel(R) Wireless-AC 9560 160MHz",
438 	.fw_name_pre = IWL_22000_SO_A_JF_B_FW_PRE,
439 	IWL_DEVICE_AX210,
440 };
441 
442 const struct iwl_cfg iwlax210_2ax_cfg_so_hr_a0 = {
443 	.name = "Intel(R) Wi-Fi 6 AX201 160MHz",
444 	.fw_name_pre = IWL_22000_SO_A_HR_B_FW_PRE,
445 	IWL_DEVICE_AX210,
446 };
447 
448 const struct iwl_cfg iwlax210_2ax_cfg_so_gf_a0 = {
449 	.name = "Intel(R) Wi-Fi 7 AX211 160MHz",
450 	.fw_name_pre = IWL_22000_SO_A_GF_A_FW_PRE,
451 	.uhb_supported = true,
452 	IWL_DEVICE_AX210,
453 };
454 
455 const struct iwl_cfg iwlax210_2ax_cfg_ty_gf_a0 = {
456 	.name = "Intel(R) Wi-Fi 7 AX210 160MHz",
457 	.fw_name_pre = IWL_22000_TY_A_GF_A_FW_PRE,
458 	.uhb_supported = true,
459 	IWL_DEVICE_AX210,
460 };
461 
462 const struct iwl_cfg iwlax210_2ax_cfg_so_gf4_a0 = {
463 	.name = "Intel(R) Wi-Fi 7 AX210 160MHz",
464 	.fw_name_pre = IWL_22000_SO_A_GF4_A_FW_PRE,
465 	IWL_DEVICE_AX210,
466 };
467 
468 MODULE_FIRMWARE(IWL_22000_HR_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
469 MODULE_FIRMWARE(IWL_22000_JF_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
470 MODULE_FIRMWARE(IWL_22000_HR_A_F0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
471 MODULE_FIRMWARE(IWL_22000_HR_B_F0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
472 MODULE_FIRMWARE(IWL_22000_HR_B_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
473 MODULE_FIRMWARE(IWL_22000_HR_A0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
474 MODULE_FIRMWARE(IWL_22000_SU_Z0_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
475 MODULE_FIRMWARE(IWL_QU_B_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
476 MODULE_FIRMWARE(IWL_QUZ_A_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
477 MODULE_FIRMWARE(IWL_QNJ_B_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
478 MODULE_FIRMWARE(IWL_CC_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
479 MODULE_FIRMWARE(IWL_22000_SO_A_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
480 MODULE_FIRMWARE(IWL_22000_SO_A_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
481 MODULE_FIRMWARE(IWL_22000_SO_A_GF_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
482 MODULE_FIRMWARE(IWL_22000_TY_A_GF_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX));
483