18e99ea8dSJohannes Berg // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 28e99ea8dSJohannes Berg /* 39a0f28d8Sybaruch * Copyright (C) 2005-2014, 2018-2021 Intel Corporation 48e99ea8dSJohannes Berg * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 58e99ea8dSJohannes Berg * Copyright (C) 2016-2017 Intel Deutschland GmbH 68e99ea8dSJohannes Berg */ 7e705c121SKalle Valo #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 8e705c121SKalle Valo 9e705c121SKalle Valo #include <linux/module.h> 10e705c121SKalle Valo #include <linux/pci.h> 11e705c121SKalle Valo #include <linux/acpi.h> 12e705c121SKalle Valo 13813df5ceSLuca Coelho #include "fw/acpi.h" 14813df5ceSLuca Coelho 15e705c121SKalle Valo #include "iwl-trans.h" 16e705c121SKalle Valo #include "iwl-drv.h" 17809805a8SLuca Coelho #include "iwl-prph.h" 18e705c121SKalle Valo #include "internal.h" 19e705c121SKalle Valo 2048a5494dSJohannes Berg #define TRANS_CFG_MARKER BIT(0) 2148a5494dSJohannes Berg #define _IS_A(cfg, _struct) __builtin_types_compatible_p(typeof(cfg), \ 2248a5494dSJohannes Berg struct _struct) 2348a5494dSJohannes Berg extern int _invalid_type; 2448a5494dSJohannes Berg #define _TRANS_CFG_MARKER(cfg) \ 2548a5494dSJohannes Berg (__builtin_choose_expr(_IS_A(cfg, iwl_cfg_trans_params), \ 2648a5494dSJohannes Berg TRANS_CFG_MARKER, \ 2748a5494dSJohannes Berg __builtin_choose_expr(_IS_A(cfg, iwl_cfg), 0, _invalid_type))) 2848a5494dSJohannes Berg #define _ASSIGN_CFG(cfg) (_TRANS_CFG_MARKER(cfg) + (kernel_ulong_t)&(cfg)) 2948a5494dSJohannes Berg 30e705c121SKalle Valo #define IWL_PCI_DEVICE(dev, subdev, cfg) \ 31e705c121SKalle Valo .vendor = PCI_VENDOR_ID_INTEL, .device = (dev), \ 32e705c121SKalle Valo .subvendor = PCI_ANY_ID, .subdevice = (subdev), \ 3348a5494dSJohannes Berg .driver_data = _ASSIGN_CFG(cfg) 34e705c121SKalle Valo 35e705c121SKalle Valo /* Hardware specific file defines the PCI IDs table for that hardware module */ 36e705c121SKalle Valo static const struct pci_device_id iwl_hw_card_ids[] = { 37e705c121SKalle Valo #if IS_ENABLED(CONFIG_IWLDVM) 38e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1201, iwl5100_agn_cfg)}, /* Mini Card */ 39e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1301, iwl5100_agn_cfg)}, /* Half Mini Card */ 40e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1204, iwl5100_agn_cfg)}, /* Mini Card */ 41e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1304, iwl5100_agn_cfg)}, /* Half Mini Card */ 42e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1205, iwl5100_bgn_cfg)}, /* Mini Card */ 43e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1305, iwl5100_bgn_cfg)}, /* Half Mini Card */ 44e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1206, iwl5100_abg_cfg)}, /* Mini Card */ 45e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1306, iwl5100_abg_cfg)}, /* Half Mini Card */ 46e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1221, iwl5100_agn_cfg)}, /* Mini Card */ 47e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1321, iwl5100_agn_cfg)}, /* Half Mini Card */ 48e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1224, iwl5100_agn_cfg)}, /* Mini Card */ 49e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1324, iwl5100_agn_cfg)}, /* Half Mini Card */ 50e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1225, iwl5100_bgn_cfg)}, /* Mini Card */ 51e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1325, iwl5100_bgn_cfg)}, /* Half Mini Card */ 52e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1226, iwl5100_abg_cfg)}, /* Mini Card */ 53e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1326, iwl5100_abg_cfg)}, /* Half Mini Card */ 54e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1211, iwl5100_agn_cfg)}, /* Mini Card */ 55e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1311, iwl5100_agn_cfg)}, /* Half Mini Card */ 56e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1214, iwl5100_agn_cfg)}, /* Mini Card */ 57e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1314, iwl5100_agn_cfg)}, /* Half Mini Card */ 58e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1215, iwl5100_bgn_cfg)}, /* Mini Card */ 59e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1315, iwl5100_bgn_cfg)}, /* Half Mini Card */ 60e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1216, iwl5100_abg_cfg)}, /* Mini Card */ 61e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1316, iwl5100_abg_cfg)}, /* Half Mini Card */ 62e705c121SKalle Valo 63e705c121SKalle Valo /* 5300 Series WiFi */ 64e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1021, iwl5300_agn_cfg)}, /* Mini Card */ 65e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1121, iwl5300_agn_cfg)}, /* Half Mini Card */ 66e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1024, iwl5300_agn_cfg)}, /* Mini Card */ 67e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1124, iwl5300_agn_cfg)}, /* Half Mini Card */ 68e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1001, iwl5300_agn_cfg)}, /* Mini Card */ 69e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1101, iwl5300_agn_cfg)}, /* Half Mini Card */ 70e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1004, iwl5300_agn_cfg)}, /* Mini Card */ 71e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1104, iwl5300_agn_cfg)}, /* Half Mini Card */ 72e705c121SKalle Valo {IWL_PCI_DEVICE(0x4236, 0x1011, iwl5300_agn_cfg)}, /* Mini Card */ 73e705c121SKalle Valo {IWL_PCI_DEVICE(0x4236, 0x1111, iwl5300_agn_cfg)}, /* Half Mini Card */ 74e705c121SKalle Valo {IWL_PCI_DEVICE(0x4236, 0x1014, iwl5300_agn_cfg)}, /* Mini Card */ 75e705c121SKalle Valo {IWL_PCI_DEVICE(0x4236, 0x1114, iwl5300_agn_cfg)}, /* Half Mini Card */ 76e705c121SKalle Valo 77e705c121SKalle Valo /* 5350 Series WiFi/WiMax */ 78e705c121SKalle Valo {IWL_PCI_DEVICE(0x423A, 0x1001, iwl5350_agn_cfg)}, /* Mini Card */ 79e705c121SKalle Valo {IWL_PCI_DEVICE(0x423A, 0x1021, iwl5350_agn_cfg)}, /* Mini Card */ 80e705c121SKalle Valo {IWL_PCI_DEVICE(0x423B, 0x1011, iwl5350_agn_cfg)}, /* Mini Card */ 81e705c121SKalle Valo 82e705c121SKalle Valo /* 5150 Series Wifi/WiMax */ 83e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1201, iwl5150_agn_cfg)}, /* Mini Card */ 84e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1301, iwl5150_agn_cfg)}, /* Half Mini Card */ 85e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1206, iwl5150_abg_cfg)}, /* Mini Card */ 86e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1306, iwl5150_abg_cfg)}, /* Half Mini Card */ 87e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1221, iwl5150_agn_cfg)}, /* Mini Card */ 88e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1321, iwl5150_agn_cfg)}, /* Half Mini Card */ 89e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1326, iwl5150_abg_cfg)}, /* Half Mini Card */ 90e705c121SKalle Valo 91e705c121SKalle Valo {IWL_PCI_DEVICE(0x423D, 0x1211, iwl5150_agn_cfg)}, /* Mini Card */ 92e705c121SKalle Valo {IWL_PCI_DEVICE(0x423D, 0x1311, iwl5150_agn_cfg)}, /* Half Mini Card */ 93e705c121SKalle Valo {IWL_PCI_DEVICE(0x423D, 0x1216, iwl5150_abg_cfg)}, /* Mini Card */ 94e705c121SKalle Valo {IWL_PCI_DEVICE(0x423D, 0x1316, iwl5150_abg_cfg)}, /* Half Mini Card */ 95e705c121SKalle Valo 96e705c121SKalle Valo /* 6x00 Series */ 97e705c121SKalle Valo {IWL_PCI_DEVICE(0x422B, 0x1101, iwl6000_3agn_cfg)}, 98e705c121SKalle Valo {IWL_PCI_DEVICE(0x422B, 0x1108, iwl6000_3agn_cfg)}, 99e705c121SKalle Valo {IWL_PCI_DEVICE(0x422B, 0x1121, iwl6000_3agn_cfg)}, 100e705c121SKalle Valo {IWL_PCI_DEVICE(0x422B, 0x1128, iwl6000_3agn_cfg)}, 101e705c121SKalle Valo {IWL_PCI_DEVICE(0x422C, 0x1301, iwl6000i_2agn_cfg)}, 102e705c121SKalle Valo {IWL_PCI_DEVICE(0x422C, 0x1306, iwl6000i_2abg_cfg)}, 103e705c121SKalle Valo {IWL_PCI_DEVICE(0x422C, 0x1307, iwl6000i_2bg_cfg)}, 104e705c121SKalle Valo {IWL_PCI_DEVICE(0x422C, 0x1321, iwl6000i_2agn_cfg)}, 105e705c121SKalle Valo {IWL_PCI_DEVICE(0x422C, 0x1326, iwl6000i_2abg_cfg)}, 106e705c121SKalle Valo {IWL_PCI_DEVICE(0x4238, 0x1111, iwl6000_3agn_cfg)}, 107e705c121SKalle Valo {IWL_PCI_DEVICE(0x4238, 0x1118, iwl6000_3agn_cfg)}, 108e705c121SKalle Valo {IWL_PCI_DEVICE(0x4239, 0x1311, iwl6000i_2agn_cfg)}, 109e705c121SKalle Valo {IWL_PCI_DEVICE(0x4239, 0x1316, iwl6000i_2abg_cfg)}, 110e705c121SKalle Valo 111e705c121SKalle Valo /* 6x05 Series */ 112e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1301, iwl6005_2agn_cfg)}, 113e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1306, iwl6005_2abg_cfg)}, 114e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1307, iwl6005_2bg_cfg)}, 115e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1308, iwl6005_2agn_cfg)}, 116e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1321, iwl6005_2agn_cfg)}, 117e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1326, iwl6005_2abg_cfg)}, 118e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1328, iwl6005_2agn_cfg)}, 119e705c121SKalle Valo {IWL_PCI_DEVICE(0x0085, 0x1311, iwl6005_2agn_cfg)}, 120e705c121SKalle Valo {IWL_PCI_DEVICE(0x0085, 0x1318, iwl6005_2agn_cfg)}, 121e705c121SKalle Valo {IWL_PCI_DEVICE(0x0085, 0x1316, iwl6005_2abg_cfg)}, 122e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0xC020, iwl6005_2agn_sff_cfg)}, 123e705c121SKalle Valo {IWL_PCI_DEVICE(0x0085, 0xC220, iwl6005_2agn_sff_cfg)}, 124e705c121SKalle Valo {IWL_PCI_DEVICE(0x0085, 0xC228, iwl6005_2agn_sff_cfg)}, 125e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x4820, iwl6005_2agn_d_cfg)}, 126e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1304, iwl6005_2agn_mow1_cfg)},/* low 5GHz active */ 127e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1305, iwl6005_2agn_mow2_cfg)},/* high 5GHz active */ 128e705c121SKalle Valo 129e705c121SKalle Valo /* 6x30 Series */ 130e705c121SKalle Valo {IWL_PCI_DEVICE(0x008A, 0x5305, iwl1030_bgn_cfg)}, 131e705c121SKalle Valo {IWL_PCI_DEVICE(0x008A, 0x5307, iwl1030_bg_cfg)}, 132e705c121SKalle Valo {IWL_PCI_DEVICE(0x008A, 0x5325, iwl1030_bgn_cfg)}, 133e705c121SKalle Valo {IWL_PCI_DEVICE(0x008A, 0x5327, iwl1030_bg_cfg)}, 134e705c121SKalle Valo {IWL_PCI_DEVICE(0x008B, 0x5315, iwl1030_bgn_cfg)}, 135e705c121SKalle Valo {IWL_PCI_DEVICE(0x008B, 0x5317, iwl1030_bg_cfg)}, 136e705c121SKalle Valo {IWL_PCI_DEVICE(0x0090, 0x5211, iwl6030_2agn_cfg)}, 137e705c121SKalle Valo {IWL_PCI_DEVICE(0x0090, 0x5215, iwl6030_2bgn_cfg)}, 138e705c121SKalle Valo {IWL_PCI_DEVICE(0x0090, 0x5216, iwl6030_2abg_cfg)}, 139e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5201, iwl6030_2agn_cfg)}, 140e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5205, iwl6030_2bgn_cfg)}, 141e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5206, iwl6030_2abg_cfg)}, 142e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5207, iwl6030_2bg_cfg)}, 143e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5221, iwl6030_2agn_cfg)}, 144e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5225, iwl6030_2bgn_cfg)}, 145e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5226, iwl6030_2abg_cfg)}, 146e705c121SKalle Valo 147e705c121SKalle Valo /* 6x50 WiFi/WiMax Series */ 148e705c121SKalle Valo {IWL_PCI_DEVICE(0x0087, 0x1301, iwl6050_2agn_cfg)}, 149e705c121SKalle Valo {IWL_PCI_DEVICE(0x0087, 0x1306, iwl6050_2abg_cfg)}, 150e705c121SKalle Valo {IWL_PCI_DEVICE(0x0087, 0x1321, iwl6050_2agn_cfg)}, 151e705c121SKalle Valo {IWL_PCI_DEVICE(0x0087, 0x1326, iwl6050_2abg_cfg)}, 152e705c121SKalle Valo {IWL_PCI_DEVICE(0x0089, 0x1311, iwl6050_2agn_cfg)}, 153e705c121SKalle Valo {IWL_PCI_DEVICE(0x0089, 0x1316, iwl6050_2abg_cfg)}, 154e705c121SKalle Valo 155e705c121SKalle Valo /* 6150 WiFi/WiMax Series */ 156e705c121SKalle Valo {IWL_PCI_DEVICE(0x0885, 0x1305, iwl6150_bgn_cfg)}, 157e705c121SKalle Valo {IWL_PCI_DEVICE(0x0885, 0x1307, iwl6150_bg_cfg)}, 158e705c121SKalle Valo {IWL_PCI_DEVICE(0x0885, 0x1325, iwl6150_bgn_cfg)}, 159e705c121SKalle Valo {IWL_PCI_DEVICE(0x0885, 0x1327, iwl6150_bg_cfg)}, 160e705c121SKalle Valo {IWL_PCI_DEVICE(0x0886, 0x1315, iwl6150_bgn_cfg)}, 161e705c121SKalle Valo {IWL_PCI_DEVICE(0x0886, 0x1317, iwl6150_bg_cfg)}, 162e705c121SKalle Valo 163e705c121SKalle Valo /* 1000 Series WiFi */ 164e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1205, iwl1000_bgn_cfg)}, 165e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1305, iwl1000_bgn_cfg)}, 166e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1225, iwl1000_bgn_cfg)}, 167e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1325, iwl1000_bgn_cfg)}, 168e705c121SKalle Valo {IWL_PCI_DEVICE(0x0084, 0x1215, iwl1000_bgn_cfg)}, 169e705c121SKalle Valo {IWL_PCI_DEVICE(0x0084, 0x1315, iwl1000_bgn_cfg)}, 170e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1206, iwl1000_bg_cfg)}, 171e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1306, iwl1000_bg_cfg)}, 172e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1226, iwl1000_bg_cfg)}, 173e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1326, iwl1000_bg_cfg)}, 174e705c121SKalle Valo {IWL_PCI_DEVICE(0x0084, 0x1216, iwl1000_bg_cfg)}, 175e705c121SKalle Valo {IWL_PCI_DEVICE(0x0084, 0x1316, iwl1000_bg_cfg)}, 176e705c121SKalle Valo 177e705c121SKalle Valo /* 100 Series WiFi */ 178e705c121SKalle Valo {IWL_PCI_DEVICE(0x08AE, 0x1005, iwl100_bgn_cfg)}, 179e705c121SKalle Valo {IWL_PCI_DEVICE(0x08AE, 0x1007, iwl100_bg_cfg)}, 180e705c121SKalle Valo {IWL_PCI_DEVICE(0x08AF, 0x1015, iwl100_bgn_cfg)}, 181e705c121SKalle Valo {IWL_PCI_DEVICE(0x08AF, 0x1017, iwl100_bg_cfg)}, 182e705c121SKalle Valo {IWL_PCI_DEVICE(0x08AE, 0x1025, iwl100_bgn_cfg)}, 183e705c121SKalle Valo {IWL_PCI_DEVICE(0x08AE, 0x1027, iwl100_bg_cfg)}, 184e705c121SKalle Valo 185e705c121SKalle Valo /* 130 Series WiFi */ 186e705c121SKalle Valo {IWL_PCI_DEVICE(0x0896, 0x5005, iwl130_bgn_cfg)}, 187e705c121SKalle Valo {IWL_PCI_DEVICE(0x0896, 0x5007, iwl130_bg_cfg)}, 188e705c121SKalle Valo {IWL_PCI_DEVICE(0x0897, 0x5015, iwl130_bgn_cfg)}, 189e705c121SKalle Valo {IWL_PCI_DEVICE(0x0897, 0x5017, iwl130_bg_cfg)}, 190e705c121SKalle Valo {IWL_PCI_DEVICE(0x0896, 0x5025, iwl130_bgn_cfg)}, 191e705c121SKalle Valo {IWL_PCI_DEVICE(0x0896, 0x5027, iwl130_bg_cfg)}, 192e705c121SKalle Valo 193e705c121SKalle Valo /* 2x00 Series */ 194e705c121SKalle Valo {IWL_PCI_DEVICE(0x0890, 0x4022, iwl2000_2bgn_cfg)}, 195e705c121SKalle Valo {IWL_PCI_DEVICE(0x0891, 0x4222, iwl2000_2bgn_cfg)}, 196e705c121SKalle Valo {IWL_PCI_DEVICE(0x0890, 0x4422, iwl2000_2bgn_cfg)}, 197e705c121SKalle Valo {IWL_PCI_DEVICE(0x0890, 0x4822, iwl2000_2bgn_d_cfg)}, 198e705c121SKalle Valo 199e705c121SKalle Valo /* 2x30 Series */ 200e705c121SKalle Valo {IWL_PCI_DEVICE(0x0887, 0x4062, iwl2030_2bgn_cfg)}, 201e705c121SKalle Valo {IWL_PCI_DEVICE(0x0888, 0x4262, iwl2030_2bgn_cfg)}, 202e705c121SKalle Valo {IWL_PCI_DEVICE(0x0887, 0x4462, iwl2030_2bgn_cfg)}, 203e705c121SKalle Valo 204e705c121SKalle Valo /* 6x35 Series */ 205e705c121SKalle Valo {IWL_PCI_DEVICE(0x088E, 0x4060, iwl6035_2agn_cfg)}, 206e705c121SKalle Valo {IWL_PCI_DEVICE(0x088E, 0x406A, iwl6035_2agn_sff_cfg)}, 207e705c121SKalle Valo {IWL_PCI_DEVICE(0x088F, 0x4260, iwl6035_2agn_cfg)}, 208e705c121SKalle Valo {IWL_PCI_DEVICE(0x088F, 0x426A, iwl6035_2agn_sff_cfg)}, 209e705c121SKalle Valo {IWL_PCI_DEVICE(0x088E, 0x4460, iwl6035_2agn_cfg)}, 210e705c121SKalle Valo {IWL_PCI_DEVICE(0x088E, 0x446A, iwl6035_2agn_sff_cfg)}, 211e705c121SKalle Valo {IWL_PCI_DEVICE(0x088E, 0x4860, iwl6035_2agn_cfg)}, 212e705c121SKalle Valo {IWL_PCI_DEVICE(0x088F, 0x5260, iwl6035_2agn_cfg)}, 213e705c121SKalle Valo 214e705c121SKalle Valo /* 105 Series */ 215e705c121SKalle Valo {IWL_PCI_DEVICE(0x0894, 0x0022, iwl105_bgn_cfg)}, 216e705c121SKalle Valo {IWL_PCI_DEVICE(0x0895, 0x0222, iwl105_bgn_cfg)}, 217e705c121SKalle Valo {IWL_PCI_DEVICE(0x0894, 0x0422, iwl105_bgn_cfg)}, 218e705c121SKalle Valo {IWL_PCI_DEVICE(0x0894, 0x0822, iwl105_bgn_d_cfg)}, 219e705c121SKalle Valo 220e705c121SKalle Valo /* 135 Series */ 221e705c121SKalle Valo {IWL_PCI_DEVICE(0x0892, 0x0062, iwl135_bgn_cfg)}, 222e705c121SKalle Valo {IWL_PCI_DEVICE(0x0893, 0x0262, iwl135_bgn_cfg)}, 223e705c121SKalle Valo {IWL_PCI_DEVICE(0x0892, 0x0462, iwl135_bgn_cfg)}, 224e705c121SKalle Valo #endif /* CONFIG_IWLDVM */ 225e705c121SKalle Valo 226e705c121SKalle Valo #if IS_ENABLED(CONFIG_IWLMVM) 227e705c121SKalle Valo /* 7260 Series */ 228e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4070, iwl7260_2ac_cfg)}, 229e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4072, iwl7260_2ac_cfg)}, 230e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4170, iwl7260_2ac_cfg)}, 231e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4C60, iwl7260_2ac_cfg)}, 232e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4C70, iwl7260_2ac_cfg)}, 233e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4060, iwl7260_2n_cfg)}, 234e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x406A, iwl7260_2n_cfg)}, 235e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4160, iwl7260_2n_cfg)}, 236e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4062, iwl7260_n_cfg)}, 237e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4162, iwl7260_n_cfg)}, 238e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4270, iwl7260_2ac_cfg)}, 239e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4272, iwl7260_2ac_cfg)}, 240e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4260, iwl7260_2n_cfg)}, 241e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x426A, iwl7260_2n_cfg)}, 242e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4262, iwl7260_n_cfg)}, 243e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4470, iwl7260_2ac_cfg)}, 244e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4472, iwl7260_2ac_cfg)}, 245e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4460, iwl7260_2n_cfg)}, 246e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x446A, iwl7260_2n_cfg)}, 247e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4462, iwl7260_n_cfg)}, 248e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4870, iwl7260_2ac_cfg)}, 249e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x486E, iwl7260_2ac_cfg)}, 250e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4A70, iwl7260_2ac_cfg_high_temp)}, 251e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4A6E, iwl7260_2ac_cfg_high_temp)}, 252e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4A6C, iwl7260_2ac_cfg_high_temp)}, 253e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4570, iwl7260_2ac_cfg)}, 254e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4560, iwl7260_2n_cfg)}, 255e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4370, iwl7260_2ac_cfg)}, 256e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4360, iwl7260_2n_cfg)}, 257e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x5070, iwl7260_2ac_cfg)}, 258e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x5072, iwl7260_2ac_cfg)}, 259e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x5170, iwl7260_2ac_cfg)}, 260e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x5770, iwl7260_2ac_cfg)}, 261e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4020, iwl7260_2n_cfg)}, 262e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x402A, iwl7260_2n_cfg)}, 263e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4220, iwl7260_2n_cfg)}, 264e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4420, iwl7260_2n_cfg)}, 265e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC070, iwl7260_2ac_cfg)}, 266e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC072, iwl7260_2ac_cfg)}, 267e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC170, iwl7260_2ac_cfg)}, 268e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC060, iwl7260_2n_cfg)}, 269e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC06A, iwl7260_2n_cfg)}, 270e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC160, iwl7260_2n_cfg)}, 271e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC062, iwl7260_n_cfg)}, 272e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC162, iwl7260_n_cfg)}, 273e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC770, iwl7260_2ac_cfg)}, 274e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC760, iwl7260_2n_cfg)}, 275e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC270, iwl7260_2ac_cfg)}, 276e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xCC70, iwl7260_2ac_cfg)}, 277e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xCC60, iwl7260_2ac_cfg)}, 278e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC272, iwl7260_2ac_cfg)}, 279e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC260, iwl7260_2n_cfg)}, 280e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC26A, iwl7260_n_cfg)}, 281e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC262, iwl7260_n_cfg)}, 282e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC470, iwl7260_2ac_cfg)}, 283e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC472, iwl7260_2ac_cfg)}, 284e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC460, iwl7260_2n_cfg)}, 285e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC462, iwl7260_n_cfg)}, 286e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC570, iwl7260_2ac_cfg)}, 287e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC560, iwl7260_2n_cfg)}, 288e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC370, iwl7260_2ac_cfg)}, 289e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC360, iwl7260_2n_cfg)}, 290e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC020, iwl7260_2n_cfg)}, 291e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC02A, iwl7260_2n_cfg)}, 292e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC220, iwl7260_2n_cfg)}, 293e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC420, iwl7260_2n_cfg)}, 294e705c121SKalle Valo 295e705c121SKalle Valo /* 3160 Series */ 296e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0070, iwl3160_2ac_cfg)}, 297e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0072, iwl3160_2ac_cfg)}, 298e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0170, iwl3160_2ac_cfg)}, 299e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0172, iwl3160_2ac_cfg)}, 300e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0060, iwl3160_2n_cfg)}, 301e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0062, iwl3160_n_cfg)}, 302e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B4, 0x0270, iwl3160_2ac_cfg)}, 303e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B4, 0x0272, iwl3160_2ac_cfg)}, 304e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0470, iwl3160_2ac_cfg)}, 305e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0472, iwl3160_2ac_cfg)}, 306e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B4, 0x0370, iwl3160_2ac_cfg)}, 307e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8070, iwl3160_2ac_cfg)}, 308e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8072, iwl3160_2ac_cfg)}, 309e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8170, iwl3160_2ac_cfg)}, 310e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8172, iwl3160_2ac_cfg)}, 311e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8060, iwl3160_2n_cfg)}, 312e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8062, iwl3160_n_cfg)}, 313e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B4, 0x8270, iwl3160_2ac_cfg)}, 314e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B4, 0x8370, iwl3160_2ac_cfg)}, 315e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B4, 0x8272, iwl3160_2ac_cfg)}, 316e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8470, iwl3160_2ac_cfg)}, 317e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8570, iwl3160_2ac_cfg)}, 318e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x1070, iwl3160_2ac_cfg)}, 319e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x1170, iwl3160_2ac_cfg)}, 320e705c121SKalle Valo 321e705c121SKalle Valo /* 3165 Series */ 322e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x4010, iwl3165_2ac_cfg)}, 323e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x4012, iwl3165_2ac_cfg)}, 324e705c121SKalle Valo {IWL_PCI_DEVICE(0x3166, 0x4212, iwl3165_2ac_cfg)}, 325e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x4410, iwl3165_2ac_cfg)}, 326e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x4510, iwl3165_2ac_cfg)}, 327e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x4110, iwl3165_2ac_cfg)}, 328e705c121SKalle Valo {IWL_PCI_DEVICE(0x3166, 0x4310, iwl3165_2ac_cfg)}, 329e705c121SKalle Valo {IWL_PCI_DEVICE(0x3166, 0x4210, iwl3165_2ac_cfg)}, 330e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x8010, iwl3165_2ac_cfg)}, 331e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x8110, iwl3165_2ac_cfg)}, 332e705c121SKalle Valo 333c4836b05SOren Givon /* 3168 Series */ 3347b08c67fSOren Givon {IWL_PCI_DEVICE(0x24FB, 0x2010, iwl3168_2ac_cfg)}, 335c4836b05SOren Givon {IWL_PCI_DEVICE(0x24FB, 0x2110, iwl3168_2ac_cfg)}, 3367b08c67fSOren Givon {IWL_PCI_DEVICE(0x24FB, 0x2050, iwl3168_2ac_cfg)}, 3377b08c67fSOren Givon {IWL_PCI_DEVICE(0x24FB, 0x2150, iwl3168_2ac_cfg)}, 338c4836b05SOren Givon {IWL_PCI_DEVICE(0x24FB, 0x0000, iwl3168_2ac_cfg)}, 339c4836b05SOren Givon 340e705c121SKalle Valo /* 7265 Series */ 341e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5010, iwl7265_2ac_cfg)}, 342e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5110, iwl7265_2ac_cfg)}, 343e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5100, iwl7265_2ac_cfg)}, 344e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5310, iwl7265_2ac_cfg)}, 345e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5302, iwl7265_n_cfg)}, 346e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5210, iwl7265_2ac_cfg)}, 347006bda75SOren Givon {IWL_PCI_DEVICE(0x095A, 0x5C10, iwl7265_2ac_cfg)}, 348e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5012, iwl7265_2ac_cfg)}, 349e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5412, iwl7265_2ac_cfg)}, 350e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5410, iwl7265_2ac_cfg)}, 351e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5510, iwl7265_2ac_cfg)}, 352e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5400, iwl7265_2ac_cfg)}, 353e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x1010, iwl7265_2ac_cfg)}, 354e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5000, iwl7265_2n_cfg)}, 355e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x500A, iwl7265_2n_cfg)}, 356e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5200, iwl7265_2n_cfg)}, 357e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5002, iwl7265_n_cfg)}, 358e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5102, iwl7265_n_cfg)}, 359e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5202, iwl7265_n_cfg)}, 360e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9010, iwl7265_2ac_cfg)}, 361e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9012, iwl7265_2ac_cfg)}, 362e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x900A, iwl7265_2ac_cfg)}, 363e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9110, iwl7265_2ac_cfg)}, 364e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9112, iwl7265_2ac_cfg)}, 365006bda75SOren Givon {IWL_PCI_DEVICE(0x095B, 0x9210, iwl7265_2ac_cfg)}, 366e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x9200, iwl7265_2ac_cfg)}, 367e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9510, iwl7265_2ac_cfg)}, 368006bda75SOren Givon {IWL_PCI_DEVICE(0x095B, 0x9310, iwl7265_2ac_cfg)}, 369e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9410, iwl7265_2ac_cfg)}, 370e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5020, iwl7265_2n_cfg)}, 371e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x502A, iwl7265_2n_cfg)}, 372e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5420, iwl7265_2n_cfg)}, 373e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5090, iwl7265_2ac_cfg)}, 374e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5190, iwl7265_2ac_cfg)}, 375e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5590, iwl7265_2ac_cfg)}, 376e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5290, iwl7265_2ac_cfg)}, 377e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5490, iwl7265_2ac_cfg)}, 378e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5F10, iwl7265_2ac_cfg)}, 379e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5212, iwl7265_2ac_cfg)}, 380e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x520A, iwl7265_2ac_cfg)}, 381e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9000, iwl7265_2ac_cfg)}, 382e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9400, iwl7265_2ac_cfg)}, 3833f7a5e13SLuca Coelho {IWL_PCI_DEVICE(0x095A, 0x9E10, iwl7265_2ac_cfg)}, 384e705c121SKalle Valo 385e705c121SKalle Valo /* 8000 Series */ 386e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0010, iwl8260_2ac_cfg)}, 387e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x1010, iwl8260_2ac_cfg)}, 3884b79deecSOren Givon {IWL_PCI_DEVICE(0x24F3, 0x10B0, iwl8260_2ac_cfg)}, 3894615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x0130, iwl8260_2ac_cfg)}, 3904615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x1130, iwl8260_2ac_cfg)}, 3914615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x0132, iwl8260_2ac_cfg)}, 3924615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x1132, iwl8260_2ac_cfg)}, 393e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0110, iwl8260_2ac_cfg)}, 3944615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x01F0, iwl8260_2ac_cfg)}, 3954615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x0012, iwl8260_2ac_cfg)}, 3964615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x1012, iwl8260_2ac_cfg)}, 397e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x1110, iwl8260_2ac_cfg)}, 398e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0050, iwl8260_2ac_cfg)}, 399e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0250, iwl8260_2ac_cfg)}, 400e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x1050, iwl8260_2ac_cfg)}, 401e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0150, iwl8260_2ac_cfg)}, 4024615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x1150, iwl8260_2ac_cfg)}, 403e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F4, 0x0030, iwl8260_2ac_cfg)}, 404e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F4, 0x1030, iwl8260_2ac_cfg)}, 405e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0xC010, iwl8260_2ac_cfg)}, 406e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0xC110, iwl8260_2ac_cfg)}, 407e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0xD010, iwl8260_2ac_cfg)}, 408e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0xC050, iwl8260_2ac_cfg)}, 409e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0xD050, iwl8260_2ac_cfg)}, 4104b79deecSOren Givon {IWL_PCI_DEVICE(0x24F3, 0xD0B0, iwl8260_2ac_cfg)}, 4114b79deecSOren Givon {IWL_PCI_DEVICE(0x24F3, 0xB0B0, iwl8260_2ac_cfg)}, 412e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x8010, iwl8260_2ac_cfg)}, 4134615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x8110, iwl8260_2ac_cfg)}, 414e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x9010, iwl8260_2ac_cfg)}, 4154615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x9110, iwl8260_2ac_cfg)}, 416e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F4, 0x8030, iwl8260_2ac_cfg)}, 417e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F4, 0x9030, iwl8260_2ac_cfg)}, 418d669fc2dSIhab Zhaika {IWL_PCI_DEVICE(0x24F4, 0xC030, iwl8260_2ac_cfg)}, 419d669fc2dSIhab Zhaika {IWL_PCI_DEVICE(0x24F4, 0xD030, iwl8260_2ac_cfg)}, 4204615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x8130, iwl8260_2ac_cfg)}, 4214615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x9130, iwl8260_2ac_cfg)}, 4224615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x8132, iwl8260_2ac_cfg)}, 4234615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x9132, iwl8260_2ac_cfg)}, 424e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x8050, iwl8260_2ac_cfg)}, 4254615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x8150, iwl8260_2ac_cfg)}, 426e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x9050, iwl8260_2ac_cfg)}, 4274615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x9150, iwl8260_2ac_cfg)}, 428e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0004, iwl8260_2n_cfg)}, 4294615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x0044, iwl8260_2n_cfg)}, 430e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F5, 0x0010, iwl4165_2ac_cfg)}, 431e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F6, 0x0030, iwl4165_2ac_cfg)}, 432e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0810, iwl8260_2ac_cfg)}, 433e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0910, iwl8260_2ac_cfg)}, 434e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0850, iwl8260_2ac_cfg)}, 435e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0950, iwl8260_2ac_cfg)}, 4364615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x0930, iwl8260_2ac_cfg)}, 4378d0e4f8fSOren Givon {IWL_PCI_DEVICE(0x24F3, 0x0000, iwl8265_2ac_cfg)}, 438d669fc2dSIhab Zhaika {IWL_PCI_DEVICE(0x24F3, 0x4010, iwl8260_2ac_cfg)}, 439abf10f86SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0010, iwl8265_2ac_cfg)}, 440d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0110, iwl8265_2ac_cfg)}, 441d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x1110, iwl8265_2ac_cfg)}, 442f24bbae5SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x1130, iwl8265_2ac_cfg)}, 443f24bbae5SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0130, iwl8265_2ac_cfg)}, 444d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x1010, iwl8265_2ac_cfg)}, 4458b6607ccSOren Givon {IWL_PCI_DEVICE(0x24FD, 0x10D0, iwl8265_2ac_cfg)}, 446d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0050, iwl8265_2ac_cfg)}, 447d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0150, iwl8265_2ac_cfg)}, 448d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x9010, iwl8265_2ac_cfg)}, 449d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x8110, iwl8265_2ac_cfg)}, 450d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x8050, iwl8265_2ac_cfg)}, 4518d0e4f8fSOren Givon {IWL_PCI_DEVICE(0x24FD, 0x8010, iwl8265_2ac_cfg)}, 4529baa0398SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0810, iwl8265_2ac_cfg)}, 453d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x9110, iwl8265_2ac_cfg)}, 454d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x8130, iwl8265_2ac_cfg)}, 455f24bbae5SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0910, iwl8265_2ac_cfg)}, 456f24bbae5SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0930, iwl8265_2ac_cfg)}, 457f24bbae5SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0950, iwl8265_2ac_cfg)}, 458f24bbae5SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0850, iwl8265_2ac_cfg)}, 459f2758893STzipi Peres {IWL_PCI_DEVICE(0x24FD, 0x1014, iwl8265_2ac_cfg)}, 460f2758893STzipi Peres {IWL_PCI_DEVICE(0x24FD, 0x3E02, iwl8275_2ac_cfg)}, 461f2758893STzipi Peres {IWL_PCI_DEVICE(0x24FD, 0x3E01, iwl8275_2ac_cfg)}, 462f2758893STzipi Peres {IWL_PCI_DEVICE(0x24FD, 0x1012, iwl8275_2ac_cfg)}, 463a3e939dfSOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0012, iwl8275_2ac_cfg)}, 4647cddbef4SIhab Zhaika {IWL_PCI_DEVICE(0x24FD, 0x0014, iwl8265_2ac_cfg)}, 4657cddbef4SIhab Zhaika {IWL_PCI_DEVICE(0x24FD, 0x9074, iwl8265_2ac_cfg)}, 46689374fe6SDreyfuss, Haim 46789374fe6SDreyfuss, Haim /* 9000 Series */ 46832ed101aSLuca Coelho {IWL_PCI_DEVICE(0x2526, PCI_ANY_ID, iwl9000_trans_cfg)}, 469a48d400cSLuca Coelho {IWL_PCI_DEVICE(0x271B, PCI_ANY_ID, iwl9000_trans_cfg)}, 470a48d400cSLuca Coelho {IWL_PCI_DEVICE(0x271C, PCI_ANY_ID, iwl9000_trans_cfg)}, 47124436191SLuca Coelho {IWL_PCI_DEVICE(0x30DC, PCI_ANY_ID, iwl9560_long_latency_trans_cfg)}, 47232ed101aSLuca Coelho {IWL_PCI_DEVICE(0x31DC, PCI_ANY_ID, iwl9560_shared_clk_trans_cfg)}, 47332ed101aSLuca Coelho {IWL_PCI_DEVICE(0x9DF0, PCI_ANY_ID, iwl9560_trans_cfg)}, 47432ed101aSLuca Coelho {IWL_PCI_DEVICE(0xA370, PCI_ANY_ID, iwl9560_trans_cfg)}, 475ab27926dSLuca Coelho 47632ed101aSLuca Coelho /* Qu devices */ 47732ed101aSLuca Coelho {IWL_PCI_DEVICE(0x02F0, PCI_ANY_ID, iwl_qu_trans_cfg)}, 47832ed101aSLuca Coelho {IWL_PCI_DEVICE(0x06F0, PCI_ANY_ID, iwl_qu_trans_cfg)}, 4799c9613f0SLuca Coelho 4809c9613f0SLuca Coelho {IWL_PCI_DEVICE(0x34F0, PCI_ANY_ID, iwl_qu_medium_latency_trans_cfg)}, 4819c9613f0SLuca Coelho {IWL_PCI_DEVICE(0x3DF0, PCI_ANY_ID, iwl_qu_medium_latency_trans_cfg)}, 4829c9613f0SLuca Coelho {IWL_PCI_DEVICE(0x4DF0, PCI_ANY_ID, iwl_qu_medium_latency_trans_cfg)}, 483a72abfcaSLuca Coelho 484a72abfcaSLuca Coelho {IWL_PCI_DEVICE(0x43F0, PCI_ANY_ID, iwl_qu_long_latency_trans_cfg)}, 485a72abfcaSLuca Coelho {IWL_PCI_DEVICE(0xA0F0, PCI_ANY_ID, iwl_qu_long_latency_trans_cfg)}, 486aa0cc7ddSLuca Coelho 487612509d6SLuca Coelho {IWL_PCI_DEVICE(0x2720, PCI_ANY_ID, iwl_qnj_trans_cfg)}, 488e34d975eSHaim Dreyfuss 4895e003982SLuca Coelho {IWL_PCI_DEVICE(0x2723, PCI_ANY_ID, iwl_ax200_trans_cfg)}, 4905e003982SLuca Coelho 4916f60fb03SLuca Coelho /* So devices */ 4926f60fb03SLuca Coelho {IWL_PCI_DEVICE(0x2725, PCI_ANY_ID, iwl_so_trans_cfg)}, 4936f60fb03SLuca Coelho {IWL_PCI_DEVICE(0x2726, PCI_ANY_ID, iwl_snj_trans_cfg)}, 4946f60fb03SLuca Coelho {IWL_PCI_DEVICE(0x7A70, PCI_ANY_ID, iwl_so_long_latency_trans_cfg)}, 4956f60fb03SLuca Coelho {IWL_PCI_DEVICE(0x7AF0, PCI_ANY_ID, iwl_so_trans_cfg)}, 4966f60fb03SLuca Coelho {IWL_PCI_DEVICE(0x51F0, PCI_ANY_ID, iwl_so_long_latency_trans_cfg)}, 4976f60fb03SLuca Coelho {IWL_PCI_DEVICE(0x54F0, PCI_ANY_ID, iwl_so_long_latency_trans_cfg)}, 498ff911dcaSShaul Triebitz 499bc9296f4SIhab Zhaika /* Ma devices */ 500bc9296f4SIhab Zhaika {IWL_PCI_DEVICE(0x2729, PCI_ANY_ID, iwl_ma_trans_cfg)}, 5011c094e5eSMatti Gottlieb {IWL_PCI_DEVICE(0x7E40, PCI_ANY_ID, iwl_ma_trans_cfg)}, 502bc9296f4SIhab Zhaika 5032be05dfdSMatti Gottlieb /* Bz devices */ 5042be05dfdSMatti Gottlieb {IWL_PCI_DEVICE(0x2727, PCI_ANY_ID, iwl_bz_trans_cfg)}, 505e705c121SKalle Valo #endif /* CONFIG_IWLMVM */ 506e705c121SKalle Valo 507e705c121SKalle Valo {0} 508e705c121SKalle Valo }; 509e705c121SKalle Valo MODULE_DEVICE_TABLE(pci, iwl_hw_card_ids); 510e705c121SKalle Valo 511be2f6886SLuca Coelho #define _IWL_DEV_INFO(_device, _subdevice, _mac_type, _mac_step, _rf_type, \ 512b964bfd0SMatti Gottlieb _rf_id, _no_160, _cores, _cdb, _cfg, _name) \ 5130b295a1eSLuca Coelho { .device = (_device), .subdevice = (_subdevice), .cfg = &(_cfg), \ 514d6f2134aSLuca Coelho .name = _name, .mac_type = _mac_type, .rf_type = _rf_type, \ 515be2f6886SLuca Coelho .no_160 = _no_160, .cores = _cores, .rf_id = _rf_id, \ 516b964bfd0SMatti Gottlieb .mac_step = _mac_step, .cdb = _cdb } 517d6f2134aSLuca Coelho 518d6f2134aSLuca Coelho #define IWL_DEV_INFO(_device, _subdevice, _cfg, _name) \ 519d6f2134aSLuca Coelho _IWL_DEV_INFO(_device, _subdevice, IWL_CFG_ANY, IWL_CFG_ANY, \ 520be2f6886SLuca Coelho IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_ANY, \ 521b964bfd0SMatti Gottlieb IWL_CFG_NO_CDB, _cfg, _name) 5222a612a60SLuca Coelho 5232a612a60SLuca Coelho static const struct iwl_dev_info iwl_dev_info_table[] = { 5242a612a60SLuca Coelho #if IS_ENABLED(CONFIG_IWLMVM) 5255e003982SLuca Coelho /* 9000 */ 52667eb556dSLuca Coelho IWL_DEV_INFO(0x2526, 0x1550, iwl9260_2ac_cfg, iwl9260_killer_1550_name), 52767eb556dSLuca Coelho IWL_DEV_INFO(0x2526, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_name), 52867eb556dSLuca Coelho IWL_DEV_INFO(0x2526, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name), 529c8685937SLuca Coelho IWL_DEV_INFO(0x30DC, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_name), 530c8685937SLuca Coelho IWL_DEV_INFO(0x30DC, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name), 5317897dfa2SLuca Coelho IWL_DEV_INFO(0x31DC, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_name), 5327897dfa2SLuca Coelho IWL_DEV_INFO(0x31DC, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name), 533b5ba46b8SAlessio Bonfiglio IWL_DEV_INFO(0xA370, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_name), 534b5ba46b8SAlessio Bonfiglio IWL_DEV_INFO(0xA370, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name), 535c863797bSybaruch IWL_DEV_INFO(0x51F0, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_160_name), 536c863797bSybaruch IWL_DEV_INFO(0x51F0, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_160_name), 537d6f2134aSLuca Coelho 53855cf5fb9SLuca Coelho IWL_DEV_INFO(0x271C, 0x0214, iwl9260_2ac_cfg, iwl9260_1_name), 53955cf5fb9SLuca Coelho 54032ed101aSLuca Coelho /* AX200 */ 54132ed101aSLuca Coelho IWL_DEV_INFO(0x2723, 0x1653, iwl_ax200_cfg_cc, iwl_ax200_killer_1650w_name), 54232ed101aSLuca Coelho IWL_DEV_INFO(0x2723, 0x1654, iwl_ax200_cfg_cc, iwl_ax200_killer_1650x_name), 54332ed101aSLuca Coelho IWL_DEV_INFO(0x2723, IWL_CFG_ANY, iwl_ax200_cfg_cc, iwl_ax200_name), 54432ed101aSLuca Coelho 54532ed101aSLuca Coelho /* Qu with Hr */ 54632ed101aSLuca Coelho IWL_DEV_INFO(0x43F0, 0x0070, iwl_ax201_cfg_qu_hr, NULL), 54732ed101aSLuca Coelho IWL_DEV_INFO(0x43F0, 0x0074, iwl_ax201_cfg_qu_hr, NULL), 54832ed101aSLuca Coelho IWL_DEV_INFO(0x43F0, 0x0078, iwl_ax201_cfg_qu_hr, NULL), 54932ed101aSLuca Coelho IWL_DEV_INFO(0x43F0, 0x007C, iwl_ax201_cfg_qu_hr, NULL), 55032ed101aSLuca Coelho IWL_DEV_INFO(0x43F0, 0x2074, iwl_ax201_cfg_qu_hr, NULL), 55132ed101aSLuca Coelho IWL_DEV_INFO(0x43F0, 0x4070, iwl_ax201_cfg_qu_hr, NULL), 55232ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x0070, iwl_ax201_cfg_qu_hr, NULL), 55332ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x0074, iwl_ax201_cfg_qu_hr, NULL), 55432ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x0078, iwl_ax201_cfg_qu_hr, NULL), 55532ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x007C, iwl_ax201_cfg_qu_hr, NULL), 55632ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x0A10, iwl_ax201_cfg_qu_hr, NULL), 55732ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL), 55832ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, NULL), 55932ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x2074, iwl_ax201_cfg_qu_hr, NULL), 56032ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x4070, iwl_ax201_cfg_qu_hr, NULL), 56132ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x0070, iwl_ax201_cfg_quz_hr, NULL), 56232ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x0074, iwl_ax201_cfg_quz_hr, NULL), 56343dc85b5SGolan Ben Ami IWL_DEV_INFO(0x02F0, 0x6074, iwl_ax201_cfg_quz_hr, NULL), 56432ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x0078, iwl_ax201_cfg_quz_hr, NULL), 56532ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x007C, iwl_ax201_cfg_quz_hr, NULL), 56632ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x0310, iwl_ax201_cfg_quz_hr, NULL), 56732ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x1651, iwl_ax1650s_cfg_quz_hr, NULL), 56832ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x1652, iwl_ax1650i_cfg_quz_hr, NULL), 56932ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x2074, iwl_ax201_cfg_quz_hr, NULL), 57032ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x4070, iwl_ax201_cfg_quz_hr, NULL), 57132ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x0070, iwl_ax201_cfg_quz_hr, NULL), 57232ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x0074, iwl_ax201_cfg_quz_hr, NULL), 57332ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x0078, iwl_ax201_cfg_quz_hr, NULL), 57432ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x007C, iwl_ax201_cfg_quz_hr, NULL), 57532ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x0310, iwl_ax201_cfg_quz_hr, NULL), 57632ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x1651, iwl_ax1650s_cfg_quz_hr, NULL), 57732ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x1652, iwl_ax1650i_cfg_quz_hr, NULL), 57832ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x2074, iwl_ax201_cfg_quz_hr, NULL), 57932ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x4070, iwl_ax201_cfg_quz_hr, NULL), 58032ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x0070, iwl_ax201_cfg_qu_hr, NULL), 58132ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x0074, iwl_ax201_cfg_qu_hr, NULL), 58232ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x0078, iwl_ax201_cfg_qu_hr, NULL), 58332ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x007C, iwl_ax201_cfg_qu_hr, NULL), 58432ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x0310, iwl_ax201_cfg_qu_hr, NULL), 58532ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL), 58632ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, NULL), 58732ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x2074, iwl_ax201_cfg_qu_hr, NULL), 58832ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x4070, iwl_ax201_cfg_qu_hr, NULL), 58932ed101aSLuca Coelho 59032ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x0070, iwl_ax201_cfg_qu_hr, NULL), 59132ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x0074, iwl_ax201_cfg_qu_hr, NULL), 59232ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x0078, iwl_ax201_cfg_qu_hr, NULL), 59332ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x007C, iwl_ax201_cfg_qu_hr, NULL), 59432ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x0310, iwl_ax201_cfg_qu_hr, NULL), 59532ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL), 59632ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, NULL), 59732ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x2074, iwl_ax201_cfg_qu_hr, NULL), 59832ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x4070, iwl_ax201_cfg_qu_hr, NULL), 59932ed101aSLuca Coelho 6004ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x0070, iwl_ax201_cfg_qu_hr, NULL), 6014ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x0074, iwl_ax201_cfg_qu_hr, NULL), 6024ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x0078, iwl_ax201_cfg_qu_hr, NULL), 6034ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x007C, iwl_ax201_cfg_qu_hr, NULL), 6044ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x0310, iwl_ax201_cfg_qu_hr, NULL), 6054ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL), 6064ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, NULL), 6074ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x2074, iwl_ax201_cfg_qu_hr, NULL), 6084ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x4070, iwl_ax201_cfg_qu_hr, NULL), 60997195d3cSMatt Chen IWL_DEV_INFO(0x4DF0, 0x6074, iwl_ax201_cfg_qu_hr, NULL), 610612509d6SLuca Coelho 6116f60fb03SLuca Coelho /* So with HR */ 6126f60fb03SLuca Coelho IWL_DEV_INFO(0x2725, 0x0090, iwlax211_2ax_cfg_so_gf_a0, NULL), 6136f60fb03SLuca Coelho IWL_DEV_INFO(0x2725, 0x0020, iwlax210_2ax_cfg_ty_gf_a0, NULL), 614806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0x2020, iwlax210_2ax_cfg_ty_gf_a0, NULL), 615806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0x0024, iwlax210_2ax_cfg_ty_gf_a0, NULL), 6166f60fb03SLuca Coelho IWL_DEV_INFO(0x2725, 0x0310, iwlax210_2ax_cfg_ty_gf_a0, NULL), 6176f60fb03SLuca Coelho IWL_DEV_INFO(0x2725, 0x0510, iwlax210_2ax_cfg_ty_gf_a0, NULL), 6186f60fb03SLuca Coelho IWL_DEV_INFO(0x2725, 0x0A10, iwlax210_2ax_cfg_ty_gf_a0, NULL), 619806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0xE020, iwlax210_2ax_cfg_ty_gf_a0, NULL), 620806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0xE024, iwlax210_2ax_cfg_ty_gf_a0, NULL), 621806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0x4020, iwlax210_2ax_cfg_ty_gf_a0, NULL), 622806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0x6020, iwlax210_2ax_cfg_ty_gf_a0, NULL), 623806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0x6024, iwlax210_2ax_cfg_ty_gf_a0, NULL), 62485b5fd94Sybaruch IWL_DEV_INFO(0x2725, 0x1673, iwlax210_2ax_cfg_ty_gf_a0, iwl_ax210_killer_1675w_name), 62585b5fd94Sybaruch IWL_DEV_INFO(0x2725, 0x1674, iwlax210_2ax_cfg_ty_gf_a0, iwl_ax210_killer_1675x_name), 6266f60fb03SLuca Coelho IWL_DEV_INFO(0x7A70, 0x0090, iwlax211_2ax_cfg_so_gf_a0_long, NULL), 6276f60fb03SLuca Coelho IWL_DEV_INFO(0x7A70, 0x0098, iwlax211_2ax_cfg_so_gf_a0_long, NULL), 6286f60fb03SLuca Coelho IWL_DEV_INFO(0x7A70, 0x00B0, iwlax411_2ax_cfg_so_gf4_a0_long, NULL), 6296f60fb03SLuca Coelho IWL_DEV_INFO(0x7A70, 0x0310, iwlax211_2ax_cfg_so_gf_a0_long, NULL), 6306f60fb03SLuca Coelho IWL_DEV_INFO(0x7A70, 0x0510, iwlax211_2ax_cfg_so_gf_a0_long, NULL), 6316f60fb03SLuca Coelho IWL_DEV_INFO(0x7A70, 0x0A10, iwlax211_2ax_cfg_so_gf_a0_long, NULL), 6326f60fb03SLuca Coelho IWL_DEV_INFO(0x7AF0, 0x0090, iwlax211_2ax_cfg_so_gf_a0, NULL), 6336f60fb03SLuca Coelho IWL_DEV_INFO(0x7AF0, 0x0098, iwlax211_2ax_cfg_so_gf_a0, NULL), 6346f60fb03SLuca Coelho IWL_DEV_INFO(0x7AF0, 0x00B0, iwlax411_2ax_cfg_so_gf4_a0, NULL), 6356f60fb03SLuca Coelho IWL_DEV_INFO(0x7AF0, 0x0310, iwlax211_2ax_cfg_so_gf_a0, NULL), 6366f60fb03SLuca Coelho IWL_DEV_INFO(0x7AF0, 0x0510, iwlax211_2ax_cfg_so_gf_a0, NULL), 6376f60fb03SLuca Coelho IWL_DEV_INFO(0x7AF0, 0x0A10, iwlax211_2ax_cfg_so_gf_a0, NULL), 6386f60fb03SLuca Coelho 6396f60fb03SLuca Coelho /* SnJ with HR */ 6406f60fb03SLuca Coelho IWL_DEV_INFO(0x2725, 0x00B0, iwlax411_2ax_cfg_sosnj_gf4_a0, NULL), 6416f60fb03SLuca Coelho IWL_DEV_INFO(0x2726, 0x0090, iwlax211_cfg_snj_gf_a0, NULL), 6426f60fb03SLuca Coelho IWL_DEV_INFO(0x2726, 0x0098, iwlax211_cfg_snj_gf_a0, NULL), 6436f60fb03SLuca Coelho IWL_DEV_INFO(0x2726, 0x00B0, iwlax411_2ax_cfg_sosnj_gf4_a0, NULL), 644806832c9SLuca Coelho IWL_DEV_INFO(0x2726, 0x00B4, iwlax411_2ax_cfg_sosnj_gf4_a0, NULL), 6456f60fb03SLuca Coelho IWL_DEV_INFO(0x2726, 0x0510, iwlax211_cfg_snj_gf_a0, NULL), 646930be4e7SLuca Coelho IWL_DEV_INFO(0x2726, 0x1651, iwl_cfg_snj_hr_b0, iwl_ax201_killer_1650s_name), 647930be4e7SLuca Coelho IWL_DEV_INFO(0x2726, 0x1652, iwl_cfg_snj_hr_b0, iwl_ax201_killer_1650i_name), 6486f60fb03SLuca Coelho 649c8685937SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 650be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY, 651be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 652b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 653c8685937SLuca Coelho iwl9560_2ac_cfg_soc, iwl9461_160_name), 654c8685937SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 655be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY, 656be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 657b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 658c8685937SLuca Coelho iwl9560_2ac_cfg_soc, iwl9461_name), 659c8685937SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 660be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY, 661be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 662b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 663c8685937SLuca Coelho iwl9560_2ac_cfg_soc, iwl9462_160_name), 664c8685937SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 665be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY, 666be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 667b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 668c8685937SLuca Coelho iwl9560_2ac_cfg_soc, iwl9462_name), 669c8685937SLuca Coelho 670c8685937SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 671be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY, 672be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 673b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 674c8685937SLuca Coelho iwl9560_2ac_cfg_soc, iwl9560_160_name), 675c8685937SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 676be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY, 677be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 678b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 679c8685937SLuca Coelho iwl9560_2ac_cfg_soc, iwl9560_name), 680c8685937SLuca Coelho 681d6f2134aSLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 682be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY, 683be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 684b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 6851454edcaSLuca Coelho iwl9260_2ac_cfg, iwl9461_160_name), 686b200dba7SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 687be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY, 688be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 689b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 6901454edcaSLuca Coelho iwl9260_2ac_cfg, iwl9461_name), 691b200dba7SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 692be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY, 693be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 694b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 6951454edcaSLuca Coelho iwl9260_2ac_cfg, iwl9462_160_name), 696b200dba7SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 697be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY, 698be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 699b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 7001454edcaSLuca Coelho iwl9260_2ac_cfg, iwl9462_name), 701b200dba7SLuca Coelho 702b200dba7SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 703be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY, 704be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 705b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 7061454edcaSLuca Coelho iwl9260_2ac_cfg, iwl9560_160_name), 707f673a193SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 708be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY, 709be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 710b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 7111454edcaSLuca Coelho iwl9260_2ac_cfg, iwl9560_name), 712f673a193SLuca Coelho 713f673a193SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 714be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY, 715be2f6886SLuca Coelho IWL_CFG_RF_TYPE_TH, IWL_CFG_ANY, 716b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT_GNSS, IWL_CFG_NO_CDB, 71795939551SLuca Coelho iwl9260_2ac_cfg, iwl9270_160_name), 71895939551SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 719be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY, 720be2f6886SLuca Coelho IWL_CFG_RF_TYPE_TH, IWL_CFG_ANY, 721b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT_GNSS, IWL_CFG_NO_CDB, 72295939551SLuca Coelho iwl9260_2ac_cfg, iwl9270_name), 72395939551SLuca Coelho 724fe25b151SLuca Coelho _IWL_DEV_INFO(0x271B, IWL_CFG_ANY, 725be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY, 726be2f6886SLuca Coelho IWL_CFG_RF_TYPE_TH1, IWL_CFG_ANY, 727b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 728fe25b151SLuca Coelho iwl9260_2ac_cfg, iwl9162_160_name), 729fe25b151SLuca Coelho _IWL_DEV_INFO(0x271B, IWL_CFG_ANY, 730be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY, 731be2f6886SLuca Coelho IWL_CFG_RF_TYPE_TH1, IWL_CFG_ANY, 732b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 733fe25b151SLuca Coelho iwl9260_2ac_cfg, iwl9162_name), 734fe25b151SLuca Coelho 73595939551SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 736be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY, 737be2f6886SLuca Coelho IWL_CFG_RF_TYPE_TH, IWL_CFG_ANY, 738b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 739d6f2134aSLuca Coelho iwl9260_2ac_cfg, iwl9260_160_name), 740d6f2134aSLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 741be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY, 742be2f6886SLuca Coelho IWL_CFG_RF_TYPE_TH, IWL_CFG_ANY, 743b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 744d6f2134aSLuca Coelho iwl9260_2ac_cfg, iwl9260_name), 7455e003982SLuca Coelho 74632ed101aSLuca Coelho /* Qu with Jf */ 74732ed101aSLuca Coelho /* Qu B step */ 74832ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 74932ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 75032ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 751b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 75232ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9461_160_name), 75332ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 75432ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 75532ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 756b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 75732ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9461_name), 75832ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 75932ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 76032ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 761b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 76232ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9462_160_name), 76332ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 76432ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 76532ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 766b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 76732ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9462_name), 7685e003982SLuca Coelho 76932ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 77032ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 77132ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 772b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 77332ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9560_160_name), 77432ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 77532ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 77632ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 777b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 77832ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9560_name), 77932ed101aSLuca Coelho 78032ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1551, 78132ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 78232ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 783b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 78432ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9560_killer_1550s_name), 78532ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1552, 78632ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 78732ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 788b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 78932ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9560_killer_1550i_name), 79032ed101aSLuca Coelho 79132ed101aSLuca Coelho /* Qu C step */ 79232ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 79332ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 79432ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 795b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 79632ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9461_160_name), 79732ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 79832ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 79932ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 800b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 80132ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9461_name), 80232ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 80332ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 80432ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 805b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 80632ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9462_160_name), 80732ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 80832ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 80932ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 810b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 81132ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9462_name), 81232ed101aSLuca Coelho 81332ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 81432ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 81532ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 816b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 81732ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9560_160_name), 81832ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 81932ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 82032ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 821b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 82232ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9560_name), 82332ed101aSLuca Coelho 82432ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1551, 82532ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 82632ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 827b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 82832ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9560_killer_1550s_name), 82932ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1552, 83032ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 83132ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 832b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 83332ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9560_killer_1550i_name), 83432ed101aSLuca Coelho 83532ed101aSLuca Coelho /* QuZ */ 83632ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 83732ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 83832ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 839b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 84032ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9461_160_name), 84132ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 84232ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 84332ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 844b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 84532ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9461_name), 84632ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 84732ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 84832ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 849b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 85032ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9462_160_name), 85132ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 85232ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 85332ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 854b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 85532ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9462_name), 85632ed101aSLuca Coelho 85732ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 85832ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 85932ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 860b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 86132ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9560_160_name), 86232ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 86332ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 86432ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 865b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 86632ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9560_name), 86732ed101aSLuca Coelho 86832ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1551, 86932ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 87032ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 871b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 87232ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9560_killer_1550s_name), 87332ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1552, 87432ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 87532ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 876b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 87732ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9560_killer_1550i_name), 878612509d6SLuca Coelho 879612509d6SLuca Coelho /* QnJ */ 880612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 881612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 882612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 883b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 884612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9461_160_name), 885612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 886612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 887612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 888b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 889612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9461_name), 890612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 891612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 892612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 893b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 894612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9462_160_name), 895612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 896612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 897612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 898b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 899612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9462_name), 900612509d6SLuca Coelho 901612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 902612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 903612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 904b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 905612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9560_160_name), 906612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 907612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 908612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 909b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 910612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9560_name), 911612509d6SLuca Coelho 912612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1551, 913612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 914612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 915b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 916612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9560_killer_1550s_name), 917612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1552, 918612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 919612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 920b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 921612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9560_killer_1550i_name), 9223f910a25SLuca Coelho 9233f910a25SLuca Coelho /* Qu with Hr */ 9243f910a25SLuca Coelho /* Qu B step */ 9253f910a25SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 9263f910a25SLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 9273f910a25SLuca Coelho IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, 928b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 9293f910a25SLuca Coelho iwl_qu_b0_hr1_b0, iwl_ax101_name), 93016062c12SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 93116062c12SLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 93216062c12SLuca Coelho IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 933b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 93416062c12SLuca Coelho iwl_qu_b0_hr_b0, iwl_ax203_name), 9353f910a25SLuca Coelho 9363f910a25SLuca Coelho /* Qu C step */ 9373f910a25SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 9383f910a25SLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 9393f910a25SLuca Coelho IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, 940b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 9413f910a25SLuca Coelho iwl_qu_c0_hr1_b0, iwl_ax101_name), 94216062c12SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 94316062c12SLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 94416062c12SLuca Coelho IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 945b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 94616062c12SLuca Coelho iwl_qu_c0_hr_b0, iwl_ax203_name), 9473f910a25SLuca Coelho 9483f910a25SLuca Coelho /* QuZ */ 9493f910a25SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 9503f910a25SLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 9513f910a25SLuca Coelho IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, 952b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 9533f910a25SLuca Coelho iwl_quz_a0_hr1_b0, iwl_ax101_name), 954410f7585SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 955410f7585SIhab Zhaika IWL_CFG_MAC_TYPE_QUZ, SILICON_B_STEP, 956410f7585SIhab Zhaika IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 957b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 958410f7585SIhab Zhaika iwl_cfg_quz_a0_hr_b0, iwl_ax203_name), 9593f910a25SLuca Coelho 960930be4e7SLuca Coelho /* QnJ with Hr */ 961930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 962930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 963930be4e7SLuca Coelho IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 964b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 965930be4e7SLuca Coelho iwl_qnj_b0_hr_b0_cfg, iwl_ax201_name), 966930be4e7SLuca Coelho 967930be4e7SLuca Coelho /* SnJ with Jf */ 968930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 969930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 970930be4e7SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 971b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 972930be4e7SLuca Coelho iwl_cfg_snj_a0_jf_b0, iwl9461_160_name), 973930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 974930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 975930be4e7SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 976b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 977930be4e7SLuca Coelho iwl_cfg_snj_a0_jf_b0, iwl9461_name), 978930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 979930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 980930be4e7SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 981b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 982930be4e7SLuca Coelho iwl_cfg_snj_a0_jf_b0, iwl9462_160_name), 983930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 984930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 985930be4e7SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 986b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 987930be4e7SLuca Coelho iwl_cfg_snj_a0_jf_b0, iwl9462_name), 988930be4e7SLuca Coelho 989930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 990930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 991930be4e7SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 992b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 993930be4e7SLuca Coelho iwl_cfg_snj_a0_jf_b0, iwl9560_160_name), 994930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 995930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 996930be4e7SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 997b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 998930be4e7SLuca Coelho iwl_cfg_snj_a0_jf_b0, iwl9560_name), 999930be4e7SLuca Coelho 1000930be4e7SLuca Coelho /* SnJ with Hr */ 1001930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1002930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 10037f9c3bc4SLuca Coelho IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, 1004b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 10057f9c3bc4SLuca Coelho iwl_cfg_snj_hr_b0, iwl_ax101_name), 10067f9c3bc4SLuca Coelho 10077f9c3bc4SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 10087f9c3bc4SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 1009930be4e7SLuca Coelho IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 1010b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 1011930be4e7SLuca Coelho iwl_cfg_snj_hr_b0, iwl_ax201_name), 1012930be4e7SLuca Coelho 1013bc9296f4SIhab Zhaika /* Ma */ 1014bc9296f4SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1015bc9296f4SIhab Zhaika IWL_CFG_MAC_TYPE_MA, IWL_CFG_ANY, 10161205d7f7SMatti Gottlieb IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 10171205d7f7SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 10181205d7f7SMatti Gottlieb iwl_cfg_ma_a0_hr_b0, iwl_ax201_name), 10191205d7f7SMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 10201205d7f7SMatti Gottlieb IWL_CFG_MAC_TYPE_MA, IWL_CFG_ANY, 1021bc9296f4SIhab Zhaika IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, 1022b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 1023bc9296f4SIhab Zhaika iwl_cfg_ma_a0_gf_a0, iwl_ax211_name), 1024bc9296f4SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1025bc9296f4SIhab Zhaika IWL_CFG_MAC_TYPE_MA, IWL_CFG_ANY, 10261205d7f7SMatti Gottlieb IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, 10271205d7f7SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, 10281205d7f7SMatti Gottlieb iwl_cfg_ma_a0_gf4_a0, iwl_ax211_name), 10291205d7f7SMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 10301205d7f7SMatti Gottlieb IWL_CFG_MAC_TYPE_MA, IWL_CFG_ANY, 1031bc9296f4SIhab Zhaika IWL_CFG_RF_TYPE_MR, IWL_CFG_ANY, 1032b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 10338932abefSMatti Gottlieb iwl_cfg_ma_a0_mr_a0, iwl_ax221_name), 1034ac1a98e1SMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 10357e2c1437SMatti Gottlieb IWL_CFG_MAC_TYPE_MA, IWL_CFG_ANY, 10367e2c1437SMatti Gottlieb IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, 10377e2c1437SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 10387e2c1437SMatti Gottlieb iwl_cfg_ma_a0_fm_a0, iwl_ax231_name), 10397e2c1437SMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1040ac1a98e1SMatti Gottlieb IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 1041ac1a98e1SMatti Gottlieb IWL_CFG_RF_TYPE_MR, IWL_CFG_ANY, 1042b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 10438932abefSMatti Gottlieb iwl_cfg_snj_a0_mr_a0, iwl_ax221_name), 1044ac1a98e1SMatti Gottlieb 1045410f7585SIhab Zhaika /* So with Hr */ 1046410f7585SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1047410f7585SIhab Zhaika IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1048410f7585SIhab Zhaika IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 1049b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 1050410f7585SIhab Zhaika iwl_cfg_so_a0_hr_a0, iwl_ax203_name), 1051410f7585SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1052410f7585SIhab Zhaika IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1053410f7585SIhab Zhaika IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 1054b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 1055410f7585SIhab Zhaika iwl_cfg_so_a0_hr_a0, iwl_ax203_name), 1056410f7585SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1057410f7585SIhab Zhaika IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1058410f7585SIhab Zhaika IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, 1059b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 1060410f7585SIhab Zhaika iwl_cfg_so_a0_hr_a0, iwl_ax101_name), 1061410f7585SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1062410f7585SIhab Zhaika IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1063410f7585SIhab Zhaika IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 1064b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 106508f4b0b1SLuca Coelho iwl_cfg_so_a0_hr_a0, iwl_ax201_name), 106608f4b0b1SLuca Coelho 106708f4b0b1SLuca Coelho /* So-F with Hr */ 106808f4b0b1SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 106908f4b0b1SLuca Coelho IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 107008f4b0b1SLuca Coelho IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 107108f4b0b1SLuca Coelho IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 107208f4b0b1SLuca Coelho iwl_cfg_so_a0_hr_a0, iwl_ax203_name), 107308f4b0b1SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 107408f4b0b1SLuca Coelho IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 107508f4b0b1SLuca Coelho IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, 107608f4b0b1SLuca Coelho IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 107708f4b0b1SLuca Coelho iwl_cfg_so_a0_hr_a0, iwl_ax101_name), 107808f4b0b1SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 107908f4b0b1SLuca Coelho IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 108008f4b0b1SLuca Coelho IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 108108f4b0b1SLuca Coelho IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 108208f4b0b1SLuca Coelho iwl_cfg_so_a0_hr_a0, iwl_ax201_name), 108308f4b0b1SLuca Coelho 108408f4b0b1SLuca Coelho /* So-F with Gf */ 108508f4b0b1SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 108608f4b0b1SLuca Coelho IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 108708f4b0b1SLuca Coelho IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, 108808f4b0b1SLuca Coelho IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 108908f4b0b1SLuca Coelho iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_name), 1090bc9296f4SIhab Zhaika 10912be05dfdSMatti Gottlieb /* Bz */ 10922be05dfdSMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 10932be05dfdSMatti Gottlieb IWL_CFG_MAC_TYPE_BZ, IWL_CFG_ANY, 10942be05dfdSMatti Gottlieb IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 10952be05dfdSMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 10962be05dfdSMatti Gottlieb iwl_cfg_bz_a0_hr_b0, iwl_ax201_name), 10972be05dfdSMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 10982be05dfdSMatti Gottlieb IWL_CFG_MAC_TYPE_BZ, IWL_CFG_ANY, 10992be05dfdSMatti Gottlieb IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, 11002be05dfdSMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 11012be05dfdSMatti Gottlieb iwl_cfg_bz_a0_gf_a0, iwl_ax211_name), 11022be05dfdSMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 11032be05dfdSMatti Gottlieb IWL_CFG_MAC_TYPE_BZ, IWL_CFG_ANY, 11042be05dfdSMatti Gottlieb IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, 11052be05dfdSMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, 11062be05dfdSMatti Gottlieb iwl_cfg_bz_a0_gf4_a0, iwl_ax211_name), 11072be05dfdSMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 11082be05dfdSMatti Gottlieb IWL_CFG_MAC_TYPE_BZ, IWL_CFG_ANY, 11092be05dfdSMatti Gottlieb IWL_CFG_RF_TYPE_MR, IWL_CFG_ANY, 11102be05dfdSMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 11118932abefSMatti Gottlieb iwl_cfg_bz_a0_mr_a0, iwl_ax211_name), 11122be05dfdSMatti Gottlieb 1113a5bf1d44SYaara Baruch /* SoF with JF2 */ 1114a5bf1d44SYaara Baruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1115a5bf1d44SYaara Baruch IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 1116a5bf1d44SYaara Baruch IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 1117a5bf1d44SYaara Baruch IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 1118a5bf1d44SYaara Baruch iwlax210_2ax_cfg_so_jf_b0, iwl9560_160_name), 1119a5bf1d44SYaara Baruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1120a5bf1d44SYaara Baruch IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 1121a5bf1d44SYaara Baruch IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 1122a5bf1d44SYaara Baruch IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 1123a5bf1d44SYaara Baruch iwlax210_2ax_cfg_so_jf_b0, iwl9560_name), 1124a5bf1d44SYaara Baruch 1125a5bf1d44SYaara Baruch /* SoF with JF */ 1126a5bf1d44SYaara Baruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1127a5bf1d44SYaara Baruch IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 1128a5bf1d44SYaara Baruch IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 1129a5bf1d44SYaara Baruch IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 1130a5bf1d44SYaara Baruch iwlax210_2ax_cfg_so_jf_b0, iwl9461_160_name), 1131a5bf1d44SYaara Baruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1132a5bf1d44SYaara Baruch IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 1133a5bf1d44SYaara Baruch IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 1134a5bf1d44SYaara Baruch IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 1135a5bf1d44SYaara Baruch iwlax210_2ax_cfg_so_jf_b0, iwl9462_160_name), 1136a5bf1d44SYaara Baruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1137a5bf1d44SYaara Baruch IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 1138a5bf1d44SYaara Baruch IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 1139a5bf1d44SYaara Baruch IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 1140a5bf1d44SYaara Baruch iwlax210_2ax_cfg_so_jf_b0, iwl9461_name), 1141a5bf1d44SYaara Baruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1142a5bf1d44SYaara Baruch IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 1143a5bf1d44SYaara Baruch IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 1144a5bf1d44SYaara Baruch IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 1145a5bf1d44SYaara Baruch iwlax210_2ax_cfg_so_jf_b0, iwl9462_name), 1146a5bf1d44SYaara Baruch 11479a0f28d8Sybaruch /* So with GF */ 11489a0f28d8Sybaruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 11499a0f28d8Sybaruch IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 11509a0f28d8Sybaruch IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, 11519a0f28d8Sybaruch IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 1152*891332f6SYaara Baruch iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_name), 1153*891332f6SYaara Baruch 1154*891332f6SYaara Baruch /* So with JF2 */ 1155*891332f6SYaara Baruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1156*891332f6SYaara Baruch IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1157*891332f6SYaara Baruch IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 1158*891332f6SYaara Baruch IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 1159*891332f6SYaara Baruch iwlax210_2ax_cfg_so_jf_b0, iwl9560_160_name), 1160*891332f6SYaara Baruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1161*891332f6SYaara Baruch IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1162*891332f6SYaara Baruch IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 1163*891332f6SYaara Baruch IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 1164*891332f6SYaara Baruch iwlax210_2ax_cfg_so_jf_b0, iwl9560_name), 1165*891332f6SYaara Baruch 1166*891332f6SYaara Baruch /* So with JF */ 1167*891332f6SYaara Baruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1168*891332f6SYaara Baruch IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1169*891332f6SYaara Baruch IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 1170*891332f6SYaara Baruch IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 1171*891332f6SYaara Baruch iwlax210_2ax_cfg_so_jf_b0, iwl9461_160_name), 1172*891332f6SYaara Baruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1173*891332f6SYaara Baruch IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1174*891332f6SYaara Baruch IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 1175*891332f6SYaara Baruch IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 1176*891332f6SYaara Baruch iwlax210_2ax_cfg_so_jf_b0, iwl9462_160_name), 1177*891332f6SYaara Baruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1178*891332f6SYaara Baruch IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1179*891332f6SYaara Baruch IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 1180*891332f6SYaara Baruch IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 1181*891332f6SYaara Baruch iwlax210_2ax_cfg_so_jf_b0, iwl9461_name), 1182*891332f6SYaara Baruch _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1183*891332f6SYaara Baruch IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1184*891332f6SYaara Baruch IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 1185*891332f6SYaara Baruch IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 1186*891332f6SYaara Baruch iwlax210_2ax_cfg_so_jf_b0, iwl9462_name) 11879a0f28d8Sybaruch 11882a612a60SLuca Coelho #endif /* CONFIG_IWLMVM */ 11892a612a60SLuca Coelho }; 11902a612a60SLuca Coelho 1191e705c121SKalle Valo /* PCI registers */ 1192e705c121SKalle Valo #define PCI_CFG_RETRY_TIMEOUT 0x041 1193e705c121SKalle Valo 1194e705c121SKalle Valo static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) 1195e705c121SKalle Valo { 119648a5494dSJohannes Berg const struct iwl_cfg_trans_params *trans; 1197e705c121SKalle Valo const struct iwl_cfg *cfg_7265d __maybe_unused = NULL; 1198e705c121SKalle Valo struct iwl_trans *iwl_trans; 1199c042f0c7SJohannes Berg struct iwl_trans_pcie *trans_pcie; 12002a612a60SLuca Coelho int i, ret; 120148a5494dSJohannes Berg const struct iwl_cfg *cfg; 120248a5494dSJohannes Berg 120348a5494dSJohannes Berg trans = (void *)(ent->driver_data & ~TRANS_CFG_MARKER); 120448a5494dSJohannes Berg 1205b3bd6416SLuca Coelho /* 1206b3bd6416SLuca Coelho * This is needed for backwards compatibility with the old 1207b3bd6416SLuca Coelho * tables, so we don't need to change all the config structs 1208b3bd6416SLuca Coelho * at the same time. The cfg is used to compare with the old 1209b3bd6416SLuca Coelho * full cfg structs. 1210b3bd6416SLuca Coelho */ 121148a5494dSJohannes Berg cfg = (void *)(ent->driver_data & ~TRANS_CFG_MARKER); 1212e705c121SKalle Valo 1213b3bd6416SLuca Coelho /* make sure trans is the first element in iwl_cfg */ 1214b3bd6416SLuca Coelho BUILD_BUG_ON(offsetof(struct iwl_cfg, trans)); 1215b3bd6416SLuca Coelho 1216b3bd6416SLuca Coelho iwl_trans = iwl_trans_pcie_alloc(pdev, ent, trans); 1217e705c121SKalle Valo if (IS_ERR(iwl_trans)) 1218e705c121SKalle Valo return PTR_ERR(iwl_trans); 1219e705c121SKalle Valo 1220c042f0c7SJohannes Berg trans_pcie = IWL_TRANS_GET_PCIE_TRANS(iwl_trans); 1221286ca8ebSLuca Coelho 1222d6f2134aSLuca Coelho iwl_trans->hw_rf_id = iwl_read32(iwl_trans, CSR_HW_RF_ID); 1223d6f2134aSLuca Coelho 12242a612a60SLuca Coelho for (i = 0; i < ARRAY_SIZE(iwl_dev_info_table); i++) { 12252a612a60SLuca Coelho const struct iwl_dev_info *dev_info = &iwl_dev_info_table[i]; 1226d6f2134aSLuca Coelho if ((dev_info->device == (u16)IWL_CFG_ANY || 12272a612a60SLuca Coelho dev_info->device == pdev->device) && 1228d6f2134aSLuca Coelho (dev_info->subdevice == (u16)IWL_CFG_ANY || 1229d6f2134aSLuca Coelho dev_info->subdevice == pdev->subsystem_device) && 1230d6f2134aSLuca Coelho (dev_info->mac_type == (u16)IWL_CFG_ANY || 1231d6f2134aSLuca Coelho dev_info->mac_type == 1232d6f2134aSLuca Coelho CSR_HW_REV_TYPE(iwl_trans->hw_rev)) && 1233be2f6886SLuca Coelho (dev_info->mac_step == (u8)IWL_CFG_ANY || 1234be2f6886SLuca Coelho dev_info->mac_step == 1235be2f6886SLuca Coelho CSR_HW_REV_STEP(iwl_trans->hw_rev)) && 1236d6f2134aSLuca Coelho (dev_info->rf_type == (u16)IWL_CFG_ANY || 1237d6f2134aSLuca Coelho dev_info->rf_type == 1238d6f2134aSLuca Coelho CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id)) && 1239b964bfd0SMatti Gottlieb (dev_info->cdb == IWL_CFG_NO_CDB || 1240b964bfd0SMatti Gottlieb CSR_HW_RFID_IS_CDB(iwl_trans->hw_rf_id)) && 1241f673a193SLuca Coelho (dev_info->rf_id == (u8)IWL_CFG_ANY || 1242f673a193SLuca Coelho dev_info->rf_id == 1243f673a193SLuca Coelho IWL_SUBDEVICE_RF_ID(pdev->subsystem_device)) && 1244d6f2134aSLuca Coelho (dev_info->no_160 == (u8)IWL_CFG_ANY || 1245d6f2134aSLuca Coelho dev_info->no_160 == 124695939551SLuca Coelho IWL_SUBDEVICE_NO_160(pdev->subsystem_device)) && 124795939551SLuca Coelho (dev_info->cores == (u8)IWL_CFG_ANY || 124895939551SLuca Coelho dev_info->cores == 124995939551SLuca Coelho IWL_SUBDEVICE_CORES(pdev->subsystem_device))) { 12502a612a60SLuca Coelho iwl_trans->cfg = dev_info->cfg; 12510b295a1eSLuca Coelho iwl_trans->name = dev_info->name; 12522a612a60SLuca Coelho } 12537d34a7d7SLuca Coelho } 12547d34a7d7SLuca Coelho 125562541e26SKalle Valo #if IS_ENABLED(CONFIG_IWLMVM) 125662541e26SKalle Valo 1257930be4e7SLuca Coelho /* 1258930be4e7SLuca Coelho * Workaround for problematic SnJ device: sometimes when 1259930be4e7SLuca Coelho * certain RF modules are connected to SnJ, the device ID 1260930be4e7SLuca Coelho * changes to QnJ's ID. So we are using QnJ's trans_cfg until 1261930be4e7SLuca Coelho * here. But if we detect that the MAC type is actually SnJ, 1262930be4e7SLuca Coelho * we should switch to it here to avoid problems later. 1263930be4e7SLuca Coelho */ 1264930be4e7SLuca Coelho if (CSR_HW_REV_TYPE(iwl_trans->hw_rev) == IWL_CFG_MAC_TYPE_SNJ) 1265930be4e7SLuca Coelho iwl_trans->trans_cfg = &iwl_so_trans_cfg; 1266930be4e7SLuca Coelho 1267e705c121SKalle Valo /* 1268e705c121SKalle Valo * special-case 7265D, it has the same PCI IDs. 1269e705c121SKalle Valo * 1270e705c121SKalle Valo * Note that because we already pass the cfg to the transport above, 1271e705c121SKalle Valo * all the parameters that the transport uses must, until that is 1272e705c121SKalle Valo * changed, be identical to the ones in the 7265D configuration. 1273e705c121SKalle Valo */ 1274e705c121SKalle Valo if (cfg == &iwl7265_2ac_cfg) 1275e705c121SKalle Valo cfg_7265d = &iwl7265d_2ac_cfg; 1276e705c121SKalle Valo else if (cfg == &iwl7265_2n_cfg) 1277e705c121SKalle Valo cfg_7265d = &iwl7265d_2n_cfg; 1278e705c121SKalle Valo else if (cfg == &iwl7265_n_cfg) 1279e705c121SKalle Valo cfg_7265d = &iwl7265d_n_cfg; 1280e705c121SKalle Valo if (cfg_7265d && 1281809805a8SLuca Coelho (iwl_trans->hw_rev & CSR_HW_REV_TYPE_MSK) == CSR_HW_REV_TYPE_7265D) 1282b3bd6416SLuca Coelho iwl_trans->cfg = cfg_7265d; 1283809805a8SLuca Coelho 1284809805a8SLuca Coelho if (cfg == &iwlax210_2ax_cfg_so_hr_a0) { 1285809805a8SLuca Coelho if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_TY) { 1286b3bd6416SLuca Coelho iwl_trans->cfg = &iwlax210_2ax_cfg_ty_gf_a0; 1287163c3615SJohannes Berg } else if (CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id) == 1288163c3615SJohannes Berg CSR_HW_RFID_TYPE(CSR_HW_RF_ID_TYPE_JF)) { 128939ab22c1Sybaruch iwl_trans->cfg = &iwlax210_2ax_cfg_so_jf_b0; 1290163c3615SJohannes Berg } else if (CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id) == 1291163c3615SJohannes Berg CSR_HW_RFID_TYPE(CSR_HW_RF_ID_TYPE_GF)) { 1292b3bd6416SLuca Coelho iwl_trans->cfg = &iwlax211_2ax_cfg_so_gf_a0; 1293163c3615SJohannes Berg } else if (CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id) == 1294163c3615SJohannes Berg CSR_HW_RFID_TYPE(CSR_HW_RF_ID_TYPE_GF4)) { 1295b3bd6416SLuca Coelho iwl_trans->cfg = &iwlax411_2ax_cfg_so_gf4_a0; 1296e705c121SKalle Valo } 12975594d80eSSara Sharon } 1298a7d544d6SLuca Coelho 1299a7d544d6SLuca Coelho /* 1300a7d544d6SLuca Coelho * This is a hack to switch from Qu B0 to Qu C0. We need to 130168ceba3fSLuca Coelho * do this for all cfgs that use Qu B0, except for those using 130268ceba3fSLuca Coelho * Jf, which have already been moved to the new table. The 130368ceba3fSLuca Coelho * rest must be removed once we convert Qu with Hr as well. 1304a7d544d6SLuca Coelho */ 1305a7d544d6SLuca Coelho if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QU_C0) { 13063f910a25SLuca Coelho if (iwl_trans->cfg == &iwl_ax201_cfg_qu_hr) 1307b3bd6416SLuca Coelho iwl_trans->cfg = &iwl_ax201_cfg_qu_c0_hr_b0; 130832ed101aSLuca Coelho else if (iwl_trans->cfg == &killer1650s_2ax_cfg_qu_b0_hr_b0) 1309b3bd6416SLuca Coelho iwl_trans->cfg = &killer1650s_2ax_cfg_qu_c0_hr_b0; 131032ed101aSLuca Coelho else if (iwl_trans->cfg == &killer1650i_2ax_cfg_qu_b0_hr_b0) 1311b3bd6416SLuca Coelho iwl_trans->cfg = &killer1650i_2ax_cfg_qu_c0_hr_b0; 1312a7d544d6SLuca Coelho } 13135a8c31aaSLuca Coelho 13145a8c31aaSLuca Coelho /* same thing for QuZ... */ 13155a8c31aaSLuca Coelho if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QUZ) { 13163f910a25SLuca Coelho if (iwl_trans->cfg == &iwl_ax201_cfg_qu_hr) 131732ed101aSLuca Coelho iwl_trans->cfg = &iwl_ax201_cfg_quz_hr; 1318f92f26f2SLuca Coelho else if (iwl_trans->cfg == &killer1650s_2ax_cfg_qu_b0_hr_b0) 1319f92f26f2SLuca Coelho iwl_trans->cfg = &iwl_ax1650s_cfg_quz_hr; 1320f92f26f2SLuca Coelho else if (iwl_trans->cfg == &killer1650i_2ax_cfg_qu_b0_hr_b0) 1321f92f26f2SLuca Coelho iwl_trans->cfg = &iwl_ax1650i_cfg_quz_hr; 13225a8c31aaSLuca Coelho } 13235a8c31aaSLuca Coelho 1324e705c121SKalle Valo #endif 1325b3bd6416SLuca Coelho /* 132648a5494dSJohannes Berg * If we didn't set the cfg yet, the PCI ID table entry should have 132748a5494dSJohannes Berg * been a full config - if yes, use it, otherwise fail. 1328b3bd6416SLuca Coelho */ 132948a5494dSJohannes Berg if (!iwl_trans->cfg) { 133048a5494dSJohannes Berg if (ent->driver_data & TRANS_CFG_MARKER) { 133148a5494dSJohannes Berg pr_err("No config found for PCI dev %04x/%04x, rev=0x%x, rfid=0x%x\n", 133248a5494dSJohannes Berg pdev->device, pdev->subsystem_device, 133348a5494dSJohannes Berg iwl_trans->hw_rev, iwl_trans->hw_rf_id); 133448a5494dSJohannes Berg ret = -EINVAL; 133548a5494dSJohannes Berg goto out_free_trans; 133648a5494dSJohannes Berg } 1337809805a8SLuca Coelho iwl_trans->cfg = cfg; 133848a5494dSJohannes Berg } 1339e705c121SKalle Valo 13400b295a1eSLuca Coelho /* if we don't have a name yet, copy name from the old cfg */ 13410b295a1eSLuca Coelho if (!iwl_trans->name) 13420b295a1eSLuca Coelho iwl_trans->name = iwl_trans->cfg->name; 13430b295a1eSLuca Coelho 1344b3bd6416SLuca Coelho if (iwl_trans->trans_cfg->mq_rx_supported) { 1345b3bd6416SLuca Coelho if (WARN_ON(!iwl_trans->cfg->num_rbds)) { 1346c042f0c7SJohannes Berg ret = -EINVAL; 1347c042f0c7SJohannes Berg goto out_free_trans; 1348c042f0c7SJohannes Berg } 1349b3bd6416SLuca Coelho trans_pcie->num_rx_bufs = iwl_trans->cfg->num_rbds; 1350c042f0c7SJohannes Berg } else { 1351c042f0c7SJohannes Berg trans_pcie->num_rx_bufs = RX_QUEUE_SIZE; 1352c042f0c7SJohannes Berg } 1353c042f0c7SJohannes Berg 1354d12455fdSJohannes Berg ret = iwl_trans_init(iwl_trans); 1355d12455fdSJohannes Berg if (ret) 1356d12455fdSJohannes Berg goto out_free_trans; 1357d12455fdSJohannes Berg 1358e705c121SKalle Valo pci_set_drvdata(pdev, iwl_trans); 135949060383SLuca Coelho iwl_trans->drv = iwl_drv_start(iwl_trans); 1360e705c121SKalle Valo 13616f482e37SSara Sharon if (IS_ERR(iwl_trans->drv)) { 13626f482e37SSara Sharon ret = PTR_ERR(iwl_trans->drv); 1363e705c121SKalle Valo goto out_free_trans; 1364e705c121SKalle Valo } 1365e705c121SKalle Valo 1366e705c121SKalle Valo /* register transport layer debugfs here */ 1367cf5d5663SGreg Kroah-Hartman iwl_trans_pcie_dbgfs_register(iwl_trans); 1368e705c121SKalle Valo 1369e705c121SKalle Valo return 0; 1370e705c121SKalle Valo 1371e705c121SKalle Valo out_free_trans: 1372e705c121SKalle Valo iwl_trans_pcie_free(iwl_trans); 1373e705c121SKalle Valo return ret; 1374e705c121SKalle Valo } 1375e705c121SKalle Valo 1376e705c121SKalle Valo static void iwl_pci_remove(struct pci_dev *pdev) 1377e705c121SKalle Valo { 1378e705c121SKalle Valo struct iwl_trans *trans = pci_get_drvdata(pdev); 1379e705c121SKalle Valo 13806f482e37SSara Sharon iwl_drv_stop(trans->drv); 13814479a899SLuca Coelho 1382e705c121SKalle Valo iwl_trans_pcie_free(trans); 1383e705c121SKalle Valo } 1384e705c121SKalle Valo 1385e705c121SKalle Valo #ifdef CONFIG_PM_SLEEP 1386e705c121SKalle Valo 1387e705c121SKalle Valo static int iwl_pci_suspend(struct device *device) 1388e705c121SKalle Valo { 1389e705c121SKalle Valo /* Before you put code here, think about WoWLAN. You cannot check here 1390e705c121SKalle Valo * whether WoWLAN is enabled or not, and your code will run even if 1391e705c121SKalle Valo * WoWLAN is enabled - don't kill the NIC, someone may need it in Sx. 1392e705c121SKalle Valo */ 1393e705c121SKalle Valo 1394e705c121SKalle Valo return 0; 1395e705c121SKalle Valo } 1396e705c121SKalle Valo 1397e705c121SKalle Valo static int iwl_pci_resume(struct device *device) 1398e705c121SKalle Valo { 1399e705c121SKalle Valo struct pci_dev *pdev = to_pci_dev(device); 1400e705c121SKalle Valo struct iwl_trans *trans = pci_get_drvdata(pdev); 1401e705c121SKalle Valo struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); 1402e705c121SKalle Valo 1403e705c121SKalle Valo /* Before you put code here, think about WoWLAN. You cannot check here 1404e705c121SKalle Valo * whether WoWLAN is enabled or not, and your code will run even if 1405e705c121SKalle Valo * WoWLAN is enabled - the NIC may be alive. 1406e705c121SKalle Valo */ 1407e705c121SKalle Valo 1408e705c121SKalle Valo /* 1409e705c121SKalle Valo * We disable the RETRY_TIMEOUT register (0x41) to keep 1410e705c121SKalle Valo * PCI Tx retries from interfering with C3 CPU state. 1411e705c121SKalle Valo */ 1412e705c121SKalle Valo pci_write_config_byte(pdev, PCI_CFG_RETRY_TIMEOUT, 0x00); 1413e705c121SKalle Valo 1414e705c121SKalle Valo if (!trans->op_mode) 1415e705c121SKalle Valo return 0; 1416e705c121SKalle Valo 1417f98ad635SEmmanuel Grumbach /* In WOWLAN, let iwl_trans_pcie_d3_resume do the rest of the work */ 1418f98ad635SEmmanuel Grumbach if (test_bit(STATUS_DEVICE_ENABLED, &trans->status)) 1419f98ad635SEmmanuel Grumbach return 0; 1420f98ad635SEmmanuel Grumbach 142152848a79SJohannes Berg /* reconfigure the MSI-X mapping to get the correct IRQ for rfkill */ 142252848a79SJohannes Berg iwl_pcie_conf_msix_hw(trans_pcie); 142352848a79SJohannes Berg 1424e705c121SKalle Valo /* 1425326477e4SJohannes Berg * Enable rfkill interrupt (in order to keep track of the rfkill 1426326477e4SJohannes Berg * status). Must be locked to avoid processing a possible rfkill 14279ad8fd0bSJohannes Berg * interrupt while in iwl_pcie_check_hw_rf_kill(). 1428e705c121SKalle Valo */ 142923aeea94SJohannes Berg mutex_lock(&trans_pcie->mutex); 1430e705c121SKalle Valo iwl_enable_rfkill_int(trans); 14319ad8fd0bSJohannes Berg iwl_pcie_check_hw_rf_kill(trans); 1432e705c121SKalle Valo mutex_unlock(&trans_pcie->mutex); 1433e705c121SKalle Valo 1434e705c121SKalle Valo return 0; 1435e705c121SKalle Valo } 1436e705c121SKalle Valo 1437b3ff1270SLuca Coelho static const struct dev_pm_ops iwl_dev_pm_ops = { 1438b3ff1270SLuca Coelho SET_SYSTEM_SLEEP_PM_OPS(iwl_pci_suspend, 1439b3ff1270SLuca Coelho iwl_pci_resume) 1440b3ff1270SLuca Coelho }; 1441e705c121SKalle Valo 1442e705c121SKalle Valo #define IWL_PM_OPS (&iwl_dev_pm_ops) 1443e705c121SKalle Valo 1444b3ff1270SLuca Coelho #else /* CONFIG_PM_SLEEP */ 1445e705c121SKalle Valo 1446e705c121SKalle Valo #define IWL_PM_OPS NULL 1447e705c121SKalle Valo 1448b3ff1270SLuca Coelho #endif /* CONFIG_PM_SLEEP */ 1449e705c121SKalle Valo 1450e705c121SKalle Valo static struct pci_driver iwl_pci_driver = { 1451e705c121SKalle Valo .name = DRV_NAME, 1452e705c121SKalle Valo .id_table = iwl_hw_card_ids, 1453e705c121SKalle Valo .probe = iwl_pci_probe, 1454e705c121SKalle Valo .remove = iwl_pci_remove, 1455e705c121SKalle Valo .driver.pm = IWL_PM_OPS, 1456e705c121SKalle Valo }; 1457e705c121SKalle Valo 1458e705c121SKalle Valo int __must_check iwl_pci_register_driver(void) 1459e705c121SKalle Valo { 1460e705c121SKalle Valo int ret; 1461e705c121SKalle Valo ret = pci_register_driver(&iwl_pci_driver); 1462e705c121SKalle Valo if (ret) 1463e705c121SKalle Valo pr_err("Unable to initialize PCI module\n"); 1464e705c121SKalle Valo 1465e705c121SKalle Valo return ret; 1466e705c121SKalle Valo } 1467e705c121SKalle Valo 1468e705c121SKalle Valo void iwl_pci_unregister_driver(void) 1469e705c121SKalle Valo { 1470e705c121SKalle Valo pci_unregister_driver(&iwl_pci_driver); 1471e705c121SKalle Valo } 1472