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 52 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 #define IWL_22000_SOSNJ_A_GF4_A_FW_PRE "iwlwifi-SoSnj-a0-gf4-a0-" 96 97 #define IWL_22000_HR_MODULE_FIRMWARE(api) \ 98 IWL_22000_HR_FW_PRE __stringify(api) ".ucode" 99 #define IWL_22000_JF_MODULE_FIRMWARE(api) \ 100 IWL_22000_JF_FW_PRE __stringify(api) ".ucode" 101 #define IWL_22000_HR_A_F0_QNJ_MODULE_FIRMWARE(api) \ 102 IWL_22000_HR_A_F0_FW_PRE __stringify(api) ".ucode" 103 #define IWL_22000_QU_B_HR_B_MODULE_FIRMWARE(api) \ 104 IWL_22000_QU_B_HR_B_FW_PRE __stringify(api) ".ucode" 105 #define IWL_22000_HR_B_QNJ_MODULE_FIRMWARE(api) \ 106 IWL_22000_HR_B_FW_PRE __stringify(api) ".ucode" 107 #define IWL_22000_HR_A0_QNJ_MODULE_FIRMWARE(api) \ 108 IWL_22000_HR_A0_FW_PRE __stringify(api) ".ucode" 109 #define IWL_QUZ_A_HR_B_MODULE_FIRMWARE(api) \ 110 IWL_QUZ_A_HR_B_FW_PRE __stringify(api) ".ucode" 111 #define IWL_QUZ_A_JF_B_MODULE_FIRMWARE(api) \ 112 IWL_QUZ_A_JF_B_FW_PRE __stringify(api) ".ucode" 113 #define IWL_QU_C_HR_B_MODULE_FIRMWARE(api) \ 114 IWL_QU_C_HR_B_FW_PRE __stringify(api) ".ucode" 115 #define IWL_QU_B_JF_B_MODULE_FIRMWARE(api) \ 116 IWL_QU_B_JF_B_FW_PRE __stringify(api) ".ucode" 117 #define IWL_QNJ_B_JF_B_MODULE_FIRMWARE(api) \ 118 IWL_QNJ_B_JF_B_FW_PRE __stringify(api) ".ucode" 119 #define IWL_CC_A_MODULE_FIRMWARE(api) \ 120 IWL_CC_A_FW_PRE __stringify(api) ".ucode" 121 #define IWL_22000_SO_A_JF_B_MODULE_FIRMWARE(api) \ 122 IWL_22000_SO_A_JF_B_FW_PRE __stringify(api) ".ucode" 123 #define IWL_22000_SO_A_HR_B_MODULE_FIRMWARE(api) \ 124 IWL_22000_SO_A_HR_B_FW_PRE __stringify(api) ".ucode" 125 #define IWL_22000_SO_A_GF_A_MODULE_FIRMWARE(api) \ 126 IWL_22000_SO_A_GF_A_FW_PRE __stringify(api) ".ucode" 127 #define IWL_22000_TY_A_GF_A_MODULE_FIRMWARE(api) \ 128 IWL_22000_TY_A_GF_A_FW_PRE __stringify(api) ".ucode" 129 130 static const struct iwl_base_params iwl_22000_base_params = { 131 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K, 132 .num_of_queues = 512, 133 .max_tfd_queue_size = 256, 134 .shadow_ram_support = true, 135 .led_compensation = 57, 136 .wd_timeout = IWL_LONG_WD_TIMEOUT, 137 .max_event_log_size = 512, 138 .shadow_reg_enable = true, 139 .pcie_l1_allowed = true, 140 }; 141 142 static const struct iwl_base_params iwl_ax210_base_params = { 143 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K, 144 .num_of_queues = 512, 145 .max_tfd_queue_size = 65536, 146 .shadow_ram_support = true, 147 .led_compensation = 57, 148 .wd_timeout = IWL_LONG_WD_TIMEOUT, 149 .max_event_log_size = 512, 150 .shadow_reg_enable = true, 151 .pcie_l1_allowed = true, 152 }; 153 154 static const struct iwl_ht_params iwl_22000_ht_params = { 155 .stbc = true, 156 .ldpc = true, 157 .ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ), 158 }; 159 160 #define IWL_DEVICE_22000_COMMON \ 161 .ucode_api_max = IWL_22000_UCODE_API_MAX, \ 162 .ucode_api_min = IWL_22000_UCODE_API_MIN, \ 163 .led_mode = IWL_LED_RF_STATE, \ 164 .nvm_hw_section_num = 10, \ 165 .non_shared_ant = ANT_B, \ 166 .dccm_offset = IWL_22000_DCCM_OFFSET, \ 167 .dccm_len = IWL_22000_DCCM_LEN, \ 168 .dccm2_offset = IWL_22000_DCCM2_OFFSET, \ 169 .dccm2_len = IWL_22000_DCCM2_LEN, \ 170 .smem_offset = IWL_22000_SMEM_OFFSET, \ 171 .smem_len = IWL_22000_SMEM_LEN, \ 172 .features = IWL_TX_CSUM_NETIF_FLAGS | NETIF_F_RXCSUM, \ 173 .apmg_not_supported = true, \ 174 .trans.mq_rx_supported = true, \ 175 .vht_mu_mimo_supported = true, \ 176 .mac_addr_from_csr = true, \ 177 .ht_params = &iwl_22000_ht_params, \ 178 .nvm_ver = IWL_22000_NVM_VERSION, \ 179 .max_ht_ampdu_exponent = IEEE80211_HT_MAX_AMPDU_64K, \ 180 .trans.use_tfh = true, \ 181 .trans.rf_id = true, \ 182 .trans.gen2 = true, \ 183 .nvm_type = IWL_NVM_EXT, \ 184 .dbgc_supported = true, \ 185 .min_umac_error_event_table = 0x400000, \ 186 .d3_debug_data_base_addr = 0x401000, \ 187 .d3_debug_data_length = 60 * 1024, \ 188 .mon_smem_regs = { \ 189 .write_ptr = { \ 190 .addr = LDBG_M2S_BUF_WPTR, \ 191 .mask = LDBG_M2S_BUF_WPTR_VAL_MSK, \ 192 }, \ 193 .cycle_cnt = { \ 194 .addr = LDBG_M2S_BUF_WRAP_CNT, \ 195 .mask = LDBG_M2S_BUF_WRAP_CNT_VAL_MSK, \ 196 }, \ 197 } 198 199 #define IWL_DEVICE_22500 \ 200 IWL_DEVICE_22000_COMMON, \ 201 .trans.device_family = IWL_DEVICE_FAMILY_22000, \ 202 .trans.base_params = &iwl_22000_base_params, \ 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_AX210 \ 216 IWL_DEVICE_22000_COMMON, \ 217 .trans.umac_prph_offset = 0x300000, \ 218 .trans.device_family = IWL_DEVICE_FAMILY_AX210, \ 219 .trans.base_params = &iwl_ax210_base_params, \ 220 .min_txq_size = 128, \ 221 .gp2_reg_addr = 0xd02c68, \ 222 .min_256_ba_txq_size = 512, \ 223 .mon_dram_regs = { \ 224 .write_ptr = { \ 225 .addr = DBGC_CUR_DBGBUF_STATUS, \ 226 .mask = DBGC_CUR_DBGBUF_STATUS_OFFSET_MSK, \ 227 }, \ 228 .cycle_cnt = { \ 229 .addr = DBGC_DBGBUF_WRAP_AROUND, \ 230 .mask = 0xffffffff, \ 231 }, \ 232 .cur_frag = { \ 233 .addr = DBGC_CUR_DBGBUF_STATUS, \ 234 .mask = DBGC_CUR_DBGBUF_STATUS_IDX_MSK, \ 235 }, \ 236 } 237 238 /* 239 * If the device doesn't support HE, no need to have that many buffers. 240 * 22000 devices can split multiple frames into a single RB, so fewer are 241 * needed; AX210 cannot (but use smaller RBs by default) - these sizes 242 * were picked according to 8 MSDUs inside 256 A-MSDUs in an A-MPDU, with 243 * additional overhead to account for processing time. 244 */ 245 #define IWL_NUM_RBDS_NON_HE 512 246 #define IWL_NUM_RBDS_22000_HE 2048 247 #define IWL_NUM_RBDS_AX210_HE 4096 248 249 const struct iwl_cfg_trans_params iwl_ax200_trans_cfg = { 250 .device_family = IWL_DEVICE_FAMILY_22000, 251 .base_params = &iwl_22000_base_params, 252 .mq_rx_supported = true, 253 .use_tfh = true, 254 .rf_id = true, 255 .gen2 = true, 256 .bisr_workaround = 1, 257 }; 258 259 const char iwl_ax200_name[] = "Intel(R) Wi-Fi 6 AX200 160MHz"; 260 261 const char iwl_ax200_killer_1650w_name[] = 262 "Killer(R) Wi-Fi 6 AX1650w 160MHz Wireless Network Adapter (200D2W)"; 263 const char iwl_ax200_killer_1650x_name[] = 264 "Killer(R) Wi-Fi 6 AX1650x 160MHz Wireless Network Adapter (200NGW)"; 265 266 const struct iwl_cfg iwl_ax101_cfg_qu_hr = { 267 .name = "Intel(R) Wi-Fi 6 AX101", 268 .fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE, 269 IWL_DEVICE_22500, 270 /* 271 * This device doesn't support receiving BlockAck with a large bitmap 272 * so we need to restrict the size of transmitted aggregation to the 273 * HT size; mac80211 would otherwise pick the HE max (256) by default. 274 */ 275 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 276 .tx_with_siso_diversity = true, 277 .num_rbds = IWL_NUM_RBDS_22000_HE, 278 }; 279 280 const struct iwl_cfg iwl_ax201_cfg_qu_hr = { 281 .name = "Intel(R) Wi-Fi 6 AX201 160MHz", 282 .fw_name_pre = IWL_22000_QU_B_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 .num_rbds = IWL_NUM_RBDS_22000_HE, 291 }; 292 293 const struct iwl_cfg iwl_ax101_cfg_qu_c0_hr_b0 = { 294 .name = "Intel(R) Wi-Fi 6 AX101", 295 .fw_name_pre = IWL_QU_C_HR_B_FW_PRE, 296 IWL_DEVICE_22500, 297 /* 298 * This device doesn't support receiving BlockAck with a large bitmap 299 * so we need to restrict the size of transmitted aggregation to the 300 * HT size; mac80211 would otherwise pick the HE max (256) by default. 301 */ 302 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 303 .tx_with_siso_diversity = true, 304 .num_rbds = IWL_NUM_RBDS_22000_HE, 305 }; 306 307 const struct iwl_cfg iwl_ax201_cfg_qu_c0_hr_b0 = { 308 .name = "Intel(R) Wi-Fi 6 AX201 160MHz", 309 .fw_name_pre = IWL_QU_C_HR_B_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 .num_rbds = IWL_NUM_RBDS_22000_HE, 318 }; 319 320 const struct iwl_cfg iwl_ax101_cfg_quz_hr = { 321 .name = "Intel(R) Wi-Fi 6 AX101", 322 .fw_name_pre = IWL_QUZ_A_HR_B_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 .tx_with_siso_diversity = true, 331 .num_rbds = IWL_NUM_RBDS_22000_HE, 332 }; 333 334 const struct iwl_cfg iwl_ax201_cfg_quz_hr = { 335 .name = "Intel(R) Wi-Fi 6 AX201 160MHz", 336 .fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE, 337 IWL_DEVICE_22500, 338 /* 339 * This device doesn't support receiving BlockAck with a large bitmap 340 * so we need to restrict the size of transmitted aggregation to the 341 * HT size; mac80211 would otherwise pick the HE max (256) by default. 342 */ 343 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 344 .num_rbds = IWL_NUM_RBDS_22000_HE, 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 .num_rbds = IWL_NUM_RBDS_22000_HE, 358 }; 359 360 const struct iwl_cfg iwl_ax1650i_cfg_quz_hr = { 361 .name = "Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW)", 362 .fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE, 363 IWL_DEVICE_22500, 364 /* 365 * This device doesn't support receiving BlockAck with a large bitmap 366 * so we need to restrict the size of transmitted aggregation to the 367 * HT size; mac80211 would otherwise pick the HE max (256) by default. 368 */ 369 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 370 .num_rbds = IWL_NUM_RBDS_22000_HE, 371 }; 372 373 const struct iwl_cfg iwl_ax200_cfg_cc = { 374 .fw_name_pre = IWL_CC_A_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 .num_rbds = IWL_NUM_RBDS_22000_HE, 383 }; 384 385 /* 386 * All JF radio modules are part of the 9000 series, but the MAC part 387 * looks more like 22000. That's why this device is here, but called 388 * 9560 nevertheless. 389 */ 390 const struct iwl_cfg iwl9461_2ac_cfg_qu_b0_jf_b0 = { 391 .name = "Intel(R) Wireless-AC 9461", 392 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 393 IWL_DEVICE_22500, 394 .num_rbds = IWL_NUM_RBDS_NON_HE, 395 }; 396 397 const struct iwl_cfg iwl9462_2ac_cfg_qu_b0_jf_b0 = { 398 .name = "Intel(R) Wireless-AC 9462", 399 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 400 IWL_DEVICE_22500, 401 .num_rbds = IWL_NUM_RBDS_NON_HE, 402 }; 403 404 const struct iwl_cfg iwl9560_2ac_cfg_qu_b0_jf_b0 = { 405 .name = "Intel(R) Wireless-AC 9560", 406 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 407 IWL_DEVICE_22500, 408 .num_rbds = IWL_NUM_RBDS_NON_HE, 409 }; 410 411 const struct iwl_cfg iwl9560_2ac_160_cfg_qu_b0_jf_b0 = { 412 .name = "Intel(R) Wireless-AC 9560 160MHz", 413 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 414 IWL_DEVICE_22500, 415 .num_rbds = IWL_NUM_RBDS_NON_HE, 416 }; 417 418 const struct iwl_cfg iwl9461_2ac_cfg_qu_c0_jf_b0 = { 419 .name = "Intel(R) Wireless-AC 9461", 420 .fw_name_pre = IWL_QU_C_JF_B_FW_PRE, 421 IWL_DEVICE_22500, 422 .num_rbds = IWL_NUM_RBDS_NON_HE, 423 }; 424 425 const struct iwl_cfg iwl9462_2ac_cfg_qu_c0_jf_b0 = { 426 .name = "Intel(R) Wireless-AC 9462", 427 .fw_name_pre = IWL_QU_C_JF_B_FW_PRE, 428 IWL_DEVICE_22500, 429 .num_rbds = IWL_NUM_RBDS_NON_HE, 430 }; 431 432 const struct iwl_cfg iwl9560_2ac_cfg_qu_c0_jf_b0 = { 433 .name = "Intel(R) Wireless-AC 9560", 434 .fw_name_pre = IWL_QU_C_JF_B_FW_PRE, 435 IWL_DEVICE_22500, 436 .num_rbds = IWL_NUM_RBDS_NON_HE, 437 }; 438 439 const struct iwl_cfg iwl9560_2ac_160_cfg_qu_c0_jf_b0 = { 440 .name = "Intel(R) Wireless-AC 9560 160MHz", 441 .fw_name_pre = IWL_QU_C_JF_B_FW_PRE, 442 IWL_DEVICE_22500, 443 .num_rbds = IWL_NUM_RBDS_NON_HE, 444 }; 445 446 const struct iwl_cfg iwl9560_2ac_cfg_qnj_jf_b0 = { 447 .name = "Intel(R) Wireless-AC 9560 160MHz", 448 .fw_name_pre = IWL_QNJ_B_JF_B_FW_PRE, 449 IWL_DEVICE_22500, 450 /* 451 * This device doesn't support receiving BlockAck with a large bitmap 452 * so we need to restrict the size of transmitted aggregation to the 453 * HT size; mac80211 would otherwise pick the HE max (256) by default. 454 */ 455 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 456 .num_rbds = IWL_NUM_RBDS_NON_HE, 457 }; 458 459 const struct iwl_cfg iwl9560_2ac_cfg_quz_a0_jf_b0_soc = { 460 .name = "Intel(R) Wireless-AC 9560 160MHz", 461 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 462 IWL_DEVICE_22500, 463 /* 464 * This device doesn't support receiving BlockAck with a large bitmap 465 * so we need to restrict the size of transmitted aggregation to the 466 * HT size; mac80211 would otherwise pick the HE max (256) by default. 467 */ 468 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 469 .integrated = true, 470 .soc_latency = 5000, 471 .num_rbds = IWL_NUM_RBDS_NON_HE, 472 }; 473 474 const struct iwl_cfg iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc = { 475 .name = "Intel(R) Wireless-AC 9560 160MHz", 476 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 477 IWL_DEVICE_22500, 478 /* 479 * This device doesn't support receiving BlockAck with a large bitmap 480 * so we need to restrict the size of transmitted aggregation to the 481 * HT size; mac80211 would otherwise pick the HE max (256) by default. 482 */ 483 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 484 .integrated = true, 485 .soc_latency = 5000, 486 .num_rbds = IWL_NUM_RBDS_NON_HE, 487 }; 488 489 const struct iwl_cfg iwl9461_2ac_cfg_quz_a0_jf_b0_soc = { 490 .name = "Intel(R) Dual Band Wireless AC 9461", 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 .num_rbds = IWL_NUM_RBDS_NON_HE, 502 }; 503 504 const struct iwl_cfg iwl9462_2ac_cfg_quz_a0_jf_b0_soc = { 505 .name = "Intel(R) Dual Band Wireless AC 9462", 506 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 507 IWL_DEVICE_22500, 508 /* 509 * This device doesn't support receiving BlockAck with a large bitmap 510 * so we need to restrict the size of transmitted aggregation to the 511 * HT size; mac80211 would otherwise pick the HE max (256) by default. 512 */ 513 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 514 .integrated = true, 515 .soc_latency = 5000, 516 .num_rbds = IWL_NUM_RBDS_NON_HE, 517 }; 518 519 const struct iwl_cfg iwl9560_killer_s_2ac_cfg_quz_a0_jf_b0_soc = { 520 .name = "Killer (R) Wireless-AC 1550s Wireless Network Adapter (9560NGW)", 521 .fw_name_pre = IWL_QUZ_A_JF_B_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 .integrated = true, 530 .soc_latency = 5000, 531 .num_rbds = IWL_NUM_RBDS_NON_HE, 532 }; 533 534 const struct iwl_cfg iwl9560_killer_i_2ac_cfg_quz_a0_jf_b0_soc = { 535 .name = "Killer (R) Wireless-AC 1550i Wireless Network Adapter (9560NGW)", 536 .fw_name_pre = IWL_QUZ_A_JF_B_FW_PRE, 537 IWL_DEVICE_22500, 538 /* 539 * This device doesn't support receiving BlockAck with a large bitmap 540 * so we need to restrict the size of transmitted aggregation to the 541 * HT size; mac80211 would otherwise pick the HE max (256) by default. 542 */ 543 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 544 .integrated = true, 545 .soc_latency = 5000, 546 .num_rbds = IWL_NUM_RBDS_NON_HE, 547 }; 548 549 const struct iwl_cfg killer1550i_2ac_cfg_qu_b0_jf_b0 = { 550 .name = "Killer (R) Wireless-AC 1550i Wireless Network Adapter (9560NGW)", 551 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 552 IWL_DEVICE_22500, 553 .num_rbds = IWL_NUM_RBDS_NON_HE, 554 }; 555 556 const struct iwl_cfg killer1550s_2ac_cfg_qu_b0_jf_b0 = { 557 .name = "Killer (R) Wireless-AC 1550s Wireless Network Adapter (9560NGW)", 558 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 559 IWL_DEVICE_22500, 560 .num_rbds = IWL_NUM_RBDS_NON_HE, 561 }; 562 563 const struct iwl_cfg killer1650s_2ax_cfg_qu_b0_hr_b0 = { 564 .name = "Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW)", 565 .fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE, 566 IWL_DEVICE_22500, 567 /* 568 * This device doesn't support receiving BlockAck with a large bitmap 569 * so we need to restrict the size of transmitted aggregation to the 570 * HT size; mac80211 would otherwise pick the HE max (256) by default. 571 */ 572 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 573 .num_rbds = IWL_NUM_RBDS_22000_HE, 574 }; 575 576 const struct iwl_cfg killer1650i_2ax_cfg_qu_b0_hr_b0 = { 577 .name = "Killer(R) Wi-Fi 6 AX1650s 160MHz Wireless Network Adapter (201D2W)", 578 .fw_name_pre = IWL_22000_QU_B_HR_B_FW_PRE, 579 IWL_DEVICE_22500, 580 /* 581 * This device doesn't support receiving BlockAck with a large bitmap 582 * so we need to restrict the size of transmitted aggregation to the 583 * HT size; mac80211 would otherwise pick the HE max (256) by default. 584 */ 585 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 586 .num_rbds = IWL_NUM_RBDS_22000_HE, 587 }; 588 589 const struct iwl_cfg killer1650s_2ax_cfg_qu_c0_hr_b0 = { 590 .name = "Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW)", 591 .fw_name_pre = IWL_QU_C_HR_B_FW_PRE, 592 IWL_DEVICE_22500, 593 /* 594 * This device doesn't support receiving BlockAck with a large bitmap 595 * so we need to restrict the size of transmitted aggregation to the 596 * HT size; mac80211 would otherwise pick the HE max (256) by default. 597 */ 598 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 599 .num_rbds = IWL_NUM_RBDS_22000_HE, 600 }; 601 602 const struct iwl_cfg killer1650i_2ax_cfg_qu_c0_hr_b0 = { 603 .name = "Killer(R) Wi-Fi 6 AX1650s 160MHz Wireless Network Adapter (201D2W)", 604 .fw_name_pre = IWL_QU_C_HR_B_FW_PRE, 605 IWL_DEVICE_22500, 606 /* 607 * This device doesn't support receiving BlockAck with a large bitmap 608 * so we need to restrict the size of transmitted aggregation to the 609 * HT size; mac80211 would otherwise pick the HE max (256) by default. 610 */ 611 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 612 .num_rbds = IWL_NUM_RBDS_22000_HE, 613 }; 614 615 const struct iwl_cfg iwl22000_2ax_cfg_jf = { 616 .name = "Intel(R) Dual Band Wireless AX 22000", 617 .fw_name_pre = IWL_QU_B_JF_B_FW_PRE, 618 IWL_DEVICE_22500, 619 /* 620 * This device doesn't support receiving BlockAck with a large bitmap 621 * so we need to restrict the size of transmitted aggregation to the 622 * HT size; mac80211 would otherwise pick the HE max (256) by default. 623 */ 624 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 625 .num_rbds = IWL_NUM_RBDS_22000_HE, 626 }; 627 628 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_a0_f0 = { 629 .name = "Intel(R) Dual Band Wireless AX 22000", 630 .fw_name_pre = IWL_22000_HR_A_F0_FW_PRE, 631 IWL_DEVICE_22500, 632 /* 633 * This device doesn't support receiving BlockAck with a large bitmap 634 * so we need to restrict the size of transmitted aggregation to the 635 * HT size; mac80211 would otherwise pick the HE max (256) by default. 636 */ 637 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 638 .num_rbds = IWL_NUM_RBDS_22000_HE, 639 }; 640 641 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_b0 = { 642 .name = "Intel(R) Dual Band Wireless AX 22000", 643 .fw_name_pre = IWL_22000_HR_B_FW_PRE, 644 IWL_DEVICE_22500, 645 /* 646 * This device doesn't support receiving BlockAck with a large bitmap 647 * so we need to restrict the size of transmitted aggregation to the 648 * HT size; mac80211 would otherwise pick the HE max (256) by default. 649 */ 650 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 651 .num_rbds = IWL_NUM_RBDS_22000_HE, 652 }; 653 654 const struct iwl_cfg iwl22000_2ax_cfg_qnj_hr_a0 = { 655 .name = "Intel(R) Dual Band Wireless AX 22000", 656 .fw_name_pre = IWL_22000_HR_A0_FW_PRE, 657 IWL_DEVICE_22500, 658 /* 659 * This device doesn't support receiving BlockAck with a large bitmap 660 * so we need to restrict the size of transmitted aggregation to the 661 * HT size; mac80211 would otherwise pick the HE max (256) by default. 662 */ 663 .max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT, 664 .num_rbds = IWL_NUM_RBDS_22000_HE, 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 .num_rbds = IWL_NUM_RBDS_NON_HE, 672 }; 673 674 const struct iwl_cfg iwlax210_2ax_cfg_so_hr_a0 = { 675 .name = "Intel(R) Wi-Fi 7 AX210 160MHz", 676 .fw_name_pre = IWL_22000_SO_A_HR_B_FW_PRE, 677 IWL_DEVICE_AX210, 678 .num_rbds = IWL_NUM_RBDS_AX210_HE, 679 }; 680 681 const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0 = { 682 .name = "Intel(R) Wi-Fi 7 AX211 160MHz", 683 .fw_name_pre = IWL_22000_SO_A_GF_A_FW_PRE, 684 .uhb_supported = true, 685 IWL_DEVICE_AX210, 686 .num_rbds = IWL_NUM_RBDS_AX210_HE, 687 }; 688 689 const struct iwl_cfg iwlax210_2ax_cfg_ty_gf_a0 = { 690 .name = "Intel(R) Wi-Fi 7 AX210 160MHz", 691 .fw_name_pre = IWL_22000_TY_A_GF_A_FW_PRE, 692 .uhb_supported = true, 693 IWL_DEVICE_AX210, 694 .num_rbds = IWL_NUM_RBDS_AX210_HE, 695 }; 696 697 const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0 = { 698 .name = "Intel(R) Wi-Fi 7 AX411 160MHz", 699 .fw_name_pre = IWL_22000_SO_A_GF4_A_FW_PRE, 700 .uhb_supported = true, 701 IWL_DEVICE_AX210, 702 .num_rbds = IWL_NUM_RBDS_AX210_HE, 703 }; 704 705 const struct iwl_cfg iwlax411_2ax_cfg_sosnj_gf4_a0 = { 706 .name = "Intel(R) Wi-Fi 7 AX411 160MHz", 707 .fw_name_pre = IWL_22000_SOSNJ_A_GF4_A_FW_PRE, 708 .uhb_supported = true, 709 IWL_DEVICE_AX210, 710 .num_rbds = IWL_NUM_RBDS_AX210_HE, 711 }; 712 713 MODULE_FIRMWARE(IWL_22000_HR_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 714 MODULE_FIRMWARE(IWL_22000_JF_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 715 MODULE_FIRMWARE(IWL_22000_HR_A_F0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 716 MODULE_FIRMWARE(IWL_22000_HR_B_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 717 MODULE_FIRMWARE(IWL_22000_HR_A0_QNJ_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 718 MODULE_FIRMWARE(IWL_QU_C_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 719 MODULE_FIRMWARE(IWL_QU_B_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 720 MODULE_FIRMWARE(IWL_QUZ_A_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 721 MODULE_FIRMWARE(IWL_QUZ_A_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 722 MODULE_FIRMWARE(IWL_QNJ_B_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 723 MODULE_FIRMWARE(IWL_CC_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 724 MODULE_FIRMWARE(IWL_22000_SO_A_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 725 MODULE_FIRMWARE(IWL_22000_SO_A_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 726 MODULE_FIRMWARE(IWL_22000_SO_A_GF_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 727 MODULE_FIRMWARE(IWL_22000_TY_A_GF_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); 728