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_QUZ_A_JF_B_FW_PRE "iwlwifi-QuZ-a0-jf-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_QUZ_A_HR_B_MODULE_FIRMWARE(api) \ 109 IWL_QUZ_A_HR_B_FW_PRE __stringify(api) ".ucode" 110 #define IWL_QUZ_A_JF_B_MODULE_FIRMWARE(api) \ 111 IWL_QUZ_A_JF_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_22560_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_ax201_cfg_qu_hr = { 248 .name = "Intel(R) Wi-Fi 6 AX201 160MHz", 249 .fw_name_pre = IWL_22000_QU_B_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_ax101_cfg_quz_hr = { 260 .name = "Intel(R) Wi-Fi 6 AX101", 261 .fw_name_pre = IWL_QUZ_A_HR_B_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 }; 270 271 const struct iwl_cfg iwl_ax201_cfg_quz_hr = { 272 .name = "Intel(R) Wi-Fi 6 AX201 160MHz", 273 .fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE, 274 IWL_DEVICE_22500, 275 /* 276 * This device doesn't support receiving BlockAck with a large bitmap 277 * so we need to restrict the size of transmitted aggregation to the 278 * HT size; mac80211 would otherwise pick the HE max (256) by default. 279 */ 280 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 281 }; 282 283 const struct iwl_cfg iwl_ax1650s_cfg_quz_hr = { 284 .name = "Killer(R) Wi-Fi 6 AX1650s 160MHz Wireless Network Adapter (201D2W)", 285 .fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE, 286 IWL_DEVICE_22500, 287 /* 288 * This device doesn't support receiving BlockAck with a large bitmap 289 * so we need to restrict the size of transmitted aggregation to the 290 * HT size; mac80211 would otherwise pick the HE max (256) by default. 291 */ 292 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 293 }; 294 295 const struct iwl_cfg iwl_ax1650i_cfg_quz_hr = { 296 .name = "Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW)", 297 .fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE, 298 IWL_DEVICE_22500, 299 /* 300 * This device doesn't support receiving BlockAck with a large bitmap 301 * so we need to restrict the size of transmitted aggregation to the 302 * HT size; mac80211 would otherwise pick the HE max (256) by default. 303 */ 304 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 305 }; 306 307 const struct iwl_cfg iwl_ax200_cfg_cc = { 308 .name = "Intel(R) Wi-Fi 6 AX200 160MHz", 309 .fw_name_pre = IWL_CC_A_FW_PRE, 310 IWL_DEVICE_22500, 311 /* 312 * This device doesn't support receiving BlockAck with a large bitmap 313 * so we need to restrict the size of transmitted aggregation to the 314 * HT size; mac80211 would otherwise pick the HE max (256) by default. 315 */ 316 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 317 .bisr_workaround = 1, 318 }; 319 320 const struct iwl_cfg killer1650x_2ax_cfg = { 321 .name = "Killer(R) Wi-Fi 6 AX1650x 160MHz Wireless Network Adapter (200NGW)", 322 .fw_name_pre = IWL_CC_A_FW_PRE, 323 IWL_DEVICE_22500, 324 /* 325 * This device doesn't support receiving BlockAck with a large bitmap 326 * so we need to restrict the size of transmitted aggregation to the 327 * HT size; mac80211 would otherwise pick the HE max (256) by default. 328 */ 329 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 330 .bisr_workaround = 1, 331 }; 332 333 const struct iwl_cfg killer1650w_2ax_cfg = { 334 .name = "Killer(R) Wi-Fi 6 AX1650w 160MHz Wireless Network Adapter (200D2W)", 335 .fw_name_pre = IWL_CC_A_FW_PRE, 336 IWL_DEVICE_22500, 337 /* 338 * This device doesn't support receiving BlockAck with a large bitmap 339 * so we need to restrict the size of transmitted aggregation to the 340 * HT size; mac80211 would otherwise pick the HE max (256) by default. 341 */ 342 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 343 .bisr_workaround = 1, 344 }; 345 346 /* 347 * All JF radio modules are part of the 9000 series, but the MAC part 348 * looks more like 22000. That's why this device is here, but called 349 * 9560 nevertheless. 350 */ 351 const struct iwl_cfg iwl9461_2ac_cfg_qu_b0_jf_b0 = { 352 .name = "Intel(R) Wireless-AC 9461", 353 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 354 IWL_DEVICE_22500, 355 }; 356 357 const struct iwl_cfg iwl9462_2ac_cfg_qu_b0_jf_b0 = { 358 .name = "Intel(R) Wireless-AC 9462", 359 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 360 IWL_DEVICE_22500, 361 }; 362 363 const struct iwl_cfg iwl9560_2ac_cfg_qu_b0_jf_b0 = { 364 .name = "Intel(R) Wireless-AC 9560", 365 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 366 IWL_DEVICE_22500, 367 }; 368 369 const struct iwl_cfg iwl9560_2ac_160_cfg_qu_b0_jf_b0 = { 370 .name = "Intel(R) Wireless-AC 9560 160MHz", 371 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 372 IWL_DEVICE_22500, 373 }; 374 375 const struct iwl_cfg iwl9560_2ac_cfg_qnj_jf_b0 = { 376 .name = "Intel(R) Wireless-AC 9560 160MHz", 377 .fw_name_pre = IWL_QNJ_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 iwl9560_2ac_cfg_quz_a0_jf_b0_soc = { 388 .name = "Intel(R) Wireless-AC 9560 160MHz", 389 .fw_name_pre = IWL_QUZ_A_JF_B_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 .integrated = true, 398 .soc_latency = 5000, 399 }; 400 401 const struct iwl_cfg iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc = { 402 .name = "Intel(R) Wireless-AC 9560 160MHz", 403 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 404 IWL_DEVICE_22500, 405 /* 406 * This device doesn't support receiving BlockAck with a large bitmap 407 * so we need to restrict the size of transmitted aggregation to the 408 * HT size; mac80211 would otherwise pick the HE max (256) by default. 409 */ 410 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 411 .integrated = true, 412 .soc_latency = 5000, 413 }; 414 415 const struct iwl_cfg iwl9461_2ac_cfg_quz_a0_jf_b0_soc = { 416 .name = "Intel(R) Dual Band Wireless AC 9461", 417 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 418 IWL_DEVICE_22500, 419 /* 420 * This device doesn't support receiving BlockAck with a large bitmap 421 * so we need to restrict the size of transmitted aggregation to the 422 * HT size; mac80211 would otherwise pick the HE max (256) by default. 423 */ 424 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 425 .integrated = true, 426 .soc_latency = 5000, 427 }; 428 429 const struct iwl_cfg iwl9462_2ac_cfg_quz_a0_jf_b0_soc = { 430 .name = "Intel(R) Dual Band Wireless AC 9462", 431 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 432 IWL_DEVICE_22500, 433 /* 434 * This device doesn't support receiving BlockAck with a large bitmap 435 * so we need to restrict the size of transmitted aggregation to the 436 * HT size; mac80211 would otherwise pick the HE max (256) by default. 437 */ 438 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 439 .integrated = true, 440 .soc_latency = 5000, 441 }; 442 443 const struct iwl_cfg iwl9560_killer_s_2ac_cfg_quz_a0_jf_b0_soc = { 444 .name = "Killer (R) Wireless-AC 1550s Wireless Network Adapter (9560NGW)", 445 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 446 IWL_DEVICE_22500, 447 /* 448 * This device doesn't support receiving BlockAck with a large bitmap 449 * so we need to restrict the size of transmitted aggregation to the 450 * HT size; mac80211 would otherwise pick the HE max (256) by default. 451 */ 452 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 453 .integrated = true, 454 .soc_latency = 5000, 455 }; 456 457 const struct iwl_cfg iwl9560_killer_i_2ac_cfg_quz_a0_jf_b0_soc = { 458 .name = "Killer (R) Wireless-AC 1550i Wireless Network Adapter (9560NGW)", 459 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 460 IWL_DEVICE_22500, 461 /* 462 * This device doesn't support receiving BlockAck with a large bitmap 463 * so we need to restrict the size of transmitted aggregation to the 464 * HT size; mac80211 would otherwise pick the HE max (256) by default. 465 */ 466 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 467 .integrated = true, 468 .soc_latency = 5000, 469 }; 470 471 const struct iwl_cfg killer1550i_2ac_cfg_qu_b0_jf_b0 = { 472 .name = "Killer (R) Wireless-AC 1550i Wireless Network Adapter (9560NGW)", 473 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 474 IWL_DEVICE_22500, 475 }; 476 477 const struct iwl_cfg killer1550s_2ac_cfg_qu_b0_jf_b0 = { 478 .name = "Killer (R) Wireless-AC 1550s Wireless Network Adapter (9560NGW)", 479 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 480 IWL_DEVICE_22500, 481 }; 482 483 const struct iwl_cfg killer1650s_2ax_cfg_qu_b0_hr_b0 = { 484 .name = "Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW)", 485 .fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE, 486 IWL_DEVICE_22500, 487 /* 488 * This device doesn't support receiving BlockAck with a large bitmap 489 * so we need to restrict the size of transmitted aggregation to the 490 * HT size; mac80211 would otherwise pick the HE max (256) by default. 491 */ 492 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 493 }; 494 495 const struct iwl_cfg killer1650i_2ax_cfg_qu_b0_hr_b0 = { 496 .name = "Killer(R) Wi-Fi 6 AX1650s 160MHz Wireless Network Adapter (201D2W)", 497 .fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE, 498 IWL_DEVICE_22500, 499 /* 500 * This device doesn't support receiving BlockAck with a large bitmap 501 * so we need to restrict the size of transmitted aggregation to the 502 * HT size; mac80211 would otherwise pick the HE max (256) by default. 503 */ 504 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 505 }; 506 507 const struct iwl_cfg iwl22000_2ax_cfg_jf = { 508 .name = "Intel(R) Dual Band Wireless AX 22000", 509 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 510 IWL_DEVICE_22500, 511 /* 512 * This device doesn't support receiving BlockAck with a large bitmap 513 * so we need to restrict the size of transmitted aggregation to the 514 * HT size; mac80211 would otherwise pick the HE max (256) by default. 515 */ 516 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 517 }; 518 519 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_a0_f0 = { 520 .name = "Intel(R) Dual Band Wireless AX 22000", 521 .fw_name_pre = IWL_22000_HR_A_F0_FW_PRE, 522 IWL_DEVICE_22500, 523 /* 524 * This device doesn't support receiving BlockAck with a large bitmap 525 * so we need to restrict the size of transmitted aggregation to the 526 * HT size; mac80211 would otherwise pick the HE max (256) by default. 527 */ 528 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 529 }; 530 531 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_b0 = { 532 .name = "Intel(R) Dual Band Wireless AX 22000", 533 .fw_name_pre = IWL_22000_HR_B_FW_PRE, 534 IWL_DEVICE_22500, 535 /* 536 * This device doesn't support receiving BlockAck with a large bitmap 537 * so we need to restrict the size of transmitted aggregation to the 538 * HT size; mac80211 would otherwise pick the HE max (256) by default. 539 */ 540 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 541 }; 542 543 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_a0 = { 544 .name = "Intel(R) Dual Band Wireless AX 22000", 545 .fw_name_pre = IWL_22000_HR_A0_FW_PRE, 546 IWL_DEVICE_22500, 547 /* 548 * This device doesn't support receiving BlockAck with a large bitmap 549 * so we need to restrict the size of transmitted aggregation to the 550 * HT size; mac80211 would otherwise pick the HE max (256) by default. 551 */ 552 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 553 }; 554 555 const struct iwl_cfg iwlax210_2ax_cfg_so_jf_a0 = { 556 .name = "Intel(R) Wireless-AC 9560 160MHz", 557 .fw_name_pre = IWL_22000_SO_A_JF_B_FW_PRE, 558 IWL_DEVICE_AX210, 559 }; 560 561 const struct iwl_cfg iwlax210_2ax_cfg_so_hr_a0 = { 562 .name = "Intel(R) Wi-Fi 7 AX210 160MHz", 563 .fw_name_pre = IWL_22000_SO_A_HR_B_FW_PRE, 564 IWL_DEVICE_AX210, 565 }; 566 567 const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0 = { 568 .name = "Intel(R) Wi-Fi 7 AX211 160MHz", 569 .fw_name_pre = IWL_22000_SO_A_GF_A_FW_PRE, 570 .uhb_supported = true, 571 IWL_DEVICE_AX210, 572 }; 573 574 const struct iwl_cfg iwlax210_2ax_cfg_ty_gf_a0 = { 575 .name = "Intel(R) Wi-Fi 7 AX210 160MHz", 576 .fw_name_pre = IWL_22000_TY_A_GF_A_FW_PRE, 577 .uhb_supported = true, 578 IWL_DEVICE_AX210, 579 }; 580 581 const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0 = { 582 .name = "Intel(R) Wi-Fi 7 AX411 160MHz", 583 .fw_name_pre = IWL_22000_SO_A_GF4_A_FW_PRE, 584 IWL_DEVICE_AX210, 585 }; 586 587 MODULE_FIRMWARE(IWL_22000_HR_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 588 MODULE_FIRMWARE(IWL_22000_JF_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 589 MODULE_FIRMWARE(IWL_22000_HR_A_F0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 590 MODULE_FIRMWARE(IWL_22000_HR_B_F0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 591 MODULE_FIRMWARE(IWL_22000_HR_B_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 592 MODULE_FIRMWARE(IWL_22000_HR_A0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 593 MODULE_FIRMWARE(IWL_QU_B_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 594 MODULE_FIRMWARE(IWL_QUZ_A_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 595 MODULE_FIRMWARE(IWL_QUZ_A_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 596 MODULE_FIRMWARE(IWL_QNJ_B_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 597 MODULE_FIRMWARE(IWL_CC_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 598 MODULE_FIRMWARE(IWL_22000_SO_A_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 599 MODULE_FIRMWARE(IWL_22000_SO_A_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 600 MODULE_FIRMWARE(IWL_22000_SO_A_GF_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 601 MODULE_FIRMWARE(IWL_22000_TY_A_GF_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 602