18e99ea8dSJohannes Berg // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 28e99ea8dSJohannes Berg /* 38e99ea8dSJohannes Berg * Copyright (C) 2005-2014, 2018-2020 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 20e705c121SKalle Valo #define IWL_PCI_DEVICE(dev, subdev, cfg) \ 21e705c121SKalle Valo .vendor = PCI_VENDOR_ID_INTEL, .device = (dev), \ 22e705c121SKalle Valo .subvendor = PCI_ANY_ID, .subdevice = (subdev), \ 23e705c121SKalle Valo .driver_data = (kernel_ulong_t)&(cfg) 24e705c121SKalle Valo 25e705c121SKalle Valo /* Hardware specific file defines the PCI IDs table for that hardware module */ 26e705c121SKalle Valo static const struct pci_device_id iwl_hw_card_ids[] = { 27e705c121SKalle Valo #if IS_ENABLED(CONFIG_IWLDVM) 28e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1201, iwl5100_agn_cfg)}, /* Mini Card */ 29e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1301, iwl5100_agn_cfg)}, /* Half Mini Card */ 30e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1204, iwl5100_agn_cfg)}, /* Mini Card */ 31e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1304, iwl5100_agn_cfg)}, /* Half Mini Card */ 32e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1205, iwl5100_bgn_cfg)}, /* Mini Card */ 33e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1305, iwl5100_bgn_cfg)}, /* Half Mini Card */ 34e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1206, iwl5100_abg_cfg)}, /* Mini Card */ 35e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1306, iwl5100_abg_cfg)}, /* Half Mini Card */ 36e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1221, iwl5100_agn_cfg)}, /* Mini Card */ 37e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1321, iwl5100_agn_cfg)}, /* Half Mini Card */ 38e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1224, iwl5100_agn_cfg)}, /* Mini Card */ 39e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1324, iwl5100_agn_cfg)}, /* Half Mini Card */ 40e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1225, iwl5100_bgn_cfg)}, /* Mini Card */ 41e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1325, iwl5100_bgn_cfg)}, /* Half Mini Card */ 42e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1226, iwl5100_abg_cfg)}, /* Mini Card */ 43e705c121SKalle Valo {IWL_PCI_DEVICE(0x4232, 0x1326, iwl5100_abg_cfg)}, /* Half Mini Card */ 44e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1211, iwl5100_agn_cfg)}, /* Mini Card */ 45e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1311, iwl5100_agn_cfg)}, /* Half Mini Card */ 46e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1214, iwl5100_agn_cfg)}, /* Mini Card */ 47e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1314, iwl5100_agn_cfg)}, /* Half Mini Card */ 48e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1215, iwl5100_bgn_cfg)}, /* Mini Card */ 49e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1315, iwl5100_bgn_cfg)}, /* Half Mini Card */ 50e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1216, iwl5100_abg_cfg)}, /* Mini Card */ 51e705c121SKalle Valo {IWL_PCI_DEVICE(0x4237, 0x1316, iwl5100_abg_cfg)}, /* Half Mini Card */ 52e705c121SKalle Valo 53e705c121SKalle Valo /* 5300 Series WiFi */ 54e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1021, iwl5300_agn_cfg)}, /* Mini Card */ 55e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1121, iwl5300_agn_cfg)}, /* Half Mini Card */ 56e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1024, iwl5300_agn_cfg)}, /* Mini Card */ 57e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1124, iwl5300_agn_cfg)}, /* Half Mini Card */ 58e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1001, iwl5300_agn_cfg)}, /* Mini Card */ 59e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1101, iwl5300_agn_cfg)}, /* Half Mini Card */ 60e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1004, iwl5300_agn_cfg)}, /* Mini Card */ 61e705c121SKalle Valo {IWL_PCI_DEVICE(0x4235, 0x1104, iwl5300_agn_cfg)}, /* Half Mini Card */ 62e705c121SKalle Valo {IWL_PCI_DEVICE(0x4236, 0x1011, iwl5300_agn_cfg)}, /* Mini Card */ 63e705c121SKalle Valo {IWL_PCI_DEVICE(0x4236, 0x1111, iwl5300_agn_cfg)}, /* Half Mini Card */ 64e705c121SKalle Valo {IWL_PCI_DEVICE(0x4236, 0x1014, iwl5300_agn_cfg)}, /* Mini Card */ 65e705c121SKalle Valo {IWL_PCI_DEVICE(0x4236, 0x1114, iwl5300_agn_cfg)}, /* Half Mini Card */ 66e705c121SKalle Valo 67e705c121SKalle Valo /* 5350 Series WiFi/WiMax */ 68e705c121SKalle Valo {IWL_PCI_DEVICE(0x423A, 0x1001, iwl5350_agn_cfg)}, /* Mini Card */ 69e705c121SKalle Valo {IWL_PCI_DEVICE(0x423A, 0x1021, iwl5350_agn_cfg)}, /* Mini Card */ 70e705c121SKalle Valo {IWL_PCI_DEVICE(0x423B, 0x1011, iwl5350_agn_cfg)}, /* Mini Card */ 71e705c121SKalle Valo 72e705c121SKalle Valo /* 5150 Series Wifi/WiMax */ 73e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1201, iwl5150_agn_cfg)}, /* Mini Card */ 74e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1301, iwl5150_agn_cfg)}, /* Half Mini Card */ 75e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1206, iwl5150_abg_cfg)}, /* Mini Card */ 76e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1306, iwl5150_abg_cfg)}, /* Half Mini Card */ 77e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1221, iwl5150_agn_cfg)}, /* Mini Card */ 78e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1321, iwl5150_agn_cfg)}, /* Half Mini Card */ 79e705c121SKalle Valo {IWL_PCI_DEVICE(0x423C, 0x1326, iwl5150_abg_cfg)}, /* Half Mini Card */ 80e705c121SKalle Valo 81e705c121SKalle Valo {IWL_PCI_DEVICE(0x423D, 0x1211, iwl5150_agn_cfg)}, /* Mini Card */ 82e705c121SKalle Valo {IWL_PCI_DEVICE(0x423D, 0x1311, iwl5150_agn_cfg)}, /* Half Mini Card */ 83e705c121SKalle Valo {IWL_PCI_DEVICE(0x423D, 0x1216, iwl5150_abg_cfg)}, /* Mini Card */ 84e705c121SKalle Valo {IWL_PCI_DEVICE(0x423D, 0x1316, iwl5150_abg_cfg)}, /* Half Mini Card */ 85e705c121SKalle Valo 86e705c121SKalle Valo /* 6x00 Series */ 87e705c121SKalle Valo {IWL_PCI_DEVICE(0x422B, 0x1101, iwl6000_3agn_cfg)}, 88e705c121SKalle Valo {IWL_PCI_DEVICE(0x422B, 0x1108, iwl6000_3agn_cfg)}, 89e705c121SKalle Valo {IWL_PCI_DEVICE(0x422B, 0x1121, iwl6000_3agn_cfg)}, 90e705c121SKalle Valo {IWL_PCI_DEVICE(0x422B, 0x1128, iwl6000_3agn_cfg)}, 91e705c121SKalle Valo {IWL_PCI_DEVICE(0x422C, 0x1301, iwl6000i_2agn_cfg)}, 92e705c121SKalle Valo {IWL_PCI_DEVICE(0x422C, 0x1306, iwl6000i_2abg_cfg)}, 93e705c121SKalle Valo {IWL_PCI_DEVICE(0x422C, 0x1307, iwl6000i_2bg_cfg)}, 94e705c121SKalle Valo {IWL_PCI_DEVICE(0x422C, 0x1321, iwl6000i_2agn_cfg)}, 95e705c121SKalle Valo {IWL_PCI_DEVICE(0x422C, 0x1326, iwl6000i_2abg_cfg)}, 96e705c121SKalle Valo {IWL_PCI_DEVICE(0x4238, 0x1111, iwl6000_3agn_cfg)}, 97e705c121SKalle Valo {IWL_PCI_DEVICE(0x4238, 0x1118, iwl6000_3agn_cfg)}, 98e705c121SKalle Valo {IWL_PCI_DEVICE(0x4239, 0x1311, iwl6000i_2agn_cfg)}, 99e705c121SKalle Valo {IWL_PCI_DEVICE(0x4239, 0x1316, iwl6000i_2abg_cfg)}, 100e705c121SKalle Valo 101e705c121SKalle Valo /* 6x05 Series */ 102e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1301, iwl6005_2agn_cfg)}, 103e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1306, iwl6005_2abg_cfg)}, 104e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1307, iwl6005_2bg_cfg)}, 105e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1308, iwl6005_2agn_cfg)}, 106e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1321, iwl6005_2agn_cfg)}, 107e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1326, iwl6005_2abg_cfg)}, 108e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1328, iwl6005_2agn_cfg)}, 109e705c121SKalle Valo {IWL_PCI_DEVICE(0x0085, 0x1311, iwl6005_2agn_cfg)}, 110e705c121SKalle Valo {IWL_PCI_DEVICE(0x0085, 0x1318, iwl6005_2agn_cfg)}, 111e705c121SKalle Valo {IWL_PCI_DEVICE(0x0085, 0x1316, iwl6005_2abg_cfg)}, 112e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0xC020, iwl6005_2agn_sff_cfg)}, 113e705c121SKalle Valo {IWL_PCI_DEVICE(0x0085, 0xC220, iwl6005_2agn_sff_cfg)}, 114e705c121SKalle Valo {IWL_PCI_DEVICE(0x0085, 0xC228, iwl6005_2agn_sff_cfg)}, 115e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x4820, iwl6005_2agn_d_cfg)}, 116e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1304, iwl6005_2agn_mow1_cfg)},/* low 5GHz active */ 117e705c121SKalle Valo {IWL_PCI_DEVICE(0x0082, 0x1305, iwl6005_2agn_mow2_cfg)},/* high 5GHz active */ 118e705c121SKalle Valo 119e705c121SKalle Valo /* 6x30 Series */ 120e705c121SKalle Valo {IWL_PCI_DEVICE(0x008A, 0x5305, iwl1030_bgn_cfg)}, 121e705c121SKalle Valo {IWL_PCI_DEVICE(0x008A, 0x5307, iwl1030_bg_cfg)}, 122e705c121SKalle Valo {IWL_PCI_DEVICE(0x008A, 0x5325, iwl1030_bgn_cfg)}, 123e705c121SKalle Valo {IWL_PCI_DEVICE(0x008A, 0x5327, iwl1030_bg_cfg)}, 124e705c121SKalle Valo {IWL_PCI_DEVICE(0x008B, 0x5315, iwl1030_bgn_cfg)}, 125e705c121SKalle Valo {IWL_PCI_DEVICE(0x008B, 0x5317, iwl1030_bg_cfg)}, 126e705c121SKalle Valo {IWL_PCI_DEVICE(0x0090, 0x5211, iwl6030_2agn_cfg)}, 127e705c121SKalle Valo {IWL_PCI_DEVICE(0x0090, 0x5215, iwl6030_2bgn_cfg)}, 128e705c121SKalle Valo {IWL_PCI_DEVICE(0x0090, 0x5216, iwl6030_2abg_cfg)}, 129e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5201, iwl6030_2agn_cfg)}, 130e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5205, iwl6030_2bgn_cfg)}, 131e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5206, iwl6030_2abg_cfg)}, 132e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5207, iwl6030_2bg_cfg)}, 133e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5221, iwl6030_2agn_cfg)}, 134e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5225, iwl6030_2bgn_cfg)}, 135e705c121SKalle Valo {IWL_PCI_DEVICE(0x0091, 0x5226, iwl6030_2abg_cfg)}, 136e705c121SKalle Valo 137e705c121SKalle Valo /* 6x50 WiFi/WiMax Series */ 138e705c121SKalle Valo {IWL_PCI_DEVICE(0x0087, 0x1301, iwl6050_2agn_cfg)}, 139e705c121SKalle Valo {IWL_PCI_DEVICE(0x0087, 0x1306, iwl6050_2abg_cfg)}, 140e705c121SKalle Valo {IWL_PCI_DEVICE(0x0087, 0x1321, iwl6050_2agn_cfg)}, 141e705c121SKalle Valo {IWL_PCI_DEVICE(0x0087, 0x1326, iwl6050_2abg_cfg)}, 142e705c121SKalle Valo {IWL_PCI_DEVICE(0x0089, 0x1311, iwl6050_2agn_cfg)}, 143e705c121SKalle Valo {IWL_PCI_DEVICE(0x0089, 0x1316, iwl6050_2abg_cfg)}, 144e705c121SKalle Valo 145e705c121SKalle Valo /* 6150 WiFi/WiMax Series */ 146e705c121SKalle Valo {IWL_PCI_DEVICE(0x0885, 0x1305, iwl6150_bgn_cfg)}, 147e705c121SKalle Valo {IWL_PCI_DEVICE(0x0885, 0x1307, iwl6150_bg_cfg)}, 148e705c121SKalle Valo {IWL_PCI_DEVICE(0x0885, 0x1325, iwl6150_bgn_cfg)}, 149e705c121SKalle Valo {IWL_PCI_DEVICE(0x0885, 0x1327, iwl6150_bg_cfg)}, 150e705c121SKalle Valo {IWL_PCI_DEVICE(0x0886, 0x1315, iwl6150_bgn_cfg)}, 151e705c121SKalle Valo {IWL_PCI_DEVICE(0x0886, 0x1317, iwl6150_bg_cfg)}, 152e705c121SKalle Valo 153e705c121SKalle Valo /* 1000 Series WiFi */ 154e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1205, iwl1000_bgn_cfg)}, 155e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1305, iwl1000_bgn_cfg)}, 156e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1225, iwl1000_bgn_cfg)}, 157e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1325, iwl1000_bgn_cfg)}, 158e705c121SKalle Valo {IWL_PCI_DEVICE(0x0084, 0x1215, iwl1000_bgn_cfg)}, 159e705c121SKalle Valo {IWL_PCI_DEVICE(0x0084, 0x1315, iwl1000_bgn_cfg)}, 160e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1206, iwl1000_bg_cfg)}, 161e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1306, iwl1000_bg_cfg)}, 162e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1226, iwl1000_bg_cfg)}, 163e705c121SKalle Valo {IWL_PCI_DEVICE(0x0083, 0x1326, iwl1000_bg_cfg)}, 164e705c121SKalle Valo {IWL_PCI_DEVICE(0x0084, 0x1216, iwl1000_bg_cfg)}, 165e705c121SKalle Valo {IWL_PCI_DEVICE(0x0084, 0x1316, iwl1000_bg_cfg)}, 166e705c121SKalle Valo 167e705c121SKalle Valo /* 100 Series WiFi */ 168e705c121SKalle Valo {IWL_PCI_DEVICE(0x08AE, 0x1005, iwl100_bgn_cfg)}, 169e705c121SKalle Valo {IWL_PCI_DEVICE(0x08AE, 0x1007, iwl100_bg_cfg)}, 170e705c121SKalle Valo {IWL_PCI_DEVICE(0x08AF, 0x1015, iwl100_bgn_cfg)}, 171e705c121SKalle Valo {IWL_PCI_DEVICE(0x08AF, 0x1017, iwl100_bg_cfg)}, 172e705c121SKalle Valo {IWL_PCI_DEVICE(0x08AE, 0x1025, iwl100_bgn_cfg)}, 173e705c121SKalle Valo {IWL_PCI_DEVICE(0x08AE, 0x1027, iwl100_bg_cfg)}, 174e705c121SKalle Valo 175e705c121SKalle Valo /* 130 Series WiFi */ 176e705c121SKalle Valo {IWL_PCI_DEVICE(0x0896, 0x5005, iwl130_bgn_cfg)}, 177e705c121SKalle Valo {IWL_PCI_DEVICE(0x0896, 0x5007, iwl130_bg_cfg)}, 178e705c121SKalle Valo {IWL_PCI_DEVICE(0x0897, 0x5015, iwl130_bgn_cfg)}, 179e705c121SKalle Valo {IWL_PCI_DEVICE(0x0897, 0x5017, iwl130_bg_cfg)}, 180e705c121SKalle Valo {IWL_PCI_DEVICE(0x0896, 0x5025, iwl130_bgn_cfg)}, 181e705c121SKalle Valo {IWL_PCI_DEVICE(0x0896, 0x5027, iwl130_bg_cfg)}, 182e705c121SKalle Valo 183e705c121SKalle Valo /* 2x00 Series */ 184e705c121SKalle Valo {IWL_PCI_DEVICE(0x0890, 0x4022, iwl2000_2bgn_cfg)}, 185e705c121SKalle Valo {IWL_PCI_DEVICE(0x0891, 0x4222, iwl2000_2bgn_cfg)}, 186e705c121SKalle Valo {IWL_PCI_DEVICE(0x0890, 0x4422, iwl2000_2bgn_cfg)}, 187e705c121SKalle Valo {IWL_PCI_DEVICE(0x0890, 0x4822, iwl2000_2bgn_d_cfg)}, 188e705c121SKalle Valo 189e705c121SKalle Valo /* 2x30 Series */ 190e705c121SKalle Valo {IWL_PCI_DEVICE(0x0887, 0x4062, iwl2030_2bgn_cfg)}, 191e705c121SKalle Valo {IWL_PCI_DEVICE(0x0888, 0x4262, iwl2030_2bgn_cfg)}, 192e705c121SKalle Valo {IWL_PCI_DEVICE(0x0887, 0x4462, iwl2030_2bgn_cfg)}, 193e705c121SKalle Valo 194e705c121SKalle Valo /* 6x35 Series */ 195e705c121SKalle Valo {IWL_PCI_DEVICE(0x088E, 0x4060, iwl6035_2agn_cfg)}, 196e705c121SKalle Valo {IWL_PCI_DEVICE(0x088E, 0x406A, iwl6035_2agn_sff_cfg)}, 197e705c121SKalle Valo {IWL_PCI_DEVICE(0x088F, 0x4260, iwl6035_2agn_cfg)}, 198e705c121SKalle Valo {IWL_PCI_DEVICE(0x088F, 0x426A, iwl6035_2agn_sff_cfg)}, 199e705c121SKalle Valo {IWL_PCI_DEVICE(0x088E, 0x4460, iwl6035_2agn_cfg)}, 200e705c121SKalle Valo {IWL_PCI_DEVICE(0x088E, 0x446A, iwl6035_2agn_sff_cfg)}, 201e705c121SKalle Valo {IWL_PCI_DEVICE(0x088E, 0x4860, iwl6035_2agn_cfg)}, 202e705c121SKalle Valo {IWL_PCI_DEVICE(0x088F, 0x5260, iwl6035_2agn_cfg)}, 203e705c121SKalle Valo 204e705c121SKalle Valo /* 105 Series */ 205e705c121SKalle Valo {IWL_PCI_DEVICE(0x0894, 0x0022, iwl105_bgn_cfg)}, 206e705c121SKalle Valo {IWL_PCI_DEVICE(0x0895, 0x0222, iwl105_bgn_cfg)}, 207e705c121SKalle Valo {IWL_PCI_DEVICE(0x0894, 0x0422, iwl105_bgn_cfg)}, 208e705c121SKalle Valo {IWL_PCI_DEVICE(0x0894, 0x0822, iwl105_bgn_d_cfg)}, 209e705c121SKalle Valo 210e705c121SKalle Valo /* 135 Series */ 211e705c121SKalle Valo {IWL_PCI_DEVICE(0x0892, 0x0062, iwl135_bgn_cfg)}, 212e705c121SKalle Valo {IWL_PCI_DEVICE(0x0893, 0x0262, iwl135_bgn_cfg)}, 213e705c121SKalle Valo {IWL_PCI_DEVICE(0x0892, 0x0462, iwl135_bgn_cfg)}, 214e705c121SKalle Valo #endif /* CONFIG_IWLDVM */ 215e705c121SKalle Valo 216e705c121SKalle Valo #if IS_ENABLED(CONFIG_IWLMVM) 217e705c121SKalle Valo /* 7260 Series */ 218e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4070, iwl7260_2ac_cfg)}, 219e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4072, iwl7260_2ac_cfg)}, 220e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4170, iwl7260_2ac_cfg)}, 221e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4C60, iwl7260_2ac_cfg)}, 222e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4C70, iwl7260_2ac_cfg)}, 223e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4060, iwl7260_2n_cfg)}, 224e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x406A, iwl7260_2n_cfg)}, 225e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4160, iwl7260_2n_cfg)}, 226e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4062, iwl7260_n_cfg)}, 227e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4162, iwl7260_n_cfg)}, 228e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4270, iwl7260_2ac_cfg)}, 229e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4272, iwl7260_2ac_cfg)}, 230e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4260, iwl7260_2n_cfg)}, 231e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x426A, iwl7260_2n_cfg)}, 232e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4262, iwl7260_n_cfg)}, 233e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4470, iwl7260_2ac_cfg)}, 234e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4472, iwl7260_2ac_cfg)}, 235e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4460, iwl7260_2n_cfg)}, 236e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x446A, iwl7260_2n_cfg)}, 237e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4462, iwl7260_n_cfg)}, 238e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4870, iwl7260_2ac_cfg)}, 239e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x486E, iwl7260_2ac_cfg)}, 240e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4A70, iwl7260_2ac_cfg_high_temp)}, 241e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4A6E, iwl7260_2ac_cfg_high_temp)}, 242e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4A6C, iwl7260_2ac_cfg_high_temp)}, 243e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4570, iwl7260_2ac_cfg)}, 244e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4560, iwl7260_2n_cfg)}, 245e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4370, iwl7260_2ac_cfg)}, 246e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4360, iwl7260_2n_cfg)}, 247e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x5070, iwl7260_2ac_cfg)}, 248e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x5072, iwl7260_2ac_cfg)}, 249e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x5170, iwl7260_2ac_cfg)}, 250e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x5770, iwl7260_2ac_cfg)}, 251e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4020, iwl7260_2n_cfg)}, 252e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x402A, iwl7260_2n_cfg)}, 253e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0x4220, iwl7260_2n_cfg)}, 254e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0x4420, iwl7260_2n_cfg)}, 255e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC070, iwl7260_2ac_cfg)}, 256e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC072, iwl7260_2ac_cfg)}, 257e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC170, iwl7260_2ac_cfg)}, 258e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC060, iwl7260_2n_cfg)}, 259e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC06A, iwl7260_2n_cfg)}, 260e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC160, iwl7260_2n_cfg)}, 261e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC062, iwl7260_n_cfg)}, 262e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC162, iwl7260_n_cfg)}, 263e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC770, iwl7260_2ac_cfg)}, 264e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC760, iwl7260_2n_cfg)}, 265e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC270, iwl7260_2ac_cfg)}, 266e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xCC70, iwl7260_2ac_cfg)}, 267e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xCC60, iwl7260_2ac_cfg)}, 268e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC272, iwl7260_2ac_cfg)}, 269e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC260, iwl7260_2n_cfg)}, 270e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC26A, iwl7260_n_cfg)}, 271e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC262, iwl7260_n_cfg)}, 272e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC470, iwl7260_2ac_cfg)}, 273e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC472, iwl7260_2ac_cfg)}, 274e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC460, iwl7260_2n_cfg)}, 275e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC462, iwl7260_n_cfg)}, 276e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC570, iwl7260_2ac_cfg)}, 277e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC560, iwl7260_2n_cfg)}, 278e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC370, iwl7260_2ac_cfg)}, 279e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC360, iwl7260_2n_cfg)}, 280e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC020, iwl7260_2n_cfg)}, 281e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC02A, iwl7260_2n_cfg)}, 282e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B2, 0xC220, iwl7260_2n_cfg)}, 283e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B1, 0xC420, iwl7260_2n_cfg)}, 284e705c121SKalle Valo 285e705c121SKalle Valo /* 3160 Series */ 286e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0070, iwl3160_2ac_cfg)}, 287e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0072, iwl3160_2ac_cfg)}, 288e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0170, iwl3160_2ac_cfg)}, 289e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0172, iwl3160_2ac_cfg)}, 290e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0060, iwl3160_2n_cfg)}, 291e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0062, iwl3160_n_cfg)}, 292e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B4, 0x0270, iwl3160_2ac_cfg)}, 293e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B4, 0x0272, iwl3160_2ac_cfg)}, 294e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0470, iwl3160_2ac_cfg)}, 295e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x0472, iwl3160_2ac_cfg)}, 296e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B4, 0x0370, iwl3160_2ac_cfg)}, 297e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8070, iwl3160_2ac_cfg)}, 298e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8072, iwl3160_2ac_cfg)}, 299e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8170, iwl3160_2ac_cfg)}, 300e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8172, iwl3160_2ac_cfg)}, 301e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8060, iwl3160_2n_cfg)}, 302e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8062, iwl3160_n_cfg)}, 303e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B4, 0x8270, iwl3160_2ac_cfg)}, 304e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B4, 0x8370, iwl3160_2ac_cfg)}, 305e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B4, 0x8272, iwl3160_2ac_cfg)}, 306e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8470, iwl3160_2ac_cfg)}, 307e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x8570, iwl3160_2ac_cfg)}, 308e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x1070, iwl3160_2ac_cfg)}, 309e705c121SKalle Valo {IWL_PCI_DEVICE(0x08B3, 0x1170, iwl3160_2ac_cfg)}, 310e705c121SKalle Valo 311e705c121SKalle Valo /* 3165 Series */ 312e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x4010, iwl3165_2ac_cfg)}, 313e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x4012, iwl3165_2ac_cfg)}, 314e705c121SKalle Valo {IWL_PCI_DEVICE(0x3166, 0x4212, iwl3165_2ac_cfg)}, 315e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x4410, iwl3165_2ac_cfg)}, 316e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x4510, iwl3165_2ac_cfg)}, 317e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x4110, iwl3165_2ac_cfg)}, 318e705c121SKalle Valo {IWL_PCI_DEVICE(0x3166, 0x4310, iwl3165_2ac_cfg)}, 319e705c121SKalle Valo {IWL_PCI_DEVICE(0x3166, 0x4210, iwl3165_2ac_cfg)}, 320e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x8010, iwl3165_2ac_cfg)}, 321e705c121SKalle Valo {IWL_PCI_DEVICE(0x3165, 0x8110, iwl3165_2ac_cfg)}, 322e705c121SKalle Valo 323c4836b05SOren Givon /* 3168 Series */ 3247b08c67fSOren Givon {IWL_PCI_DEVICE(0x24FB, 0x2010, iwl3168_2ac_cfg)}, 325c4836b05SOren Givon {IWL_PCI_DEVICE(0x24FB, 0x2110, iwl3168_2ac_cfg)}, 3267b08c67fSOren Givon {IWL_PCI_DEVICE(0x24FB, 0x2050, iwl3168_2ac_cfg)}, 3277b08c67fSOren Givon {IWL_PCI_DEVICE(0x24FB, 0x2150, iwl3168_2ac_cfg)}, 328c4836b05SOren Givon {IWL_PCI_DEVICE(0x24FB, 0x0000, iwl3168_2ac_cfg)}, 329c4836b05SOren Givon 330e705c121SKalle Valo /* 7265 Series */ 331e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5010, iwl7265_2ac_cfg)}, 332e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5110, iwl7265_2ac_cfg)}, 333e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5100, iwl7265_2ac_cfg)}, 334e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5310, iwl7265_2ac_cfg)}, 335e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5302, iwl7265_n_cfg)}, 336e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5210, iwl7265_2ac_cfg)}, 337006bda75SOren Givon {IWL_PCI_DEVICE(0x095A, 0x5C10, iwl7265_2ac_cfg)}, 338e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5012, iwl7265_2ac_cfg)}, 339e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5412, iwl7265_2ac_cfg)}, 340e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5410, iwl7265_2ac_cfg)}, 341e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5510, iwl7265_2ac_cfg)}, 342e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5400, iwl7265_2ac_cfg)}, 343e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x1010, iwl7265_2ac_cfg)}, 344e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5000, iwl7265_2n_cfg)}, 345e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x500A, iwl7265_2n_cfg)}, 346e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5200, iwl7265_2n_cfg)}, 347e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5002, iwl7265_n_cfg)}, 348e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5102, iwl7265_n_cfg)}, 349e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5202, iwl7265_n_cfg)}, 350e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9010, iwl7265_2ac_cfg)}, 351e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9012, iwl7265_2ac_cfg)}, 352e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x900A, iwl7265_2ac_cfg)}, 353e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9110, iwl7265_2ac_cfg)}, 354e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9112, iwl7265_2ac_cfg)}, 355006bda75SOren Givon {IWL_PCI_DEVICE(0x095B, 0x9210, iwl7265_2ac_cfg)}, 356e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x9200, iwl7265_2ac_cfg)}, 357e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9510, iwl7265_2ac_cfg)}, 358006bda75SOren Givon {IWL_PCI_DEVICE(0x095B, 0x9310, iwl7265_2ac_cfg)}, 359e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9410, iwl7265_2ac_cfg)}, 360e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5020, iwl7265_2n_cfg)}, 361e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x502A, iwl7265_2n_cfg)}, 362e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5420, iwl7265_2n_cfg)}, 363e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5090, iwl7265_2ac_cfg)}, 364e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5190, iwl7265_2ac_cfg)}, 365e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5590, iwl7265_2ac_cfg)}, 366e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5290, iwl7265_2ac_cfg)}, 367e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5490, iwl7265_2ac_cfg)}, 368e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x5F10, iwl7265_2ac_cfg)}, 369e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x5212, iwl7265_2ac_cfg)}, 370e705c121SKalle Valo {IWL_PCI_DEVICE(0x095B, 0x520A, iwl7265_2ac_cfg)}, 371e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9000, iwl7265_2ac_cfg)}, 372e705c121SKalle Valo {IWL_PCI_DEVICE(0x095A, 0x9400, iwl7265_2ac_cfg)}, 3733f7a5e13SLuca Coelho {IWL_PCI_DEVICE(0x095A, 0x9E10, iwl7265_2ac_cfg)}, 374e705c121SKalle Valo 375e705c121SKalle Valo /* 8000 Series */ 376e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0010, iwl8260_2ac_cfg)}, 377e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x1010, iwl8260_2ac_cfg)}, 3784b79deecSOren Givon {IWL_PCI_DEVICE(0x24F3, 0x10B0, iwl8260_2ac_cfg)}, 3794615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x0130, iwl8260_2ac_cfg)}, 3804615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x1130, iwl8260_2ac_cfg)}, 3814615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x0132, iwl8260_2ac_cfg)}, 3824615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x1132, iwl8260_2ac_cfg)}, 383e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0110, iwl8260_2ac_cfg)}, 3844615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x01F0, iwl8260_2ac_cfg)}, 3854615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x0012, iwl8260_2ac_cfg)}, 3864615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x1012, iwl8260_2ac_cfg)}, 387e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x1110, iwl8260_2ac_cfg)}, 388e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0050, iwl8260_2ac_cfg)}, 389e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0250, iwl8260_2ac_cfg)}, 390e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x1050, iwl8260_2ac_cfg)}, 391e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0150, iwl8260_2ac_cfg)}, 3924615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x1150, iwl8260_2ac_cfg)}, 393e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F4, 0x0030, iwl8260_2ac_cfg)}, 394e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F4, 0x1030, iwl8260_2ac_cfg)}, 395e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0xC010, iwl8260_2ac_cfg)}, 396e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0xC110, iwl8260_2ac_cfg)}, 397e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0xD010, iwl8260_2ac_cfg)}, 398e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0xC050, iwl8260_2ac_cfg)}, 399e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0xD050, iwl8260_2ac_cfg)}, 4004b79deecSOren Givon {IWL_PCI_DEVICE(0x24F3, 0xD0B0, iwl8260_2ac_cfg)}, 4014b79deecSOren Givon {IWL_PCI_DEVICE(0x24F3, 0xB0B0, iwl8260_2ac_cfg)}, 402e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x8010, iwl8260_2ac_cfg)}, 4034615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x8110, iwl8260_2ac_cfg)}, 404e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x9010, iwl8260_2ac_cfg)}, 4054615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x9110, iwl8260_2ac_cfg)}, 406e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F4, 0x8030, iwl8260_2ac_cfg)}, 407e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F4, 0x9030, iwl8260_2ac_cfg)}, 408d669fc2dSIhab Zhaika {IWL_PCI_DEVICE(0x24F4, 0xC030, iwl8260_2ac_cfg)}, 409d669fc2dSIhab Zhaika {IWL_PCI_DEVICE(0x24F4, 0xD030, iwl8260_2ac_cfg)}, 4104615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x8130, iwl8260_2ac_cfg)}, 4114615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x9130, iwl8260_2ac_cfg)}, 4124615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x8132, iwl8260_2ac_cfg)}, 4134615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x9132, iwl8260_2ac_cfg)}, 414e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x8050, iwl8260_2ac_cfg)}, 4154615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x8150, iwl8260_2ac_cfg)}, 416e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x9050, iwl8260_2ac_cfg)}, 4174615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x9150, iwl8260_2ac_cfg)}, 418e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0004, iwl8260_2n_cfg)}, 4194615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x0044, iwl8260_2n_cfg)}, 420e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F5, 0x0010, iwl4165_2ac_cfg)}, 421e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F6, 0x0030, iwl4165_2ac_cfg)}, 422e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0810, iwl8260_2ac_cfg)}, 423e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0910, iwl8260_2ac_cfg)}, 424e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0850, iwl8260_2ac_cfg)}, 425e705c121SKalle Valo {IWL_PCI_DEVICE(0x24F3, 0x0950, iwl8260_2ac_cfg)}, 4264615fd15SEmmanuel Grumbach {IWL_PCI_DEVICE(0x24F3, 0x0930, iwl8260_2ac_cfg)}, 4278d0e4f8fSOren Givon {IWL_PCI_DEVICE(0x24F3, 0x0000, iwl8265_2ac_cfg)}, 428d669fc2dSIhab Zhaika {IWL_PCI_DEVICE(0x24F3, 0x4010, iwl8260_2ac_cfg)}, 429abf10f86SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0010, iwl8265_2ac_cfg)}, 430d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0110, iwl8265_2ac_cfg)}, 431d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x1110, iwl8265_2ac_cfg)}, 432f24bbae5SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x1130, iwl8265_2ac_cfg)}, 433f24bbae5SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0130, iwl8265_2ac_cfg)}, 434d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x1010, iwl8265_2ac_cfg)}, 4358b6607ccSOren Givon {IWL_PCI_DEVICE(0x24FD, 0x10D0, iwl8265_2ac_cfg)}, 436d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0050, iwl8265_2ac_cfg)}, 437d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0150, iwl8265_2ac_cfg)}, 438d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x9010, iwl8265_2ac_cfg)}, 439d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x8110, iwl8265_2ac_cfg)}, 440d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x8050, iwl8265_2ac_cfg)}, 4418d0e4f8fSOren Givon {IWL_PCI_DEVICE(0x24FD, 0x8010, iwl8265_2ac_cfg)}, 4429baa0398SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0810, iwl8265_2ac_cfg)}, 443d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x9110, iwl8265_2ac_cfg)}, 444d34475b9SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x8130, iwl8265_2ac_cfg)}, 445f24bbae5SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0910, iwl8265_2ac_cfg)}, 446f24bbae5SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0930, iwl8265_2ac_cfg)}, 447f24bbae5SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0950, iwl8265_2ac_cfg)}, 448f24bbae5SOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0850, iwl8265_2ac_cfg)}, 449f2758893STzipi Peres {IWL_PCI_DEVICE(0x24FD, 0x1014, iwl8265_2ac_cfg)}, 450f2758893STzipi Peres {IWL_PCI_DEVICE(0x24FD, 0x3E02, iwl8275_2ac_cfg)}, 451f2758893STzipi Peres {IWL_PCI_DEVICE(0x24FD, 0x3E01, iwl8275_2ac_cfg)}, 452f2758893STzipi Peres {IWL_PCI_DEVICE(0x24FD, 0x1012, iwl8275_2ac_cfg)}, 453a3e939dfSOren Givon {IWL_PCI_DEVICE(0x24FD, 0x0012, iwl8275_2ac_cfg)}, 4547cddbef4SIhab Zhaika {IWL_PCI_DEVICE(0x24FD, 0x0014, iwl8265_2ac_cfg)}, 4557cddbef4SIhab Zhaika {IWL_PCI_DEVICE(0x24FD, 0x9074, iwl8265_2ac_cfg)}, 45689374fe6SDreyfuss, Haim 45789374fe6SDreyfuss, Haim /* 9000 Series */ 45832ed101aSLuca Coelho {IWL_PCI_DEVICE(0x2526, PCI_ANY_ID, iwl9000_trans_cfg)}, 459a48d400cSLuca Coelho {IWL_PCI_DEVICE(0x271B, PCI_ANY_ID, iwl9000_trans_cfg)}, 460a48d400cSLuca Coelho {IWL_PCI_DEVICE(0x271C, PCI_ANY_ID, iwl9000_trans_cfg)}, 46124436191SLuca Coelho {IWL_PCI_DEVICE(0x30DC, PCI_ANY_ID, iwl9560_long_latency_trans_cfg)}, 46232ed101aSLuca Coelho {IWL_PCI_DEVICE(0x31DC, PCI_ANY_ID, iwl9560_shared_clk_trans_cfg)}, 46332ed101aSLuca Coelho {IWL_PCI_DEVICE(0x9DF0, PCI_ANY_ID, iwl9560_trans_cfg)}, 46432ed101aSLuca Coelho {IWL_PCI_DEVICE(0xA370, PCI_ANY_ID, iwl9560_trans_cfg)}, 465ab27926dSLuca Coelho 46632ed101aSLuca Coelho /* Qu devices */ 46732ed101aSLuca Coelho {IWL_PCI_DEVICE(0x02F0, PCI_ANY_ID, iwl_qu_trans_cfg)}, 46832ed101aSLuca Coelho {IWL_PCI_DEVICE(0x06F0, PCI_ANY_ID, iwl_qu_trans_cfg)}, 4699c9613f0SLuca Coelho 4709c9613f0SLuca Coelho {IWL_PCI_DEVICE(0x34F0, PCI_ANY_ID, iwl_qu_medium_latency_trans_cfg)}, 4719c9613f0SLuca Coelho {IWL_PCI_DEVICE(0x3DF0, PCI_ANY_ID, iwl_qu_medium_latency_trans_cfg)}, 4729c9613f0SLuca Coelho {IWL_PCI_DEVICE(0x4DF0, PCI_ANY_ID, iwl_qu_medium_latency_trans_cfg)}, 473a72abfcaSLuca Coelho 474a72abfcaSLuca Coelho {IWL_PCI_DEVICE(0x43F0, PCI_ANY_ID, iwl_qu_long_latency_trans_cfg)}, 475a72abfcaSLuca Coelho {IWL_PCI_DEVICE(0xA0F0, PCI_ANY_ID, iwl_qu_long_latency_trans_cfg)}, 476aa0cc7ddSLuca Coelho 477612509d6SLuca Coelho {IWL_PCI_DEVICE(0x2720, PCI_ANY_ID, iwl_qnj_trans_cfg)}, 478e34d975eSHaim Dreyfuss 4795e003982SLuca Coelho {IWL_PCI_DEVICE(0x2723, PCI_ANY_ID, iwl_ax200_trans_cfg)}, 4805e003982SLuca Coelho 4816f60fb03SLuca Coelho /* So devices */ 4826f60fb03SLuca Coelho {IWL_PCI_DEVICE(0x2725, PCI_ANY_ID, iwl_so_trans_cfg)}, 4836f60fb03SLuca Coelho {IWL_PCI_DEVICE(0x2726, PCI_ANY_ID, iwl_snj_trans_cfg)}, 4846f60fb03SLuca Coelho {IWL_PCI_DEVICE(0x7A70, PCI_ANY_ID, iwl_so_long_latency_trans_cfg)}, 4856f60fb03SLuca Coelho {IWL_PCI_DEVICE(0x7AF0, PCI_ANY_ID, iwl_so_trans_cfg)}, 4866f60fb03SLuca Coelho {IWL_PCI_DEVICE(0x51F0, PCI_ANY_ID, iwl_so_long_latency_trans_cfg)}, 4876f60fb03SLuca Coelho {IWL_PCI_DEVICE(0x54F0, PCI_ANY_ID, iwl_so_long_latency_trans_cfg)}, 488ff911dcaSShaul Triebitz 489bc9296f4SIhab Zhaika /* Ma devices */ 490bc9296f4SIhab Zhaika {IWL_PCI_DEVICE(0x2729, PCI_ANY_ID, iwl_ma_trans_cfg)}, 4911c094e5eSMatti Gottlieb {IWL_PCI_DEVICE(0x7E40, PCI_ANY_ID, iwl_ma_trans_cfg)}, 492bc9296f4SIhab Zhaika 4932be05dfdSMatti Gottlieb /* Bz devices */ 4942be05dfdSMatti Gottlieb {IWL_PCI_DEVICE(0x2727, PCI_ANY_ID, iwl_bz_trans_cfg)}, 495e705c121SKalle Valo #endif /* CONFIG_IWLMVM */ 496e705c121SKalle Valo 497e705c121SKalle Valo {0} 498e705c121SKalle Valo }; 499e705c121SKalle Valo MODULE_DEVICE_TABLE(pci, iwl_hw_card_ids); 500e705c121SKalle Valo 501be2f6886SLuca Coelho #define _IWL_DEV_INFO(_device, _subdevice, _mac_type, _mac_step, _rf_type, \ 502b964bfd0SMatti Gottlieb _rf_id, _no_160, _cores, _cdb, _cfg, _name) \ 5030b295a1eSLuca Coelho { .device = (_device), .subdevice = (_subdevice), .cfg = &(_cfg), \ 504d6f2134aSLuca Coelho .name = _name, .mac_type = _mac_type, .rf_type = _rf_type, \ 505be2f6886SLuca Coelho .no_160 = _no_160, .cores = _cores, .rf_id = _rf_id, \ 506b964bfd0SMatti Gottlieb .mac_step = _mac_step, .cdb = _cdb } 507d6f2134aSLuca Coelho 508d6f2134aSLuca Coelho #define IWL_DEV_INFO(_device, _subdevice, _cfg, _name) \ 509d6f2134aSLuca Coelho _IWL_DEV_INFO(_device, _subdevice, IWL_CFG_ANY, IWL_CFG_ANY, \ 510be2f6886SLuca Coelho IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_ANY, \ 511b964bfd0SMatti Gottlieb IWL_CFG_NO_CDB, _cfg, _name) 5122a612a60SLuca Coelho 5132a612a60SLuca Coelho static const struct iwl_dev_info iwl_dev_info_table[] = { 5142a612a60SLuca Coelho #if IS_ENABLED(CONFIG_IWLMVM) 5155e003982SLuca Coelho /* 9000 */ 51667eb556dSLuca Coelho IWL_DEV_INFO(0x2526, 0x1550, iwl9260_2ac_cfg, iwl9260_killer_1550_name), 51767eb556dSLuca Coelho IWL_DEV_INFO(0x2526, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_name), 51867eb556dSLuca Coelho IWL_DEV_INFO(0x2526, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name), 519c8685937SLuca Coelho IWL_DEV_INFO(0x30DC, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_name), 520c8685937SLuca Coelho IWL_DEV_INFO(0x30DC, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name), 5217897dfa2SLuca Coelho IWL_DEV_INFO(0x31DC, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_name), 5227897dfa2SLuca Coelho IWL_DEV_INFO(0x31DC, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name), 523b5ba46b8SAlessio Bonfiglio IWL_DEV_INFO(0xA370, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_name), 524b5ba46b8SAlessio Bonfiglio IWL_DEV_INFO(0xA370, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name), 525d6f2134aSLuca Coelho 52655cf5fb9SLuca Coelho IWL_DEV_INFO(0x271C, 0x0214, iwl9260_2ac_cfg, iwl9260_1_name), 52755cf5fb9SLuca Coelho 52832ed101aSLuca Coelho /* AX200 */ 52932ed101aSLuca Coelho IWL_DEV_INFO(0x2723, 0x1653, iwl_ax200_cfg_cc, iwl_ax200_killer_1650w_name), 53032ed101aSLuca Coelho IWL_DEV_INFO(0x2723, 0x1654, iwl_ax200_cfg_cc, iwl_ax200_killer_1650x_name), 53132ed101aSLuca Coelho IWL_DEV_INFO(0x2723, IWL_CFG_ANY, iwl_ax200_cfg_cc, iwl_ax200_name), 53232ed101aSLuca Coelho 53332ed101aSLuca Coelho /* Qu with Hr */ 53432ed101aSLuca Coelho IWL_DEV_INFO(0x43F0, 0x0070, iwl_ax201_cfg_qu_hr, NULL), 53532ed101aSLuca Coelho IWL_DEV_INFO(0x43F0, 0x0074, iwl_ax201_cfg_qu_hr, NULL), 53632ed101aSLuca Coelho IWL_DEV_INFO(0x43F0, 0x0078, iwl_ax201_cfg_qu_hr, NULL), 53732ed101aSLuca Coelho IWL_DEV_INFO(0x43F0, 0x007C, iwl_ax201_cfg_qu_hr, NULL), 53832ed101aSLuca Coelho IWL_DEV_INFO(0x43F0, 0x2074, iwl_ax201_cfg_qu_hr, NULL), 53932ed101aSLuca Coelho IWL_DEV_INFO(0x43F0, 0x4070, iwl_ax201_cfg_qu_hr, NULL), 54032ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x0070, iwl_ax201_cfg_qu_hr, NULL), 54132ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x0074, iwl_ax201_cfg_qu_hr, NULL), 54232ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x0078, iwl_ax201_cfg_qu_hr, NULL), 54332ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x007C, iwl_ax201_cfg_qu_hr, NULL), 54432ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x0A10, iwl_ax201_cfg_qu_hr, NULL), 54532ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL), 54632ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, NULL), 54732ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x2074, iwl_ax201_cfg_qu_hr, NULL), 54832ed101aSLuca Coelho IWL_DEV_INFO(0xA0F0, 0x4070, iwl_ax201_cfg_qu_hr, NULL), 54932ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x0070, iwl_ax201_cfg_quz_hr, NULL), 55032ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x0074, iwl_ax201_cfg_quz_hr, NULL), 55143dc85b5SGolan Ben Ami IWL_DEV_INFO(0x02F0, 0x6074, iwl_ax201_cfg_quz_hr, NULL), 55232ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x0078, iwl_ax201_cfg_quz_hr, NULL), 55332ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x007C, iwl_ax201_cfg_quz_hr, NULL), 55432ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x0310, iwl_ax201_cfg_quz_hr, NULL), 55532ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x1651, iwl_ax1650s_cfg_quz_hr, NULL), 55632ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x1652, iwl_ax1650i_cfg_quz_hr, NULL), 55732ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x2074, iwl_ax201_cfg_quz_hr, NULL), 55832ed101aSLuca Coelho IWL_DEV_INFO(0x02F0, 0x4070, iwl_ax201_cfg_quz_hr, NULL), 55932ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x0070, iwl_ax201_cfg_quz_hr, NULL), 56032ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x0074, iwl_ax201_cfg_quz_hr, NULL), 56132ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x0078, iwl_ax201_cfg_quz_hr, NULL), 56232ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x007C, iwl_ax201_cfg_quz_hr, NULL), 56332ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x0310, iwl_ax201_cfg_quz_hr, NULL), 56432ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x1651, iwl_ax1650s_cfg_quz_hr, NULL), 56532ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x1652, iwl_ax1650i_cfg_quz_hr, NULL), 56632ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x2074, iwl_ax201_cfg_quz_hr, NULL), 56732ed101aSLuca Coelho IWL_DEV_INFO(0x06F0, 0x4070, iwl_ax201_cfg_quz_hr, NULL), 56832ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x0070, iwl_ax201_cfg_qu_hr, NULL), 56932ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x0074, iwl_ax201_cfg_qu_hr, NULL), 57032ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x0078, iwl_ax201_cfg_qu_hr, NULL), 57132ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x007C, iwl_ax201_cfg_qu_hr, NULL), 57232ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x0310, iwl_ax201_cfg_qu_hr, NULL), 57332ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL), 57432ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, NULL), 57532ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x2074, iwl_ax201_cfg_qu_hr, NULL), 57632ed101aSLuca Coelho IWL_DEV_INFO(0x34F0, 0x4070, iwl_ax201_cfg_qu_hr, NULL), 57732ed101aSLuca Coelho 57832ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x0070, iwl_ax201_cfg_qu_hr, NULL), 57932ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x0074, iwl_ax201_cfg_qu_hr, NULL), 58032ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x0078, iwl_ax201_cfg_qu_hr, NULL), 58132ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x007C, iwl_ax201_cfg_qu_hr, NULL), 58232ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x0310, iwl_ax201_cfg_qu_hr, NULL), 58332ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL), 58432ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, NULL), 58532ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x2074, iwl_ax201_cfg_qu_hr, NULL), 58632ed101aSLuca Coelho IWL_DEV_INFO(0x3DF0, 0x4070, iwl_ax201_cfg_qu_hr, NULL), 58732ed101aSLuca Coelho 5884ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x0070, iwl_ax201_cfg_qu_hr, NULL), 5894ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x0074, iwl_ax201_cfg_qu_hr, NULL), 5904ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x0078, iwl_ax201_cfg_qu_hr, NULL), 5914ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x007C, iwl_ax201_cfg_qu_hr, NULL), 5924ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x0310, iwl_ax201_cfg_qu_hr, NULL), 5934ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL), 5944ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, NULL), 5954ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x2074, iwl_ax201_cfg_qu_hr, NULL), 5964ee27eddSLuca Coelho IWL_DEV_INFO(0x4DF0, 0x4070, iwl_ax201_cfg_qu_hr, NULL), 59797195d3cSMatt Chen IWL_DEV_INFO(0x4DF0, 0x6074, iwl_ax201_cfg_qu_hr, NULL), 598612509d6SLuca Coelho 5996f60fb03SLuca Coelho /* So with HR */ 6006f60fb03SLuca Coelho IWL_DEV_INFO(0x2725, 0x0090, iwlax211_2ax_cfg_so_gf_a0, NULL), 6016f60fb03SLuca Coelho IWL_DEV_INFO(0x2725, 0x0020, iwlax210_2ax_cfg_ty_gf_a0, NULL), 602806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0x2020, iwlax210_2ax_cfg_ty_gf_a0, NULL), 603806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0x0024, iwlax210_2ax_cfg_ty_gf_a0, NULL), 6046f60fb03SLuca Coelho IWL_DEV_INFO(0x2725, 0x0310, iwlax210_2ax_cfg_ty_gf_a0, NULL), 6056f60fb03SLuca Coelho IWL_DEV_INFO(0x2725, 0x0510, iwlax210_2ax_cfg_ty_gf_a0, NULL), 6066f60fb03SLuca Coelho IWL_DEV_INFO(0x2725, 0x0A10, iwlax210_2ax_cfg_ty_gf_a0, NULL), 607806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0xE020, iwlax210_2ax_cfg_ty_gf_a0, NULL), 608806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0xE024, iwlax210_2ax_cfg_ty_gf_a0, NULL), 609806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0x4020, iwlax210_2ax_cfg_ty_gf_a0, NULL), 610806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0x6020, iwlax210_2ax_cfg_ty_gf_a0, NULL), 611806832c9SLuca Coelho IWL_DEV_INFO(0x2725, 0x6024, iwlax210_2ax_cfg_ty_gf_a0, NULL), 6126f60fb03SLuca Coelho IWL_DEV_INFO(0x7A70, 0x0090, iwlax211_2ax_cfg_so_gf_a0_long, NULL), 6136f60fb03SLuca Coelho IWL_DEV_INFO(0x7A70, 0x0098, iwlax211_2ax_cfg_so_gf_a0_long, NULL), 6146f60fb03SLuca Coelho IWL_DEV_INFO(0x7A70, 0x00B0, iwlax411_2ax_cfg_so_gf4_a0_long, NULL), 6156f60fb03SLuca Coelho IWL_DEV_INFO(0x7A70, 0x0310, iwlax211_2ax_cfg_so_gf_a0_long, NULL), 6166f60fb03SLuca Coelho IWL_DEV_INFO(0x7A70, 0x0510, iwlax211_2ax_cfg_so_gf_a0_long, NULL), 6176f60fb03SLuca Coelho IWL_DEV_INFO(0x7A70, 0x0A10, iwlax211_2ax_cfg_so_gf_a0_long, NULL), 6186f60fb03SLuca Coelho IWL_DEV_INFO(0x7AF0, 0x0090, iwlax211_2ax_cfg_so_gf_a0, NULL), 6196f60fb03SLuca Coelho IWL_DEV_INFO(0x7AF0, 0x0098, iwlax211_2ax_cfg_so_gf_a0, NULL), 6206f60fb03SLuca Coelho IWL_DEV_INFO(0x7AF0, 0x00B0, iwlax411_2ax_cfg_so_gf4_a0, NULL), 6216f60fb03SLuca Coelho IWL_DEV_INFO(0x7AF0, 0x0310, iwlax211_2ax_cfg_so_gf_a0, NULL), 6226f60fb03SLuca Coelho IWL_DEV_INFO(0x7AF0, 0x0510, iwlax211_2ax_cfg_so_gf_a0, NULL), 6236f60fb03SLuca Coelho IWL_DEV_INFO(0x7AF0, 0x0A10, iwlax211_2ax_cfg_so_gf_a0, NULL), 6246f60fb03SLuca Coelho 6256f60fb03SLuca Coelho /* SnJ with HR */ 6266f60fb03SLuca Coelho IWL_DEV_INFO(0x2725, 0x00B0, iwlax411_2ax_cfg_sosnj_gf4_a0, NULL), 6276f60fb03SLuca Coelho IWL_DEV_INFO(0x2726, 0x0090, iwlax211_cfg_snj_gf_a0, NULL), 6286f60fb03SLuca Coelho IWL_DEV_INFO(0x2726, 0x0098, iwlax211_cfg_snj_gf_a0, NULL), 6296f60fb03SLuca Coelho IWL_DEV_INFO(0x2726, 0x00B0, iwlax411_2ax_cfg_sosnj_gf4_a0, NULL), 630806832c9SLuca Coelho IWL_DEV_INFO(0x2726, 0x00B4, iwlax411_2ax_cfg_sosnj_gf4_a0, NULL), 6316f60fb03SLuca Coelho IWL_DEV_INFO(0x2726, 0x0510, iwlax211_cfg_snj_gf_a0, NULL), 632930be4e7SLuca Coelho IWL_DEV_INFO(0x2726, 0x1651, iwl_cfg_snj_hr_b0, iwl_ax201_killer_1650s_name), 633930be4e7SLuca Coelho IWL_DEV_INFO(0x2726, 0x1652, iwl_cfg_snj_hr_b0, iwl_ax201_killer_1650i_name), 6346f60fb03SLuca Coelho 635c8685937SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 636be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY, 637be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 638b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 639c8685937SLuca Coelho iwl9560_2ac_cfg_soc, iwl9461_160_name), 640c8685937SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 641be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY, 642be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 643b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 644c8685937SLuca Coelho iwl9560_2ac_cfg_soc, iwl9461_name), 645c8685937SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 646be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY, 647be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 648b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 649c8685937SLuca Coelho iwl9560_2ac_cfg_soc, iwl9462_160_name), 650c8685937SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 651be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY, 652be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 653b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 654c8685937SLuca Coelho iwl9560_2ac_cfg_soc, iwl9462_name), 655c8685937SLuca Coelho 656c8685937SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 657be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY, 658be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 659b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 660c8685937SLuca Coelho iwl9560_2ac_cfg_soc, iwl9560_160_name), 661c8685937SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 662be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY, 663be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 664b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 665c8685937SLuca Coelho iwl9560_2ac_cfg_soc, iwl9560_name), 666c8685937SLuca Coelho 667d6f2134aSLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 668be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY, 669be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 670b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 6711454edcaSLuca Coelho iwl9260_2ac_cfg, iwl9461_160_name), 672b200dba7SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 673be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY, 674be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 675b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 6761454edcaSLuca Coelho iwl9260_2ac_cfg, iwl9461_name), 677b200dba7SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 678be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY, 679be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 680b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 6811454edcaSLuca Coelho iwl9260_2ac_cfg, iwl9462_160_name), 682b200dba7SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 683be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY, 684be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 685b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 6861454edcaSLuca Coelho iwl9260_2ac_cfg, iwl9462_name), 687b200dba7SLuca Coelho 688b200dba7SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 689be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY, 690be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 691b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 6921454edcaSLuca Coelho iwl9260_2ac_cfg, iwl9560_160_name), 693f673a193SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 694be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY, 695be2f6886SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 696b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 6971454edcaSLuca Coelho iwl9260_2ac_cfg, iwl9560_name), 698f673a193SLuca Coelho 699f673a193SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 700be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY, 701be2f6886SLuca Coelho IWL_CFG_RF_TYPE_TH, IWL_CFG_ANY, 702b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT_GNSS, IWL_CFG_NO_CDB, 70395939551SLuca Coelho iwl9260_2ac_cfg, iwl9270_160_name), 70495939551SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 705be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY, 706be2f6886SLuca Coelho IWL_CFG_RF_TYPE_TH, IWL_CFG_ANY, 707b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT_GNSS, IWL_CFG_NO_CDB, 70895939551SLuca Coelho iwl9260_2ac_cfg, iwl9270_name), 70995939551SLuca Coelho 710fe25b151SLuca Coelho _IWL_DEV_INFO(0x271B, IWL_CFG_ANY, 711be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY, 712be2f6886SLuca Coelho IWL_CFG_RF_TYPE_TH1, IWL_CFG_ANY, 713b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 714fe25b151SLuca Coelho iwl9260_2ac_cfg, iwl9162_160_name), 715fe25b151SLuca Coelho _IWL_DEV_INFO(0x271B, IWL_CFG_ANY, 716be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY, 717be2f6886SLuca Coelho IWL_CFG_RF_TYPE_TH1, IWL_CFG_ANY, 718b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 719fe25b151SLuca Coelho iwl9260_2ac_cfg, iwl9162_name), 720fe25b151SLuca Coelho 72195939551SLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 722be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY, 723be2f6886SLuca Coelho IWL_CFG_RF_TYPE_TH, IWL_CFG_ANY, 724b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 725d6f2134aSLuca Coelho iwl9260_2ac_cfg, iwl9260_160_name), 726d6f2134aSLuca Coelho _IWL_DEV_INFO(0x2526, IWL_CFG_ANY, 727be2f6886SLuca Coelho IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY, 728be2f6886SLuca Coelho IWL_CFG_RF_TYPE_TH, IWL_CFG_ANY, 729b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 730d6f2134aSLuca Coelho iwl9260_2ac_cfg, iwl9260_name), 7315e003982SLuca Coelho 73232ed101aSLuca Coelho /* Qu with Jf */ 73332ed101aSLuca Coelho /* Qu B step */ 73432ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 73532ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 73632ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 737b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 73832ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9461_160_name), 73932ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 74032ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 74132ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 742b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 74332ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9461_name), 74432ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 74532ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 74632ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 747b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 74832ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9462_160_name), 74932ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 75032ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 75132ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 752b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 75332ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9462_name), 7545e003982SLuca Coelho 75532ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 75632ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 75732ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 758b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 75932ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9560_160_name), 76032ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 76132ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 76232ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 763b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 76432ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9560_name), 76532ed101aSLuca Coelho 76632ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1551, 76732ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 76832ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 769b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 77032ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9560_killer_1550s_name), 77132ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1552, 77232ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 77332ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 774b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 77532ed101aSLuca Coelho iwl9560_qu_b0_jf_b0_cfg, iwl9560_killer_1550i_name), 77632ed101aSLuca Coelho 77732ed101aSLuca Coelho /* Qu C step */ 77832ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 77932ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 78032ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 781b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 78232ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9461_160_name), 78332ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 78432ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 78532ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 786b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 78732ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9461_name), 78832ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 78932ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 79032ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 791b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 79232ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9462_160_name), 79332ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 79432ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 79532ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 796b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 79732ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9462_name), 79832ed101aSLuca Coelho 79932ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 80032ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 80132ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 802b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 80332ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9560_160_name), 80432ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 80532ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 80632ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 807b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 80832ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9560_name), 80932ed101aSLuca Coelho 81032ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1551, 81132ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 81232ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 813b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 81432ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9560_killer_1550s_name), 81532ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1552, 81632ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 81732ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 818b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 81932ed101aSLuca Coelho iwl9560_qu_c0_jf_b0_cfg, iwl9560_killer_1550i_name), 82032ed101aSLuca Coelho 82132ed101aSLuca Coelho /* QuZ */ 82232ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 82332ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 82432ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 825b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 82632ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9461_160_name), 82732ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 82832ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 82932ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 830b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 83132ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9461_name), 83232ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 83332ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 83432ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 835b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 83632ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9462_160_name), 83732ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 83832ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 83932ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 840b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 84132ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9462_name), 84232ed101aSLuca Coelho 84332ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 84432ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 84532ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 846b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 84732ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9560_160_name), 84832ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 84932ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 85032ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 851b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 85232ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9560_name), 85332ed101aSLuca Coelho 85432ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1551, 85532ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 85632ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 857b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 85832ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9560_killer_1550s_name), 85932ed101aSLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1552, 86032ed101aSLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 86132ed101aSLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 862b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 86332ed101aSLuca Coelho iwl9560_quz_a0_jf_b0_cfg, iwl9560_killer_1550i_name), 864612509d6SLuca Coelho 865612509d6SLuca Coelho /* QnJ */ 866612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 867612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 868612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 869b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 870612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9461_160_name), 871612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 872612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 873612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 874b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 875612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9461_name), 876612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 877612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 878612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 879b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 880612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9462_160_name), 881612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 882612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 883612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 884b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 885612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9462_name), 886612509d6SLuca Coelho 887612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 888612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 889612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 890b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 891612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9560_160_name), 892612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 893612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 894612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 895b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 896612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9560_name), 897612509d6SLuca Coelho 898612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1551, 899612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 900612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 901b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 902612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9560_killer_1550s_name), 903612509d6SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, 0x1552, 904612509d6SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 905612509d6SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 906b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 907612509d6SLuca Coelho iwl9560_qnj_b0_jf_b0_cfg, iwl9560_killer_1550i_name), 9083f910a25SLuca Coelho 9093f910a25SLuca Coelho /* Qu with Hr */ 9103f910a25SLuca Coelho /* Qu B step */ 9113f910a25SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 9123f910a25SLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP, 9133f910a25SLuca Coelho IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, 914b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 9153f910a25SLuca Coelho iwl_qu_b0_hr1_b0, iwl_ax101_name), 91616062c12SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 91716062c12SLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 91816062c12SLuca Coelho IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 919b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 92016062c12SLuca Coelho iwl_qu_b0_hr_b0, iwl_ax203_name), 9213f910a25SLuca Coelho 9223f910a25SLuca Coelho /* Qu C step */ 9233f910a25SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 9243f910a25SLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 9253f910a25SLuca Coelho IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, 926b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 9273f910a25SLuca Coelho iwl_qu_c0_hr1_b0, iwl_ax101_name), 92816062c12SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 92916062c12SLuca Coelho IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP, 93016062c12SLuca Coelho IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 931b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 93216062c12SLuca Coelho iwl_qu_c0_hr_b0, iwl_ax203_name), 9333f910a25SLuca Coelho 9343f910a25SLuca Coelho /* QuZ */ 9353f910a25SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 9363f910a25SLuca Coelho IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY, 9373f910a25SLuca Coelho IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, 938b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 9393f910a25SLuca Coelho iwl_quz_a0_hr1_b0, iwl_ax101_name), 940410f7585SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 941410f7585SIhab Zhaika IWL_CFG_MAC_TYPE_QUZ, SILICON_B_STEP, 942410f7585SIhab Zhaika IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 943b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 944410f7585SIhab Zhaika iwl_cfg_quz_a0_hr_b0, iwl_ax203_name), 9453f910a25SLuca Coelho 946930be4e7SLuca Coelho /* QnJ with Hr */ 947930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 948930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY, 949930be4e7SLuca Coelho IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 950b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 951930be4e7SLuca Coelho iwl_qnj_b0_hr_b0_cfg, iwl_ax201_name), 952930be4e7SLuca Coelho 953930be4e7SLuca Coelho /* SnJ with Jf */ 954930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 955930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 956930be4e7SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 957b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 958930be4e7SLuca Coelho iwl_cfg_snj_a0_jf_b0, iwl9461_160_name), 959930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 960930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 961930be4e7SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, 962b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 963930be4e7SLuca Coelho iwl_cfg_snj_a0_jf_b0, iwl9461_name), 964930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 965930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 966930be4e7SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 967b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 968930be4e7SLuca Coelho iwl_cfg_snj_a0_jf_b0, iwl9462_160_name), 969930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 970930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 971930be4e7SLuca Coelho IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, 972b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 973930be4e7SLuca Coelho iwl_cfg_snj_a0_jf_b0, iwl9462_name), 974930be4e7SLuca Coelho 975930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 976930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 977930be4e7SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 978b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 979930be4e7SLuca Coelho iwl_cfg_snj_a0_jf_b0, iwl9560_160_name), 980930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 981930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 982930be4e7SLuca Coelho IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, 983b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, 984930be4e7SLuca Coelho iwl_cfg_snj_a0_jf_b0, iwl9560_name), 985930be4e7SLuca Coelho 986930be4e7SLuca Coelho /* SnJ with Hr */ 987930be4e7SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 988930be4e7SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 9897f9c3bc4SLuca Coelho IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, 990b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 9917f9c3bc4SLuca Coelho iwl_cfg_snj_hr_b0, iwl_ax101_name), 9927f9c3bc4SLuca Coelho 9937f9c3bc4SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 9947f9c3bc4SLuca Coelho IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 995930be4e7SLuca Coelho IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 996b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 997930be4e7SLuca Coelho iwl_cfg_snj_hr_b0, iwl_ax201_name), 998930be4e7SLuca Coelho 999bc9296f4SIhab Zhaika /* Ma */ 1000bc9296f4SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1001bc9296f4SIhab Zhaika IWL_CFG_MAC_TYPE_MA, IWL_CFG_ANY, 10021205d7f7SMatti Gottlieb IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 10031205d7f7SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 10041205d7f7SMatti Gottlieb iwl_cfg_ma_a0_hr_b0, iwl_ax201_name), 10051205d7f7SMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 10061205d7f7SMatti Gottlieb IWL_CFG_MAC_TYPE_MA, IWL_CFG_ANY, 1007bc9296f4SIhab Zhaika IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, 1008b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 1009bc9296f4SIhab Zhaika iwl_cfg_ma_a0_gf_a0, iwl_ax211_name), 1010bc9296f4SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1011bc9296f4SIhab Zhaika IWL_CFG_MAC_TYPE_MA, IWL_CFG_ANY, 10121205d7f7SMatti Gottlieb IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, 10131205d7f7SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, 10141205d7f7SMatti Gottlieb iwl_cfg_ma_a0_gf4_a0, iwl_ax211_name), 10151205d7f7SMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 10161205d7f7SMatti Gottlieb IWL_CFG_MAC_TYPE_MA, IWL_CFG_ANY, 1017bc9296f4SIhab Zhaika IWL_CFG_RF_TYPE_MR, IWL_CFG_ANY, 1018b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 1019bc9296f4SIhab Zhaika iwl_cfg_ma_a0_mr_a0, iwl_ma_name), 1020ac1a98e1SMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1021ac1a98e1SMatti Gottlieb IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY, 1022ac1a98e1SMatti Gottlieb IWL_CFG_RF_TYPE_MR, IWL_CFG_ANY, 1023b964bfd0SMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 1024ac1a98e1SMatti Gottlieb iwl_cfg_snj_a0_mr_a0, iwl_ma_name), 1025ac1a98e1SMatti Gottlieb 1026410f7585SIhab Zhaika /* So with Hr */ 1027410f7585SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1028410f7585SIhab Zhaika IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1029410f7585SIhab Zhaika IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 1030b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 1031410f7585SIhab Zhaika iwl_cfg_so_a0_hr_a0, iwl_ax203_name), 1032410f7585SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1033410f7585SIhab Zhaika IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1034410f7585SIhab Zhaika IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 1035b964bfd0SMatti Gottlieb IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 1036410f7585SIhab Zhaika iwl_cfg_so_a0_hr_a0, iwl_ax203_name), 1037410f7585SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1038410f7585SIhab Zhaika IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1039410f7585SIhab Zhaika IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, 1040b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 1041410f7585SIhab Zhaika iwl_cfg_so_a0_hr_a0, iwl_ax101_name), 1042410f7585SIhab Zhaika _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 1043410f7585SIhab Zhaika IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY, 1044410f7585SIhab Zhaika IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 1045b964bfd0SMatti Gottlieb IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 104608f4b0b1SLuca Coelho iwl_cfg_so_a0_hr_a0, iwl_ax201_name), 104708f4b0b1SLuca Coelho 104808f4b0b1SLuca Coelho /* So-F with Hr */ 104908f4b0b1SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 105008f4b0b1SLuca Coelho IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 105108f4b0b1SLuca Coelho IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 105208f4b0b1SLuca Coelho IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 105308f4b0b1SLuca Coelho iwl_cfg_so_a0_hr_a0, iwl_ax203_name), 105408f4b0b1SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 105508f4b0b1SLuca Coelho IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 105608f4b0b1SLuca Coelho IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, 105708f4b0b1SLuca Coelho IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 105808f4b0b1SLuca Coelho iwl_cfg_so_a0_hr_a0, iwl_ax101_name), 105908f4b0b1SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 106008f4b0b1SLuca Coelho IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 106108f4b0b1SLuca Coelho IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 106208f4b0b1SLuca Coelho IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 106308f4b0b1SLuca Coelho iwl_cfg_so_a0_hr_a0, iwl_ax201_name), 106408f4b0b1SLuca Coelho 106508f4b0b1SLuca Coelho /* So-F with Gf */ 106608f4b0b1SLuca Coelho _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 106708f4b0b1SLuca Coelho IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY, 106808f4b0b1SLuca Coelho IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, 106908f4b0b1SLuca Coelho IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, 107008f4b0b1SLuca Coelho iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_name), 1071bc9296f4SIhab Zhaika 10722be05dfdSMatti Gottlieb /* Bz */ 10732be05dfdSMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 10742be05dfdSMatti Gottlieb IWL_CFG_MAC_TYPE_BZ, IWL_CFG_ANY, 10752be05dfdSMatti Gottlieb IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, 10762be05dfdSMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 10772be05dfdSMatti Gottlieb iwl_cfg_bz_a0_hr_b0, iwl_ax201_name), 10782be05dfdSMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 10792be05dfdSMatti Gottlieb IWL_CFG_MAC_TYPE_BZ, IWL_CFG_ANY, 10802be05dfdSMatti Gottlieb IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, 10812be05dfdSMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 10822be05dfdSMatti Gottlieb iwl_cfg_bz_a0_gf_a0, iwl_ax211_name), 10832be05dfdSMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 10842be05dfdSMatti Gottlieb IWL_CFG_MAC_TYPE_BZ, IWL_CFG_ANY, 10852be05dfdSMatti Gottlieb IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, 10862be05dfdSMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, 10872be05dfdSMatti Gottlieb iwl_cfg_bz_a0_gf4_a0, iwl_ax211_name), 10882be05dfdSMatti Gottlieb _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY, 10892be05dfdSMatti Gottlieb IWL_CFG_MAC_TYPE_BZ, IWL_CFG_ANY, 10902be05dfdSMatti Gottlieb IWL_CFG_RF_TYPE_MR, IWL_CFG_ANY, 10912be05dfdSMatti Gottlieb IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, 10922be05dfdSMatti Gottlieb iwl_cfg_bz_a0_mr_a0, iwl_ma_name), 10932be05dfdSMatti Gottlieb 10942a612a60SLuca Coelho #endif /* CONFIG_IWLMVM */ 10952a612a60SLuca Coelho }; 10962a612a60SLuca Coelho 1097e705c121SKalle Valo /* PCI registers */ 1098e705c121SKalle Valo #define PCI_CFG_RETRY_TIMEOUT 0x041 1099e705c121SKalle Valo 1100e705c121SKalle Valo static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) 1101e705c121SKalle Valo { 1102b3bd6416SLuca Coelho const struct iwl_cfg_trans_params *trans = 1103b3bd6416SLuca Coelho (struct iwl_cfg_trans_params *)(ent->driver_data); 1104e705c121SKalle Valo const struct iwl_cfg *cfg_7265d __maybe_unused = NULL; 1105e705c121SKalle Valo struct iwl_trans *iwl_trans; 1106c042f0c7SJohannes Berg struct iwl_trans_pcie *trans_pcie; 11072a612a60SLuca Coelho int i, ret; 1108b3bd6416SLuca Coelho /* 1109b3bd6416SLuca Coelho * This is needed for backwards compatibility with the old 1110b3bd6416SLuca Coelho * tables, so we don't need to change all the config structs 1111b3bd6416SLuca Coelho * at the same time. The cfg is used to compare with the old 1112b3bd6416SLuca Coelho * full cfg structs. 1113b3bd6416SLuca Coelho */ 1114b3bd6416SLuca Coelho const struct iwl_cfg *cfg = (struct iwl_cfg *)(ent->driver_data); 1115e705c121SKalle Valo 1116b3bd6416SLuca Coelho /* make sure trans is the first element in iwl_cfg */ 1117b3bd6416SLuca Coelho BUILD_BUG_ON(offsetof(struct iwl_cfg, trans)); 1118b3bd6416SLuca Coelho 1119b3bd6416SLuca Coelho iwl_trans = iwl_trans_pcie_alloc(pdev, ent, trans); 1120e705c121SKalle Valo if (IS_ERR(iwl_trans)) 1121e705c121SKalle Valo return PTR_ERR(iwl_trans); 1122e705c121SKalle Valo 1123c042f0c7SJohannes Berg trans_pcie = IWL_TRANS_GET_PCIE_TRANS(iwl_trans); 1124286ca8ebSLuca Coelho 1125d6f2134aSLuca Coelho iwl_trans->hw_rf_id = iwl_read32(iwl_trans, CSR_HW_RF_ID); 1126d6f2134aSLuca Coelho 11272a612a60SLuca Coelho for (i = 0; i < ARRAY_SIZE(iwl_dev_info_table); i++) { 11282a612a60SLuca Coelho const struct iwl_dev_info *dev_info = &iwl_dev_info_table[i]; 1129d6f2134aSLuca Coelho if ((dev_info->device == (u16)IWL_CFG_ANY || 11302a612a60SLuca Coelho dev_info->device == pdev->device) && 1131d6f2134aSLuca Coelho (dev_info->subdevice == (u16)IWL_CFG_ANY || 1132d6f2134aSLuca Coelho dev_info->subdevice == pdev->subsystem_device) && 1133d6f2134aSLuca Coelho (dev_info->mac_type == (u16)IWL_CFG_ANY || 1134d6f2134aSLuca Coelho dev_info->mac_type == 1135d6f2134aSLuca Coelho CSR_HW_REV_TYPE(iwl_trans->hw_rev)) && 1136be2f6886SLuca Coelho (dev_info->mac_step == (u8)IWL_CFG_ANY || 1137be2f6886SLuca Coelho dev_info->mac_step == 1138be2f6886SLuca Coelho CSR_HW_REV_STEP(iwl_trans->hw_rev)) && 1139d6f2134aSLuca Coelho (dev_info->rf_type == (u16)IWL_CFG_ANY || 1140d6f2134aSLuca Coelho dev_info->rf_type == 1141d6f2134aSLuca Coelho CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id)) && 1142b964bfd0SMatti Gottlieb (dev_info->cdb == IWL_CFG_NO_CDB || 1143b964bfd0SMatti Gottlieb CSR_HW_RFID_IS_CDB(iwl_trans->hw_rf_id)) && 1144f673a193SLuca Coelho (dev_info->rf_id == (u8)IWL_CFG_ANY || 1145f673a193SLuca Coelho dev_info->rf_id == 1146f673a193SLuca Coelho IWL_SUBDEVICE_RF_ID(pdev->subsystem_device)) && 1147d6f2134aSLuca Coelho (dev_info->no_160 == (u8)IWL_CFG_ANY || 1148d6f2134aSLuca Coelho dev_info->no_160 == 114995939551SLuca Coelho IWL_SUBDEVICE_NO_160(pdev->subsystem_device)) && 115095939551SLuca Coelho (dev_info->cores == (u8)IWL_CFG_ANY || 115195939551SLuca Coelho dev_info->cores == 115295939551SLuca Coelho IWL_SUBDEVICE_CORES(pdev->subsystem_device))) { 11532a612a60SLuca Coelho iwl_trans->cfg = dev_info->cfg; 11540b295a1eSLuca Coelho iwl_trans->name = dev_info->name; 11552a612a60SLuca Coelho } 11567d34a7d7SLuca Coelho } 11577d34a7d7SLuca Coelho 115862541e26SKalle Valo #if IS_ENABLED(CONFIG_IWLMVM) 115962541e26SKalle Valo 1160930be4e7SLuca Coelho /* 1161930be4e7SLuca Coelho * Workaround for problematic SnJ device: sometimes when 1162930be4e7SLuca Coelho * certain RF modules are connected to SnJ, the device ID 1163930be4e7SLuca Coelho * changes to QnJ's ID. So we are using QnJ's trans_cfg until 1164930be4e7SLuca Coelho * here. But if we detect that the MAC type is actually SnJ, 1165930be4e7SLuca Coelho * we should switch to it here to avoid problems later. 1166930be4e7SLuca Coelho */ 1167930be4e7SLuca Coelho if (CSR_HW_REV_TYPE(iwl_trans->hw_rev) == IWL_CFG_MAC_TYPE_SNJ) 1168930be4e7SLuca Coelho iwl_trans->trans_cfg = &iwl_so_trans_cfg; 1169930be4e7SLuca Coelho 1170e705c121SKalle Valo /* 1171e705c121SKalle Valo * special-case 7265D, it has the same PCI IDs. 1172e705c121SKalle Valo * 1173e705c121SKalle Valo * Note that because we already pass the cfg to the transport above, 1174e705c121SKalle Valo * all the parameters that the transport uses must, until that is 1175e705c121SKalle Valo * changed, be identical to the ones in the 7265D configuration. 1176e705c121SKalle Valo */ 1177e705c121SKalle Valo if (cfg == &iwl7265_2ac_cfg) 1178e705c121SKalle Valo cfg_7265d = &iwl7265d_2ac_cfg; 1179e705c121SKalle Valo else if (cfg == &iwl7265_2n_cfg) 1180e705c121SKalle Valo cfg_7265d = &iwl7265d_2n_cfg; 1181e705c121SKalle Valo else if (cfg == &iwl7265_n_cfg) 1182e705c121SKalle Valo cfg_7265d = &iwl7265d_n_cfg; 1183e705c121SKalle Valo if (cfg_7265d && 1184809805a8SLuca Coelho (iwl_trans->hw_rev & CSR_HW_REV_TYPE_MSK) == CSR_HW_REV_TYPE_7265D) 1185b3bd6416SLuca Coelho iwl_trans->cfg = cfg_7265d; 1186809805a8SLuca Coelho 1187809805a8SLuca Coelho if (cfg == &iwlax210_2ax_cfg_so_hr_a0) { 1188809805a8SLuca Coelho if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_TY) { 1189b3bd6416SLuca Coelho iwl_trans->cfg = &iwlax210_2ax_cfg_ty_gf_a0; 1190809805a8SLuca Coelho } else if (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) == 1191809805a8SLuca Coelho CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_JF)) { 1192*39ab22c1Sybaruch iwl_trans->cfg = &iwlax210_2ax_cfg_so_jf_b0; 1193809805a8SLuca Coelho } else if (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) == 1194809805a8SLuca Coelho CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_GF)) { 1195b3bd6416SLuca Coelho iwl_trans->cfg = &iwlax211_2ax_cfg_so_gf_a0; 1196809805a8SLuca Coelho } else if (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) == 1197809805a8SLuca Coelho CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_GF4)) { 1198b3bd6416SLuca Coelho iwl_trans->cfg = &iwlax411_2ax_cfg_so_gf4_a0; 1199e705c121SKalle Valo } 12005594d80eSSara Sharon } 1201a7d544d6SLuca Coelho 1202a7d544d6SLuca Coelho /* 1203a7d544d6SLuca Coelho * This is a hack to switch from Qu B0 to Qu C0. We need to 120468ceba3fSLuca Coelho * do this for all cfgs that use Qu B0, except for those using 120568ceba3fSLuca Coelho * Jf, which have already been moved to the new table. The 120668ceba3fSLuca Coelho * rest must be removed once we convert Qu with Hr as well. 1207a7d544d6SLuca Coelho */ 1208a7d544d6SLuca Coelho if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QU_C0) { 12093f910a25SLuca Coelho if (iwl_trans->cfg == &iwl_ax201_cfg_qu_hr) 1210b3bd6416SLuca Coelho iwl_trans->cfg = &iwl_ax201_cfg_qu_c0_hr_b0; 121132ed101aSLuca Coelho else if (iwl_trans->cfg == &killer1650s_2ax_cfg_qu_b0_hr_b0) 1212b3bd6416SLuca Coelho iwl_trans->cfg = &killer1650s_2ax_cfg_qu_c0_hr_b0; 121332ed101aSLuca Coelho else if (iwl_trans->cfg == &killer1650i_2ax_cfg_qu_b0_hr_b0) 1214b3bd6416SLuca Coelho iwl_trans->cfg = &killer1650i_2ax_cfg_qu_c0_hr_b0; 1215a7d544d6SLuca Coelho } 12165a8c31aaSLuca Coelho 12175a8c31aaSLuca Coelho /* same thing for QuZ... */ 12185a8c31aaSLuca Coelho if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QUZ) { 12193f910a25SLuca Coelho if (iwl_trans->cfg == &iwl_ax201_cfg_qu_hr) 122032ed101aSLuca Coelho iwl_trans->cfg = &iwl_ax201_cfg_quz_hr; 1221f92f26f2SLuca Coelho else if (iwl_trans->cfg == &killer1650s_2ax_cfg_qu_b0_hr_b0) 1222f92f26f2SLuca Coelho iwl_trans->cfg = &iwl_ax1650s_cfg_quz_hr; 1223f92f26f2SLuca Coelho else if (iwl_trans->cfg == &killer1650i_2ax_cfg_qu_b0_hr_b0) 1224f92f26f2SLuca Coelho iwl_trans->cfg = &iwl_ax1650i_cfg_quz_hr; 12255a8c31aaSLuca Coelho } 12265a8c31aaSLuca Coelho 1227e705c121SKalle Valo #endif 1228b3bd6416SLuca Coelho /* 1229b3bd6416SLuca Coelho * If we didn't set the cfg yet, assume the trans is actually 1230b3bd6416SLuca Coelho * a full cfg from the old tables. 1231b3bd6416SLuca Coelho */ 1232b3bd6416SLuca Coelho if (!iwl_trans->cfg) 1233809805a8SLuca Coelho iwl_trans->cfg = cfg; 1234e705c121SKalle Valo 12350b295a1eSLuca Coelho /* if we don't have a name yet, copy name from the old cfg */ 12360b295a1eSLuca Coelho if (!iwl_trans->name) 12370b295a1eSLuca Coelho iwl_trans->name = iwl_trans->cfg->name; 12380b295a1eSLuca Coelho 1239b3bd6416SLuca Coelho if (iwl_trans->trans_cfg->mq_rx_supported) { 1240b3bd6416SLuca Coelho if (WARN_ON(!iwl_trans->cfg->num_rbds)) { 1241c042f0c7SJohannes Berg ret = -EINVAL; 1242c042f0c7SJohannes Berg goto out_free_trans; 1243c042f0c7SJohannes Berg } 1244b3bd6416SLuca Coelho trans_pcie->num_rx_bufs = iwl_trans->cfg->num_rbds; 1245c042f0c7SJohannes Berg } else { 1246c042f0c7SJohannes Berg trans_pcie->num_rx_bufs = RX_QUEUE_SIZE; 1247c042f0c7SJohannes Berg } 1248c042f0c7SJohannes Berg 1249e705c121SKalle Valo pci_set_drvdata(pdev, iwl_trans); 125049060383SLuca Coelho iwl_trans->drv = iwl_drv_start(iwl_trans); 1251e705c121SKalle Valo 12526f482e37SSara Sharon if (IS_ERR(iwl_trans->drv)) { 12536f482e37SSara Sharon ret = PTR_ERR(iwl_trans->drv); 1254e705c121SKalle Valo goto out_free_trans; 1255e705c121SKalle Valo } 1256e705c121SKalle Valo 1257e705c121SKalle Valo /* register transport layer debugfs here */ 1258cf5d5663SGreg Kroah-Hartman iwl_trans_pcie_dbgfs_register(iwl_trans); 1259e705c121SKalle Valo 1260e705c121SKalle Valo return 0; 1261e705c121SKalle Valo 1262e705c121SKalle Valo out_free_trans: 1263e705c121SKalle Valo iwl_trans_pcie_free(iwl_trans); 1264e705c121SKalle Valo return ret; 1265e705c121SKalle Valo } 1266e705c121SKalle Valo 1267e705c121SKalle Valo static void iwl_pci_remove(struct pci_dev *pdev) 1268e705c121SKalle Valo { 1269e705c121SKalle Valo struct iwl_trans *trans = pci_get_drvdata(pdev); 1270e705c121SKalle Valo 12716f482e37SSara Sharon iwl_drv_stop(trans->drv); 12724479a899SLuca Coelho 1273e705c121SKalle Valo iwl_trans_pcie_free(trans); 1274e705c121SKalle Valo } 1275e705c121SKalle Valo 1276e705c121SKalle Valo #ifdef CONFIG_PM_SLEEP 1277e705c121SKalle Valo 1278e705c121SKalle Valo static int iwl_pci_suspend(struct device *device) 1279e705c121SKalle Valo { 1280e705c121SKalle Valo /* Before you put code here, think about WoWLAN. You cannot check here 1281e705c121SKalle Valo * whether WoWLAN is enabled or not, and your code will run even if 1282e705c121SKalle Valo * WoWLAN is enabled - don't kill the NIC, someone may need it in Sx. 1283e705c121SKalle Valo */ 1284e705c121SKalle Valo 1285e705c121SKalle Valo return 0; 1286e705c121SKalle Valo } 1287e705c121SKalle Valo 1288e705c121SKalle Valo static int iwl_pci_resume(struct device *device) 1289e705c121SKalle Valo { 1290e705c121SKalle Valo struct pci_dev *pdev = to_pci_dev(device); 1291e705c121SKalle Valo struct iwl_trans *trans = pci_get_drvdata(pdev); 1292e705c121SKalle Valo struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); 1293e705c121SKalle Valo 1294e705c121SKalle Valo /* Before you put code here, think about WoWLAN. You cannot check here 1295e705c121SKalle Valo * whether WoWLAN is enabled or not, and your code will run even if 1296e705c121SKalle Valo * WoWLAN is enabled - the NIC may be alive. 1297e705c121SKalle Valo */ 1298e705c121SKalle Valo 1299e705c121SKalle Valo /* 1300e705c121SKalle Valo * We disable the RETRY_TIMEOUT register (0x41) to keep 1301e705c121SKalle Valo * PCI Tx retries from interfering with C3 CPU state. 1302e705c121SKalle Valo */ 1303e705c121SKalle Valo pci_write_config_byte(pdev, PCI_CFG_RETRY_TIMEOUT, 0x00); 1304e705c121SKalle Valo 1305e705c121SKalle Valo if (!trans->op_mode) 1306e705c121SKalle Valo return 0; 1307e705c121SKalle Valo 1308f98ad635SEmmanuel Grumbach /* In WOWLAN, let iwl_trans_pcie_d3_resume do the rest of the work */ 1309f98ad635SEmmanuel Grumbach if (test_bit(STATUS_DEVICE_ENABLED, &trans->status)) 1310f98ad635SEmmanuel Grumbach return 0; 1311f98ad635SEmmanuel Grumbach 131252848a79SJohannes Berg /* reconfigure the MSI-X mapping to get the correct IRQ for rfkill */ 131352848a79SJohannes Berg iwl_pcie_conf_msix_hw(trans_pcie); 131452848a79SJohannes Berg 1315e705c121SKalle Valo /* 1316326477e4SJohannes Berg * Enable rfkill interrupt (in order to keep track of the rfkill 1317326477e4SJohannes Berg * status). Must be locked to avoid processing a possible rfkill 13189ad8fd0bSJohannes Berg * interrupt while in iwl_pcie_check_hw_rf_kill(). 1319e705c121SKalle Valo */ 132023aeea94SJohannes Berg mutex_lock(&trans_pcie->mutex); 1321e705c121SKalle Valo iwl_enable_rfkill_int(trans); 13229ad8fd0bSJohannes Berg iwl_pcie_check_hw_rf_kill(trans); 1323e705c121SKalle Valo mutex_unlock(&trans_pcie->mutex); 1324e705c121SKalle Valo 1325e705c121SKalle Valo return 0; 1326e705c121SKalle Valo } 1327e705c121SKalle Valo 1328b3ff1270SLuca Coelho static const struct dev_pm_ops iwl_dev_pm_ops = { 1329b3ff1270SLuca Coelho SET_SYSTEM_SLEEP_PM_OPS(iwl_pci_suspend, 1330b3ff1270SLuca Coelho iwl_pci_resume) 1331b3ff1270SLuca Coelho }; 1332e705c121SKalle Valo 1333e705c121SKalle Valo #define IWL_PM_OPS (&iwl_dev_pm_ops) 1334e705c121SKalle Valo 1335b3ff1270SLuca Coelho #else /* CONFIG_PM_SLEEP */ 1336e705c121SKalle Valo 1337e705c121SKalle Valo #define IWL_PM_OPS NULL 1338e705c121SKalle Valo 1339b3ff1270SLuca Coelho #endif /* CONFIG_PM_SLEEP */ 1340e705c121SKalle Valo 1341e705c121SKalle Valo static struct pci_driver iwl_pci_driver = { 1342e705c121SKalle Valo .name = DRV_NAME, 1343e705c121SKalle Valo .id_table = iwl_hw_card_ids, 1344e705c121SKalle Valo .probe = iwl_pci_probe, 1345e705c121SKalle Valo .remove = iwl_pci_remove, 1346e705c121SKalle Valo .driver.pm = IWL_PM_OPS, 1347e705c121SKalle Valo }; 1348e705c121SKalle Valo 1349e705c121SKalle Valo int __must_check iwl_pci_register_driver(void) 1350e705c121SKalle Valo { 1351e705c121SKalle Valo int ret; 1352e705c121SKalle Valo ret = pci_register_driver(&iwl_pci_driver); 1353e705c121SKalle Valo if (ret) 1354e705c121SKalle Valo pr_err("Unable to initialize PCI module\n"); 1355e705c121SKalle Valo 1356e705c121SKalle Valo return ret; 1357e705c121SKalle Valo } 1358e705c121SKalle Valo 1359e705c121SKalle Valo void iwl_pci_unregister_driver(void) 1360e705c121SKalle Valo { 1361e705c121SKalle Valo pci_unregister_driver(&iwl_pci_driver); 1362e705c121SKalle Valo } 1363