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 #include "iwl-prph.h" 58 59 /* Highest firmware API version supported */ 60 #define IWL_22000_UCODE_API_MAX 51 61 62 /* Lowest firmware API version supported */ 63 #define IWL_22000_UCODE_API_MIN 39 64 65 /* NVM versions */ 66 #define IWL_22000_NVM_VERSION 0x0a1d 67 68 /* Memory offsets and lengths */ 69 #define IWL_22000_DCCM_OFFSET 0x800000 /* LMAC1 */ 70 #define IWL_22000_DCCM_LEN 0x10000 /* LMAC1 */ 71 #define IWL_22000_DCCM2_OFFSET 0x880000 72 #define IWL_22000_DCCM2_LEN 0x8000 73 #define IWL_22000_SMEM_OFFSET 0x400000 74 #define IWL_22000_SMEM_LEN 0xD0000 75 76 #define IWL_22000_JF_FW_PRE "iwlwifi-Qu-a0-jf-b0-" 77 #define IWL_22000_HR_FW_PRE "iwlwifi-Qu-a0-hr-a0-" 78 #define IWL_22000_HR_CDB_FW_PRE "iwlwifi-QuIcp-z0-hrcdb-a0-" 79 #define IWL_22000_HR_A_F0_FW_PRE "iwlwifi-QuQnj-f0-hr-a0-" 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_C_HR_B_FW_PRE "iwlwifi-Qu-c0-hr-b0-" 84 #define IWL_QU_B_JF_B_FW_PRE "iwlwifi-Qu-b0-jf-b0-" 85 #define IWL_QU_C_JF_B_FW_PRE "iwlwifi-Qu-c0-jf-b0-" 86 #define IWL_QUZ_A_HR_B_FW_PRE "iwlwifi-QuZ-a0-hr-b0-" 87 #define IWL_QUZ_A_JF_B_FW_PRE "iwlwifi-QuZ-a0-jf-b0-" 88 #define IWL_QNJ_B_JF_B_FW_PRE "iwlwifi-QuQnj-b0-jf-b0-" 89 #define IWL_CC_A_FW_PRE "iwlwifi-cc-a0-" 90 #define IWL_22000_SO_A_JF_B_FW_PRE "iwlwifi-so-a0-jf-b0-" 91 #define IWL_22000_SO_A_HR_B_FW_PRE "iwlwifi-so-a0-hr-b0-" 92 #define IWL_22000_SO_A_GF_A_FW_PRE "iwlwifi-so-a0-gf-a0-" 93 #define IWL_22000_TY_A_GF_A_FW_PRE "iwlwifi-ty-a0-gf-a0-" 94 #define IWL_22000_SO_A_GF4_A_FW_PRE "iwlwifi-so-a0-gf4-a0-" 95 96 #define IWL_22000_HR_MODULE_FIRMWARE(api) \ 97 IWL_22000_HR_FW_PRE __stringify(api) ".ucode" 98 #define IWL_22000_JF_MODULE_FIRMWARE(api) \ 99 IWL_22000_JF_FW_PRE __stringify(api) ".ucode" 100 #define IWL_22000_HR_A_F0_QNJ_MODULE_FIRMWARE(api) \ 101 IWL_22000_HR_A_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_C_HR_B_MODULE_FIRMWARE(api) \ 113 IWL_QU_C_HR_B_FW_PRE __stringify(api) ".ucode" 114 #define IWL_QU_B_JF_B_MODULE_FIRMWARE(api) \ 115 IWL_QU_B_JF_B_FW_PRE __stringify(api) ".ucode" 116 #define IWL_QNJ_B_JF_B_MODULE_FIRMWARE(api) \ 117 IWL_QNJ_B_JF_B_FW_PRE __stringify(api) ".ucode" 118 #define IWL_CC_A_MODULE_FIRMWARE(api) \ 119 IWL_CC_A_FW_PRE __stringify(api) ".ucode" 120 #define IWL_22000_SO_A_JF_B_MODULE_FIRMWARE(api) \ 121 IWL_22000_SO_A_JF_B_FW_PRE __stringify(api) ".ucode" 122 #define IWL_22000_SO_A_HR_B_MODULE_FIRMWARE(api) \ 123 IWL_22000_SO_A_HR_B_FW_PRE __stringify(api) ".ucode" 124 #define IWL_22000_SO_A_GF_A_MODULE_FIRMWARE(api) \ 125 IWL_22000_SO_A_GF_A_FW_PRE __stringify(api) ".ucode" 126 #define IWL_22000_TY_A_GF_A_MODULE_FIRMWARE(api) \ 127 IWL_22000_TY_A_GF_A_FW_PRE __stringify(api) ".ucode" 128 129 static const struct iwl_base_params iwl_22000_base_params = { 130 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K, 131 .num_of_queues = 512, 132 .max_tfd_queue_size = 256, 133 .shadow_ram_support = true, 134 .led_compensation = 57, 135 .wd_timeout = IWL_LONG_WD_TIMEOUT, 136 .max_event_log_size = 512, 137 .shadow_reg_enable = true, 138 .pcie_l1_allowed = true, 139 }; 140 141 static const struct iwl_base_params iwl_22560_base_params = { 142 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K, 143 .num_of_queues = 512, 144 .max_tfd_queue_size = 65536, 145 .shadow_ram_support = true, 146 .led_compensation = 57, 147 .wd_timeout = IWL_LONG_WD_TIMEOUT, 148 .max_event_log_size = 512, 149 .shadow_reg_enable = true, 150 .pcie_l1_allowed = true, 151 }; 152 153 static const struct iwl_ht_params iwl_22000_ht_params = { 154 .stbc = true, 155 .ldpc = true, 156 .ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ), 157 }; 158 159 #define IWL_DEVICE_22000_COMMON \ 160 .ucode_api_max = IWL_22000_UCODE_API_MAX, \ 161 .ucode_api_min = IWL_22000_UCODE_API_MIN, \ 162 .led_mode = IWL_LED_RF_STATE, \ 163 .nvm_hw_section_num = 10, \ 164 .non_shared_ant = ANT_B, \ 165 .dccm_offset = IWL_22000_DCCM_OFFSET, \ 166 .dccm_len = IWL_22000_DCCM_LEN, \ 167 .dccm2_offset = IWL_22000_DCCM2_OFFSET, \ 168 .dccm2_len = IWL_22000_DCCM2_LEN, \ 169 .smem_offset = IWL_22000_SMEM_OFFSET, \ 170 .smem_len = IWL_22000_SMEM_LEN, \ 171 .features = IWL_TX_CSUM_NETIF_FLAGS | NETIF_F_RXCSUM, \ 172 .apmg_not_supported = true, \ 173 .trans.mq_rx_supported = true, \ 174 .vht_mu_mimo_supported = true, \ 175 .mac_addr_from_csr = true, \ 176 .ht_params = &iwl_22000_ht_params, \ 177 .nvm_ver = IWL_22000_NVM_VERSION, \ 178 .max_ht_ampdu_exponent = IEEE80211_HT_MAX_AMPDU_64K, \ 179 .trans.use_tfh = true, \ 180 .trans.rf_id = true, \ 181 .trans.gen2 = true, \ 182 .nvm_type = IWL_NVM_EXT, \ 183 .dbgc_supported = true, \ 184 .min_umac_error_event_table = 0x400000, \ 185 .d3_debug_data_base_addr = 0x401000, \ 186 .d3_debug_data_length = 60 * 1024, \ 187 .mon_smem_regs = { \ 188 .write_ptr = { \ 189 .addr = LDBG_M2S_BUF_WPTR, \ 190 .mask = LDBG_M2S_BUF_WPTR_VAL_MSK, \ 191 }, \ 192 .cycle_cnt = { \ 193 .addr = LDBG_M2S_BUF_WRAP_CNT, \ 194 .mask = LDBG_M2S_BUF_WRAP_CNT_VAL_MSK, \ 195 }, \ 196 } 197 198 #define IWL_DEVICE_22500 \ 199 IWL_DEVICE_22000_COMMON, \ 200 .trans.device_family = IWL_DEVICE_FAMILY_22000, \ 201 .trans.base_params = &iwl_22000_base_params, \ 202 .trans.csr = &iwl_csr_v1, \ 203 .gp2_reg_addr = 0xa02c68, \ 204 .mon_dram_regs = { \ 205 .write_ptr = { \ 206 .addr = MON_BUFF_WRPTR_VER2, \ 207 .mask = 0xffffffff, \ 208 }, \ 209 .cycle_cnt = { \ 210 .addr = MON_BUFF_CYCLE_CNT_VER2, \ 211 .mask = 0xffffffff, \ 212 }, \ 213 } 214 215 #define IWL_DEVICE_22560 \ 216 IWL_DEVICE_22000_COMMON, \ 217 .trans.device_family = IWL_DEVICE_FAMILY_22560, \ 218 .trans.base_params = &iwl_22560_base_params, \ 219 .trans.csr = &iwl_csr_v2, \ 220 .mon_dram_regs = { \ 221 .write_ptr = { \ 222 .addr = MON_BUFF_WRPTR_VER2, \ 223 .mask = 0xffffffff, \ 224 }, \ 225 .cycle_cnt = { \ 226 .addr = MON_BUFF_CYCLE_CNT_VER2, \ 227 .mask = 0xffffffff, \ 228 }, \ 229 } 230 231 #define IWL_DEVICE_AX210 \ 232 IWL_DEVICE_22000_COMMON, \ 233 .trans.umac_prph_offset = 0x300000, \ 234 .trans.device_family = IWL_DEVICE_FAMILY_AX210, \ 235 .trans.base_params = &iwl_22560_base_params, \ 236 .trans.csr = &iwl_csr_v1, \ 237 .min_txq_size = 128, \ 238 .gp2_reg_addr = 0xd02c68, \ 239 .min_256_ba_txq_size = 512, \ 240 .mon_dram_regs = { \ 241 .write_ptr = { \ 242 .addr = DBGC_CUR_DBGBUF_STATUS, \ 243 .mask = DBGC_CUR_DBGBUF_STATUS_OFFSET_MSK, \ 244 }, \ 245 .cycle_cnt = { \ 246 .addr = DBGC_DBGBUF_WRAP_AROUND, \ 247 .mask = 0xffffffff, \ 248 }, \ 249 .cur_frag = { \ 250 .addr = DBGC_CUR_DBGBUF_STATUS, \ 251 .mask = DBGC_CUR_DBGBUF_STATUS_IDX_MSK, \ 252 }, \ 253 } 254 255 const struct iwl_cfg iwl22000_2ac_cfg_hr = { 256 .name = "Intel(R) Dual Band Wireless AC 22000", 257 .fw_name_pre = IWL_22000_HR_FW_PRE, 258 IWL_DEVICE_22500, 259 }; 260 261 const struct iwl_cfg iwl22000_2ac_cfg_hr_cdb = { 262 .name = "Intel(R) Dual Band Wireless AC 22000", 263 .fw_name_pre = IWL_22000_HR_CDB_FW_PRE, 264 IWL_DEVICE_22500, 265 .cdb = true, 266 }; 267 268 const struct iwl_cfg iwl22000_2ac_cfg_jf = { 269 .name = "Intel(R) Dual Band Wireless AC 22000", 270 .fw_name_pre = IWL_22000_JF_FW_PRE, 271 IWL_DEVICE_22500, 272 }; 273 274 const struct iwl_cfg iwl_ax101_cfg_qu_hr = { 275 .name = "Intel(R) Wi-Fi 6 AX101", 276 .fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE, 277 IWL_DEVICE_22500, 278 /* 279 * This device doesn't support receiving BlockAck with a large bitmap 280 * so we need to restrict the size of transmitted aggregation to the 281 * HT size; mac80211 would otherwise pick the HE max (256) by default. 282 */ 283 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 284 .tx_with_siso_diversity = true, 285 }; 286 287 const struct iwl_cfg iwl_ax201_cfg_qu_hr = { 288 .name = "Intel(R) Wi-Fi 6 AX201 160MHz", 289 .fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE, 290 IWL_DEVICE_22500, 291 /* 292 * This device doesn't support receiving BlockAck with a large bitmap 293 * so we need to restrict the size of transmitted aggregation to the 294 * HT size; mac80211 would otherwise pick the HE max (256) by default. 295 */ 296 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 297 }; 298 299 const struct iwl_cfg iwl_ax101_cfg_qu_c0_hr_b0 = { 300 .name = "Intel(R) Wi-Fi 6 AX101", 301 .fw_name_pre = IWL_QU_C_HR_B_FW_PRE, 302 IWL_DEVICE_22500, 303 /* 304 * This device doesn't support receiving BlockAck with a large bitmap 305 * so we need to restrict the size of transmitted aggregation to the 306 * HT size; mac80211 would otherwise pick the HE max (256) by default. 307 */ 308 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 309 }; 310 311 const struct iwl_cfg iwl_ax201_cfg_qu_c0_hr_b0 = { 312 .name = "Intel(R) Wi-Fi 6 AX201 160MHz", 313 .fw_name_pre = IWL_QU_C_HR_B_FW_PRE, 314 IWL_DEVICE_22500, 315 /* 316 * This device doesn't support receiving BlockAck with a large bitmap 317 * so we need to restrict the size of transmitted aggregation to the 318 * HT size; mac80211 would otherwise pick the HE max (256) by default. 319 */ 320 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 321 }; 322 323 const struct iwl_cfg iwl_ax101_cfg_quz_hr = { 324 .name = "Intel(R) Wi-Fi 6 AX101", 325 .fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE, 326 IWL_DEVICE_22500, 327 /* 328 * This device doesn't support receiving BlockAck with a large bitmap 329 * so we need to restrict the size of transmitted aggregation to the 330 * HT size; mac80211 would otherwise pick the HE max (256) by default. 331 */ 332 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 333 }; 334 335 const struct iwl_cfg iwl_ax201_cfg_quz_hr = { 336 .name = "Intel(R) Wi-Fi 6 AX201 160MHz", 337 .fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE, 338 IWL_DEVICE_22500, 339 /* 340 * This device doesn't support receiving BlockAck with a large bitmap 341 * so we need to restrict the size of transmitted aggregation to the 342 * HT size; mac80211 would otherwise pick the HE max (256) by default. 343 */ 344 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 345 }; 346 347 const struct iwl_cfg iwl_ax1650s_cfg_quz_hr = { 348 .name = "Killer(R) Wi-Fi 6 AX1650s 160MHz Wireless Network Adapter (201D2W)", 349 .fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE, 350 IWL_DEVICE_22500, 351 /* 352 * This device doesn't support receiving BlockAck with a large bitmap 353 * so we need to restrict the size of transmitted aggregation to the 354 * HT size; mac80211 would otherwise pick the HE max (256) by default. 355 */ 356 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 357 }; 358 359 const struct iwl_cfg iwl_ax1650i_cfg_quz_hr = { 360 .name = "Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW)", 361 .fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE, 362 IWL_DEVICE_22500, 363 /* 364 * This device doesn't support receiving BlockAck with a large bitmap 365 * so we need to restrict the size of transmitted aggregation to the 366 * HT size; mac80211 would otherwise pick the HE max (256) by default. 367 */ 368 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 369 }; 370 371 const struct iwl_cfg iwl_ax200_cfg_cc = { 372 .name = "Intel(R) Wi-Fi 6 AX200 160MHz", 373 .fw_name_pre = IWL_CC_A_FW_PRE, 374 IWL_DEVICE_22500, 375 /* 376 * This device doesn't support receiving BlockAck with a large bitmap 377 * so we need to restrict the size of transmitted aggregation to the 378 * HT size; mac80211 would otherwise pick the HE max (256) by default. 379 */ 380 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 381 .trans.bisr_workaround = 1, 382 }; 383 384 const struct iwl_cfg killer1650x_2ax_cfg = { 385 .name = "Killer(R) Wi-Fi 6 AX1650x 160MHz Wireless Network Adapter (200NGW)", 386 .fw_name_pre = IWL_CC_A_FW_PRE, 387 IWL_DEVICE_22500, 388 /* 389 * This device doesn't support receiving BlockAck with a large bitmap 390 * so we need to restrict the size of transmitted aggregation to the 391 * HT size; mac80211 would otherwise pick the HE max (256) by default. 392 */ 393 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 394 .trans.bisr_workaround = 1, 395 }; 396 397 const struct iwl_cfg killer1650w_2ax_cfg = { 398 .name = "Killer(R) Wi-Fi 6 AX1650w 160MHz Wireless Network Adapter (200D2W)", 399 .fw_name_pre = IWL_CC_A_FW_PRE, 400 IWL_DEVICE_22500, 401 /* 402 * This device doesn't support receiving BlockAck with a large bitmap 403 * so we need to restrict the size of transmitted aggregation to the 404 * HT size; mac80211 would otherwise pick the HE max (256) by default. 405 */ 406 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 407 .trans.bisr_workaround = 1, 408 }; 409 410 /* 411 * All JF radio modules are part of the 9000 series, but the MAC part 412 * looks more like 22000. That's why this device is here, but called 413 * 9560 nevertheless. 414 */ 415 const struct iwl_cfg iwl9461_2ac_cfg_qu_b0_jf_b0 = { 416 .name = "Intel(R) Wireless-AC 9461", 417 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 418 IWL_DEVICE_22500, 419 }; 420 421 const struct iwl_cfg iwl9462_2ac_cfg_qu_b0_jf_b0 = { 422 .name = "Intel(R) Wireless-AC 9462", 423 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 424 IWL_DEVICE_22500, 425 }; 426 427 const struct iwl_cfg iwl9560_2ac_cfg_qu_b0_jf_b0 = { 428 .name = "Intel(R) Wireless-AC 9560", 429 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 430 IWL_DEVICE_22500, 431 }; 432 433 const struct iwl_cfg iwl9560_2ac_160_cfg_qu_b0_jf_b0 = { 434 .name = "Intel(R) Wireless-AC 9560 160MHz", 435 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 436 IWL_DEVICE_22500, 437 }; 438 439 const struct iwl_cfg iwl9461_2ac_cfg_qu_c0_jf_b0 = { 440 .name = "Intel(R) Wireless-AC 9461", 441 .fw_name_pre = IWL_QU_C_JF_B_FW_PRE, 442 IWL_DEVICE_22500, 443 }; 444 445 const struct iwl_cfg iwl9462_2ac_cfg_qu_c0_jf_b0 = { 446 .name = "Intel(R) Wireless-AC 9462", 447 .fw_name_pre = IWL_QU_C_JF_B_FW_PRE, 448 IWL_DEVICE_22500, 449 }; 450 451 const struct iwl_cfg iwl9560_2ac_cfg_qu_c0_jf_b0 = { 452 .name = "Intel(R) Wireless-AC 9560", 453 .fw_name_pre = IWL_QU_C_JF_B_FW_PRE, 454 IWL_DEVICE_22500, 455 }; 456 457 const struct iwl_cfg iwl9560_2ac_160_cfg_qu_c0_jf_b0 = { 458 .name = "Intel(R) Wireless-AC 9560 160MHz", 459 .fw_name_pre = IWL_QU_C_JF_B_FW_PRE, 460 IWL_DEVICE_22500, 461 }; 462 463 const struct iwl_cfg iwl9560_2ac_cfg_qnj_jf_b0 = { 464 .name = "Intel(R) Wireless-AC 9560 160MHz", 465 .fw_name_pre = IWL_QNJ_B_JF_B_FW_PRE, 466 IWL_DEVICE_22500, 467 /* 468 * This device doesn't support receiving BlockAck with a large bitmap 469 * so we need to restrict the size of transmitted aggregation to the 470 * HT size; mac80211 would otherwise pick the HE max (256) by default. 471 */ 472 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 473 }; 474 475 const struct iwl_cfg iwl9560_2ac_cfg_quz_a0_jf_b0_soc = { 476 .name = "Intel(R) Wireless-AC 9560 160MHz", 477 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 478 IWL_DEVICE_22500, 479 /* 480 * This device doesn't support receiving BlockAck with a large bitmap 481 * so we need to restrict the size of transmitted aggregation to the 482 * HT size; mac80211 would otherwise pick the HE max (256) by default. 483 */ 484 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 485 .integrated = true, 486 .soc_latency = 5000, 487 }; 488 489 const struct iwl_cfg iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc = { 490 .name = "Intel(R) Wireless-AC 9560 160MHz", 491 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 492 IWL_DEVICE_22500, 493 /* 494 * This device doesn't support receiving BlockAck with a large bitmap 495 * so we need to restrict the size of transmitted aggregation to the 496 * HT size; mac80211 would otherwise pick the HE max (256) by default. 497 */ 498 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 499 .integrated = true, 500 .soc_latency = 5000, 501 }; 502 503 const struct iwl_cfg iwl9461_2ac_cfg_quz_a0_jf_b0_soc = { 504 .name = "Intel(R) Dual Band Wireless AC 9461", 505 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 506 IWL_DEVICE_22500, 507 /* 508 * This device doesn't support receiving BlockAck with a large bitmap 509 * so we need to restrict the size of transmitted aggregation to the 510 * HT size; mac80211 would otherwise pick the HE max (256) by default. 511 */ 512 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 513 .integrated = true, 514 .soc_latency = 5000, 515 }; 516 517 const struct iwl_cfg iwl9462_2ac_cfg_quz_a0_jf_b0_soc = { 518 .name = "Intel(R) Dual Band Wireless AC 9462", 519 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 520 IWL_DEVICE_22500, 521 /* 522 * This device doesn't support receiving BlockAck with a large bitmap 523 * so we need to restrict the size of transmitted aggregation to the 524 * HT size; mac80211 would otherwise pick the HE max (256) by default. 525 */ 526 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 527 .integrated = true, 528 .soc_latency = 5000, 529 }; 530 531 const struct iwl_cfg iwl9560_killer_s_2ac_cfg_quz_a0_jf_b0_soc = { 532 .name = "Killer (R) Wireless-AC 1550s Wireless Network Adapter (9560NGW)", 533 .fw_name_pre = IWL_QUZ_A_JF_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 .integrated = true, 542 .soc_latency = 5000, 543 }; 544 545 const struct iwl_cfg iwl9560_killer_i_2ac_cfg_quz_a0_jf_b0_soc = { 546 .name = "Killer (R) Wireless-AC 1550i Wireless Network Adapter (9560NGW)", 547 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 548 IWL_DEVICE_22500, 549 /* 550 * This device doesn't support receiving BlockAck with a large bitmap 551 * so we need to restrict the size of transmitted aggregation to the 552 * HT size; mac80211 would otherwise pick the HE max (256) by default. 553 */ 554 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 555 .integrated = true, 556 .soc_latency = 5000, 557 }; 558 559 const struct iwl_cfg killer1550i_2ac_cfg_qu_b0_jf_b0 = { 560 .name = "Killer (R) Wireless-AC 1550i Wireless Network Adapter (9560NGW)", 561 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 562 IWL_DEVICE_22500, 563 }; 564 565 const struct iwl_cfg killer1550s_2ac_cfg_qu_b0_jf_b0 = { 566 .name = "Killer (R) Wireless-AC 1550s Wireless Network Adapter (9560NGW)", 567 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 568 IWL_DEVICE_22500, 569 }; 570 571 const struct iwl_cfg killer1650s_2ax_cfg_qu_b0_hr_b0 = { 572 .name = "Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW)", 573 .fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE, 574 IWL_DEVICE_22500, 575 /* 576 * This device doesn't support receiving BlockAck with a large bitmap 577 * so we need to restrict the size of transmitted aggregation to the 578 * HT size; mac80211 would otherwise pick the HE max (256) by default. 579 */ 580 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 581 }; 582 583 const struct iwl_cfg killer1650i_2ax_cfg_qu_b0_hr_b0 = { 584 .name = "Killer(R) Wi-Fi 6 AX1650s 160MHz Wireless Network Adapter (201D2W)", 585 .fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE, 586 IWL_DEVICE_22500, 587 /* 588 * This device doesn't support receiving BlockAck with a large bitmap 589 * so we need to restrict the size of transmitted aggregation to the 590 * HT size; mac80211 would otherwise pick the HE max (256) by default. 591 */ 592 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 593 }; 594 595 const struct iwl_cfg killer1650s_2ax_cfg_qu_c0_hr_b0 = { 596 .name = "Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW)", 597 .fw_name_pre = IWL_QU_C_HR_B_FW_PRE, 598 IWL_DEVICE_22500, 599 /* 600 * This device doesn't support receiving BlockAck with a large bitmap 601 * so we need to restrict the size of transmitted aggregation to the 602 * HT size; mac80211 would otherwise pick the HE max (256) by default. 603 */ 604 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 605 }; 606 607 const struct iwl_cfg killer1650i_2ax_cfg_qu_c0_hr_b0 = { 608 .name = "Killer(R) Wi-Fi 6 AX1650s 160MHz Wireless Network Adapter (201D2W)", 609 .fw_name_pre = IWL_QU_C_HR_B_FW_PRE, 610 IWL_DEVICE_22500, 611 /* 612 * This device doesn't support receiving BlockAck with a large bitmap 613 * so we need to restrict the size of transmitted aggregation to the 614 * HT size; mac80211 would otherwise pick the HE max (256) by default. 615 */ 616 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 617 }; 618 619 const struct iwl_cfg iwl22000_2ax_cfg_jf = { 620 .name = "Intel(R) Dual Band Wireless AX 22000", 621 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 622 IWL_DEVICE_22500, 623 /* 624 * This device doesn't support receiving BlockAck with a large bitmap 625 * so we need to restrict the size of transmitted aggregation to the 626 * HT size; mac80211 would otherwise pick the HE max (256) by default. 627 */ 628 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 629 }; 630 631 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_a0_f0 = { 632 .name = "Intel(R) Dual Band Wireless AX 22000", 633 .fw_name_pre = IWL_22000_HR_A_F0_FW_PRE, 634 IWL_DEVICE_22500, 635 /* 636 * This device doesn't support receiving BlockAck with a large bitmap 637 * so we need to restrict the size of transmitted aggregation to the 638 * HT size; mac80211 would otherwise pick the HE max (256) by default. 639 */ 640 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 641 }; 642 643 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_b0 = { 644 .name = "Intel(R) Dual Band Wireless AX 22000", 645 .fw_name_pre = IWL_22000_HR_B_FW_PRE, 646 IWL_DEVICE_22500, 647 /* 648 * This device doesn't support receiving BlockAck with a large bitmap 649 * so we need to restrict the size of transmitted aggregation to the 650 * HT size; mac80211 would otherwise pick the HE max (256) by default. 651 */ 652 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 653 }; 654 655 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_a0 = { 656 .name = "Intel(R) Dual Band Wireless AX 22000", 657 .fw_name_pre = IWL_22000_HR_A0_FW_PRE, 658 IWL_DEVICE_22500, 659 /* 660 * This device doesn't support receiving BlockAck with a large bitmap 661 * so we need to restrict the size of transmitted aggregation to the 662 * HT size; mac80211 would otherwise pick the HE max (256) by default. 663 */ 664 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 665 }; 666 667 const struct iwl_cfg iwlax210_2ax_cfg_so_jf_a0 = { 668 .name = "Intel(R) Wireless-AC 9560 160MHz", 669 .fw_name_pre = IWL_22000_SO_A_JF_B_FW_PRE, 670 IWL_DEVICE_AX210, 671 }; 672 673 const struct iwl_cfg iwlax210_2ax_cfg_so_hr_a0 = { 674 .name = "Intel(R) Wi-Fi 7 AX210 160MHz", 675 .fw_name_pre = IWL_22000_SO_A_HR_B_FW_PRE, 676 IWL_DEVICE_AX210, 677 }; 678 679 const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0 = { 680 .name = "Intel(R) Wi-Fi 7 AX211 160MHz", 681 .fw_name_pre = IWL_22000_SO_A_GF_A_FW_PRE, 682 .uhb_supported = true, 683 IWL_DEVICE_AX210, 684 }; 685 686 const struct iwl_cfg iwlax210_2ax_cfg_ty_gf_a0 = { 687 .name = "Intel(R) Wi-Fi 7 AX210 160MHz", 688 .fw_name_pre = IWL_22000_TY_A_GF_A_FW_PRE, 689 .uhb_supported = true, 690 IWL_DEVICE_AX210, 691 }; 692 693 const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0 = { 694 .name = "Intel(R) Wi-Fi 7 AX411 160MHz", 695 .fw_name_pre = IWL_22000_SO_A_GF4_A_FW_PRE, 696 IWL_DEVICE_AX210, 697 }; 698 699 MODULE_FIRMWARE(IWL_22000_HR_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 700 MODULE_FIRMWARE(IWL_22000_JF_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 701 MODULE_FIRMWARE(IWL_22000_HR_A_F0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 702 MODULE_FIRMWARE(IWL_22000_HR_B_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 703 MODULE_FIRMWARE(IWL_22000_HR_A0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 704 MODULE_FIRMWARE(IWL_QU_C_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 705 MODULE_FIRMWARE(IWL_QU_B_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 706 MODULE_FIRMWARE(IWL_QUZ_A_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 707 MODULE_FIRMWARE(IWL_QUZ_A_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 708 MODULE_FIRMWARE(IWL_QNJ_B_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 709 MODULE_FIRMWARE(IWL_CC_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 710 MODULE_FIRMWARE(IWL_22000_SO_A_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 711 MODULE_FIRMWARE(IWL_22000_SO_A_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 712 MODULE_FIRMWARE(IWL_22000_SO_A_GF_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 713 MODULE_FIRMWARE(IWL_22000_TY_A_GF_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 714