1e705c121SKalle Valo /******************************************************************************
2e705c121SKalle Valo  *
3e705c121SKalle Valo  * This file is provided under a dual BSD/GPLv2 license.  When using or
4e705c121SKalle Valo  * redistributing this file, you may do so under either license.
5e705c121SKalle Valo  *
6e705c121SKalle Valo  * GPL LICENSE SUMMARY
7e705c121SKalle Valo  *
8e705c121SKalle Valo  * Copyright(c) 2007 - 2014 Intel Corporation. All rights reserved.
9e705c121SKalle Valo  * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
104e37b063STzipi Peres  * Copyright(c) 2016-2017 Intel Deutschland GmbH
1181edb6adSLuca Coelho  * Copyright(c) 2018 - 2019 Intel Corporation
12e705c121SKalle Valo  *
13e705c121SKalle Valo  * This program is free software; you can redistribute it and/or modify
14e705c121SKalle Valo  * it under the terms of version 2 of the GNU General Public License as
15e705c121SKalle Valo  * published by the Free Software Foundation.
16e705c121SKalle Valo  *
17e705c121SKalle Valo  * This program is distributed in the hope that it will be useful, but
18e705c121SKalle Valo  * WITHOUT ANY WARRANTY; without even the implied warranty of
19e705c121SKalle Valo  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20e705c121SKalle Valo  * General Public License for more details.
21e705c121SKalle Valo  *
22e705c121SKalle Valo  * The full GNU General Public License is included in this distribution
23e705c121SKalle Valo  * in the file called COPYING.
24e705c121SKalle Valo  *
25e705c121SKalle Valo  * Contact Information:
26cb2f8277SEmmanuel Grumbach  *  Intel Linux Wireless <linuxwifi@intel.com>
27e705c121SKalle Valo  * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
28e705c121SKalle Valo  *
29e705c121SKalle Valo  * BSD LICENSE
30e705c121SKalle Valo  *
31e705c121SKalle Valo  * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
32e705c121SKalle Valo  * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
33e705c121SKalle Valo  * All rights reserved.
344e37b063STzipi Peres  * Copyright(c) 2017 Intel Deutschland GmbH
3581edb6adSLuca Coelho  * Copyright(c) 2018 - 2019 Intel Corporation
36e705c121SKalle Valo  *
37e705c121SKalle Valo  * Redistribution and use in source and binary forms, with or without
38e705c121SKalle Valo  * modification, are permitted provided that the following conditions
39e705c121SKalle Valo  * are met:
40e705c121SKalle Valo  *
41e705c121SKalle Valo  *  * Redistributions of source code must retain the above copyright
42e705c121SKalle Valo  *    notice, this list of conditions and the following disclaimer.
43e705c121SKalle Valo  *  * Redistributions in binary form must reproduce the above copyright
44e705c121SKalle Valo  *    notice, this list of conditions and the following disclaimer in
45e705c121SKalle Valo  *    the documentation and/or other materials provided with the
46e705c121SKalle Valo  *    distribution.
47e705c121SKalle Valo  *  * Neither the name Intel Corporation nor the names of its
48e705c121SKalle Valo  *    contributors may be used to endorse or promote products derived
49e705c121SKalle Valo  *    from this software without specific prior written permission.
50e705c121SKalle Valo  *
51e705c121SKalle Valo  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
52e705c121SKalle Valo  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
53e705c121SKalle Valo  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
54e705c121SKalle Valo  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
55e705c121SKalle Valo  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
56e705c121SKalle Valo  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
57e705c121SKalle Valo  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
58e705c121SKalle Valo  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
59e705c121SKalle Valo  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
60e705c121SKalle Valo  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
61e705c121SKalle Valo  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
62e705c121SKalle Valo  *
63e705c121SKalle Valo  *****************************************************************************/
64e705c121SKalle Valo 
65e705c121SKalle Valo #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
66e705c121SKalle Valo 
67e705c121SKalle Valo #include <linux/module.h>
68e705c121SKalle Valo #include <linux/pci.h>
69e705c121SKalle Valo #include <linux/acpi.h>
70e705c121SKalle Valo 
71813df5ceSLuca Coelho #include "fw/acpi.h"
72813df5ceSLuca Coelho 
73e705c121SKalle Valo #include "iwl-trans.h"
74e705c121SKalle Valo #include "iwl-drv.h"
75809805a8SLuca Coelho #include "iwl-prph.h"
76e705c121SKalle Valo #include "internal.h"
77e705c121SKalle Valo 
78e705c121SKalle Valo #define IWL_PCI_DEVICE(dev, subdev, cfg) \
79e705c121SKalle Valo 	.vendor = PCI_VENDOR_ID_INTEL,  .device = (dev), \
80e705c121SKalle Valo 	.subvendor = PCI_ANY_ID, .subdevice = (subdev), \
81e705c121SKalle Valo 	.driver_data = (kernel_ulong_t)&(cfg)
82e705c121SKalle Valo 
83e705c121SKalle Valo /* Hardware specific file defines the PCI IDs table for that hardware module */
84e705c121SKalle Valo static const struct pci_device_id iwl_hw_card_ids[] = {
85e705c121SKalle Valo #if IS_ENABLED(CONFIG_IWLDVM)
86e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1201, iwl5100_agn_cfg)}, /* Mini Card */
87e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1301, iwl5100_agn_cfg)}, /* Half Mini Card */
88e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1204, iwl5100_agn_cfg)}, /* Mini Card */
89e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1304, iwl5100_agn_cfg)}, /* Half Mini Card */
90e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1205, iwl5100_bgn_cfg)}, /* Mini Card */
91e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1305, iwl5100_bgn_cfg)}, /* Half Mini Card */
92e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1206, iwl5100_abg_cfg)}, /* Mini Card */
93e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1306, iwl5100_abg_cfg)}, /* Half Mini Card */
94e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1221, iwl5100_agn_cfg)}, /* Mini Card */
95e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1321, iwl5100_agn_cfg)}, /* Half Mini Card */
96e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1224, iwl5100_agn_cfg)}, /* Mini Card */
97e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1324, iwl5100_agn_cfg)}, /* Half Mini Card */
98e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1225, iwl5100_bgn_cfg)}, /* Mini Card */
99e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1325, iwl5100_bgn_cfg)}, /* Half Mini Card */
100e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1226, iwl5100_abg_cfg)}, /* Mini Card */
101e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1326, iwl5100_abg_cfg)}, /* Half Mini Card */
102e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1211, iwl5100_agn_cfg)}, /* Mini Card */
103e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1311, iwl5100_agn_cfg)}, /* Half Mini Card */
104e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1214, iwl5100_agn_cfg)}, /* Mini Card */
105e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1314, iwl5100_agn_cfg)}, /* Half Mini Card */
106e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1215, iwl5100_bgn_cfg)}, /* Mini Card */
107e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1315, iwl5100_bgn_cfg)}, /* Half Mini Card */
108e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1216, iwl5100_abg_cfg)}, /* Mini Card */
109e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1316, iwl5100_abg_cfg)}, /* Half Mini Card */
110e705c121SKalle Valo 
111e705c121SKalle Valo /* 5300 Series WiFi */
112e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1021, iwl5300_agn_cfg)}, /* Mini Card */
113e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1121, iwl5300_agn_cfg)}, /* Half Mini Card */
114e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1024, iwl5300_agn_cfg)}, /* Mini Card */
115e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1124, iwl5300_agn_cfg)}, /* Half Mini Card */
116e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1001, iwl5300_agn_cfg)}, /* Mini Card */
117e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1101, iwl5300_agn_cfg)}, /* Half Mini Card */
118e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1004, iwl5300_agn_cfg)}, /* Mini Card */
119e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1104, iwl5300_agn_cfg)}, /* Half Mini Card */
120e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4236, 0x1011, iwl5300_agn_cfg)}, /* Mini Card */
121e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4236, 0x1111, iwl5300_agn_cfg)}, /* Half Mini Card */
122e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4236, 0x1014, iwl5300_agn_cfg)}, /* Mini Card */
123e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4236, 0x1114, iwl5300_agn_cfg)}, /* Half Mini Card */
124e705c121SKalle Valo 
125e705c121SKalle Valo /* 5350 Series WiFi/WiMax */
126e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423A, 0x1001, iwl5350_agn_cfg)}, /* Mini Card */
127e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423A, 0x1021, iwl5350_agn_cfg)}, /* Mini Card */
128e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423B, 0x1011, iwl5350_agn_cfg)}, /* Mini Card */
129e705c121SKalle Valo 
130e705c121SKalle Valo /* 5150 Series Wifi/WiMax */
131e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1201, iwl5150_agn_cfg)}, /* Mini Card */
132e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1301, iwl5150_agn_cfg)}, /* Half Mini Card */
133e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1206, iwl5150_abg_cfg)}, /* Mini Card */
134e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1306, iwl5150_abg_cfg)}, /* Half Mini Card */
135e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1221, iwl5150_agn_cfg)}, /* Mini Card */
136e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1321, iwl5150_agn_cfg)}, /* Half Mini Card */
137e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1326, iwl5150_abg_cfg)}, /* Half Mini Card */
138e705c121SKalle Valo 
139e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423D, 0x1211, iwl5150_agn_cfg)}, /* Mini Card */
140e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423D, 0x1311, iwl5150_agn_cfg)}, /* Half Mini Card */
141e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423D, 0x1216, iwl5150_abg_cfg)}, /* Mini Card */
142e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423D, 0x1316, iwl5150_abg_cfg)}, /* Half Mini Card */
143e705c121SKalle Valo 
144e705c121SKalle Valo /* 6x00 Series */
145e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422B, 0x1101, iwl6000_3agn_cfg)},
146e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422B, 0x1108, iwl6000_3agn_cfg)},
147e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422B, 0x1121, iwl6000_3agn_cfg)},
148e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422B, 0x1128, iwl6000_3agn_cfg)},
149e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422C, 0x1301, iwl6000i_2agn_cfg)},
150e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422C, 0x1306, iwl6000i_2abg_cfg)},
151e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422C, 0x1307, iwl6000i_2bg_cfg)},
152e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422C, 0x1321, iwl6000i_2agn_cfg)},
153e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422C, 0x1326, iwl6000i_2abg_cfg)},
154e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4238, 0x1111, iwl6000_3agn_cfg)},
155e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4238, 0x1118, iwl6000_3agn_cfg)},
156e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4239, 0x1311, iwl6000i_2agn_cfg)},
157e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4239, 0x1316, iwl6000i_2abg_cfg)},
158e705c121SKalle Valo 
159e705c121SKalle Valo /* 6x05 Series */
160e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1301, iwl6005_2agn_cfg)},
161e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1306, iwl6005_2abg_cfg)},
162e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1307, iwl6005_2bg_cfg)},
163e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1308, iwl6005_2agn_cfg)},
164e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1321, iwl6005_2agn_cfg)},
165e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1326, iwl6005_2abg_cfg)},
166e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1328, iwl6005_2agn_cfg)},
167e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0085, 0x1311, iwl6005_2agn_cfg)},
168e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0085, 0x1318, iwl6005_2agn_cfg)},
169e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0085, 0x1316, iwl6005_2abg_cfg)},
170e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0xC020, iwl6005_2agn_sff_cfg)},
171e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0085, 0xC220, iwl6005_2agn_sff_cfg)},
172e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0085, 0xC228, iwl6005_2agn_sff_cfg)},
173e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x4820, iwl6005_2agn_d_cfg)},
174e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1304, iwl6005_2agn_mow1_cfg)},/* low 5GHz active */
175e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1305, iwl6005_2agn_mow2_cfg)},/* high 5GHz active */
176e705c121SKalle Valo 
177e705c121SKalle Valo /* 6x30 Series */
178e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x008A, 0x5305, iwl1030_bgn_cfg)},
179e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x008A, 0x5307, iwl1030_bg_cfg)},
180e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x008A, 0x5325, iwl1030_bgn_cfg)},
181e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x008A, 0x5327, iwl1030_bg_cfg)},
182e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x008B, 0x5315, iwl1030_bgn_cfg)},
183e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x008B, 0x5317, iwl1030_bg_cfg)},
184e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0090, 0x5211, iwl6030_2agn_cfg)},
185e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0090, 0x5215, iwl6030_2bgn_cfg)},
186e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0090, 0x5216, iwl6030_2abg_cfg)},
187e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5201, iwl6030_2agn_cfg)},
188e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5205, iwl6030_2bgn_cfg)},
189e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5206, iwl6030_2abg_cfg)},
190e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5207, iwl6030_2bg_cfg)},
191e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5221, iwl6030_2agn_cfg)},
192e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5225, iwl6030_2bgn_cfg)},
193e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5226, iwl6030_2abg_cfg)},
194e705c121SKalle Valo 
195e705c121SKalle Valo /* 6x50 WiFi/WiMax Series */
196e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0087, 0x1301, iwl6050_2agn_cfg)},
197e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0087, 0x1306, iwl6050_2abg_cfg)},
198e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0087, 0x1321, iwl6050_2agn_cfg)},
199e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0087, 0x1326, iwl6050_2abg_cfg)},
200e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0089, 0x1311, iwl6050_2agn_cfg)},
201e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0089, 0x1316, iwl6050_2abg_cfg)},
202e705c121SKalle Valo 
203e705c121SKalle Valo /* 6150 WiFi/WiMax Series */
204e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0885, 0x1305, iwl6150_bgn_cfg)},
205e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0885, 0x1307, iwl6150_bg_cfg)},
206e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0885, 0x1325, iwl6150_bgn_cfg)},
207e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0885, 0x1327, iwl6150_bg_cfg)},
208e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0886, 0x1315, iwl6150_bgn_cfg)},
209e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0886, 0x1317, iwl6150_bg_cfg)},
210e705c121SKalle Valo 
211e705c121SKalle Valo /* 1000 Series WiFi */
212e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1205, iwl1000_bgn_cfg)},
213e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1305, iwl1000_bgn_cfg)},
214e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1225, iwl1000_bgn_cfg)},
215e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1325, iwl1000_bgn_cfg)},
216e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0084, 0x1215, iwl1000_bgn_cfg)},
217e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0084, 0x1315, iwl1000_bgn_cfg)},
218e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1206, iwl1000_bg_cfg)},
219e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1306, iwl1000_bg_cfg)},
220e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1226, iwl1000_bg_cfg)},
221e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1326, iwl1000_bg_cfg)},
222e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0084, 0x1216, iwl1000_bg_cfg)},
223e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0084, 0x1316, iwl1000_bg_cfg)},
224e705c121SKalle Valo 
225e705c121SKalle Valo /* 100 Series WiFi */
226e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08AE, 0x1005, iwl100_bgn_cfg)},
227e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08AE, 0x1007, iwl100_bg_cfg)},
228e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08AF, 0x1015, iwl100_bgn_cfg)},
229e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08AF, 0x1017, iwl100_bg_cfg)},
230e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08AE, 0x1025, iwl100_bgn_cfg)},
231e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08AE, 0x1027, iwl100_bg_cfg)},
232e705c121SKalle Valo 
233e705c121SKalle Valo /* 130 Series WiFi */
234e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0896, 0x5005, iwl130_bgn_cfg)},
235e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0896, 0x5007, iwl130_bg_cfg)},
236e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0897, 0x5015, iwl130_bgn_cfg)},
237e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0897, 0x5017, iwl130_bg_cfg)},
238e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0896, 0x5025, iwl130_bgn_cfg)},
239e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0896, 0x5027, iwl130_bg_cfg)},
240e705c121SKalle Valo 
241e705c121SKalle Valo /* 2x00 Series */
242e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0890, 0x4022, iwl2000_2bgn_cfg)},
243e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0891, 0x4222, iwl2000_2bgn_cfg)},
244e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0890, 0x4422, iwl2000_2bgn_cfg)},
245e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0890, 0x4822, iwl2000_2bgn_d_cfg)},
246e705c121SKalle Valo 
247e705c121SKalle Valo /* 2x30 Series */
248e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0887, 0x4062, iwl2030_2bgn_cfg)},
249e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0888, 0x4262, iwl2030_2bgn_cfg)},
250e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0887, 0x4462, iwl2030_2bgn_cfg)},
251e705c121SKalle Valo 
252e705c121SKalle Valo /* 6x35 Series */
253e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088E, 0x4060, iwl6035_2agn_cfg)},
254e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088E, 0x406A, iwl6035_2agn_sff_cfg)},
255e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088F, 0x4260, iwl6035_2agn_cfg)},
256e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088F, 0x426A, iwl6035_2agn_sff_cfg)},
257e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088E, 0x4460, iwl6035_2agn_cfg)},
258e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088E, 0x446A, iwl6035_2agn_sff_cfg)},
259e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088E, 0x4860, iwl6035_2agn_cfg)},
260e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088F, 0x5260, iwl6035_2agn_cfg)},
261e705c121SKalle Valo 
262e705c121SKalle Valo /* 105 Series */
263e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0894, 0x0022, iwl105_bgn_cfg)},
264e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0895, 0x0222, iwl105_bgn_cfg)},
265e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0894, 0x0422, iwl105_bgn_cfg)},
266e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0894, 0x0822, iwl105_bgn_d_cfg)},
267e705c121SKalle Valo 
268e705c121SKalle Valo /* 135 Series */
269e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0892, 0x0062, iwl135_bgn_cfg)},
270e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0893, 0x0262, iwl135_bgn_cfg)},
271e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0892, 0x0462, iwl135_bgn_cfg)},
272e705c121SKalle Valo #endif /* CONFIG_IWLDVM */
273e705c121SKalle Valo 
274e705c121SKalle Valo #if IS_ENABLED(CONFIG_IWLMVM)
275e705c121SKalle Valo /* 7260 Series */
276e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4070, iwl7260_2ac_cfg)},
277e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4072, iwl7260_2ac_cfg)},
278e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4170, iwl7260_2ac_cfg)},
279e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4C60, iwl7260_2ac_cfg)},
280e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4C70, iwl7260_2ac_cfg)},
281e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4060, iwl7260_2n_cfg)},
282e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x406A, iwl7260_2n_cfg)},
283e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4160, iwl7260_2n_cfg)},
284e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4062, iwl7260_n_cfg)},
285e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4162, iwl7260_n_cfg)},
286e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4270, iwl7260_2ac_cfg)},
287e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4272, iwl7260_2ac_cfg)},
288e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4260, iwl7260_2n_cfg)},
289e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x426A, iwl7260_2n_cfg)},
290e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4262, iwl7260_n_cfg)},
291e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4470, iwl7260_2ac_cfg)},
292e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4472, iwl7260_2ac_cfg)},
293e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4460, iwl7260_2n_cfg)},
294e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x446A, iwl7260_2n_cfg)},
295e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4462, iwl7260_n_cfg)},
296e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4870, iwl7260_2ac_cfg)},
297e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x486E, iwl7260_2ac_cfg)},
298e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4A70, iwl7260_2ac_cfg_high_temp)},
299e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4A6E, iwl7260_2ac_cfg_high_temp)},
300e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4A6C, iwl7260_2ac_cfg_high_temp)},
301e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4570, iwl7260_2ac_cfg)},
302e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4560, iwl7260_2n_cfg)},
303e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4370, iwl7260_2ac_cfg)},
304e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4360, iwl7260_2n_cfg)},
305e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x5070, iwl7260_2ac_cfg)},
306e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x5072, iwl7260_2ac_cfg)},
307e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x5170, iwl7260_2ac_cfg)},
308e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x5770, iwl7260_2ac_cfg)},
309e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4020, iwl7260_2n_cfg)},
310e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x402A, iwl7260_2n_cfg)},
311e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4220, iwl7260_2n_cfg)},
312e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4420, iwl7260_2n_cfg)},
313e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC070, iwl7260_2ac_cfg)},
314e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC072, iwl7260_2ac_cfg)},
315e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC170, iwl7260_2ac_cfg)},
316e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC060, iwl7260_2n_cfg)},
317e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC06A, iwl7260_2n_cfg)},
318e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC160, iwl7260_2n_cfg)},
319e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC062, iwl7260_n_cfg)},
320e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC162, iwl7260_n_cfg)},
321e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC770, iwl7260_2ac_cfg)},
322e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC760, iwl7260_2n_cfg)},
323e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC270, iwl7260_2ac_cfg)},
324e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xCC70, iwl7260_2ac_cfg)},
325e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xCC60, iwl7260_2ac_cfg)},
326e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC272, iwl7260_2ac_cfg)},
327e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC260, iwl7260_2n_cfg)},
328e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC26A, iwl7260_n_cfg)},
329e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC262, iwl7260_n_cfg)},
330e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC470, iwl7260_2ac_cfg)},
331e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC472, iwl7260_2ac_cfg)},
332e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC460, iwl7260_2n_cfg)},
333e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC462, iwl7260_n_cfg)},
334e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC570, iwl7260_2ac_cfg)},
335e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC560, iwl7260_2n_cfg)},
336e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC370, iwl7260_2ac_cfg)},
337e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC360, iwl7260_2n_cfg)},
338e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC020, iwl7260_2n_cfg)},
339e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC02A, iwl7260_2n_cfg)},
340e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC220, iwl7260_2n_cfg)},
341e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC420, iwl7260_2n_cfg)},
342e705c121SKalle Valo 
343e705c121SKalle Valo /* 3160 Series */
344e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0070, iwl3160_2ac_cfg)},
345e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0072, iwl3160_2ac_cfg)},
346e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0170, iwl3160_2ac_cfg)},
347e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0172, iwl3160_2ac_cfg)},
348e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0060, iwl3160_2n_cfg)},
349e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0062, iwl3160_n_cfg)},
350e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B4, 0x0270, iwl3160_2ac_cfg)},
351e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B4, 0x0272, iwl3160_2ac_cfg)},
352e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0470, iwl3160_2ac_cfg)},
353e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0472, iwl3160_2ac_cfg)},
354e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B4, 0x0370, iwl3160_2ac_cfg)},
355e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8070, iwl3160_2ac_cfg)},
356e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8072, iwl3160_2ac_cfg)},
357e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8170, iwl3160_2ac_cfg)},
358e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8172, iwl3160_2ac_cfg)},
359e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8060, iwl3160_2n_cfg)},
360e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8062, iwl3160_n_cfg)},
361e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B4, 0x8270, iwl3160_2ac_cfg)},
362e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B4, 0x8370, iwl3160_2ac_cfg)},
363e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B4, 0x8272, iwl3160_2ac_cfg)},
364e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8470, iwl3160_2ac_cfg)},
365e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8570, iwl3160_2ac_cfg)},
366e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x1070, iwl3160_2ac_cfg)},
367e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x1170, iwl3160_2ac_cfg)},
368e705c121SKalle Valo 
369e705c121SKalle Valo /* 3165 Series */
370e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x4010, iwl3165_2ac_cfg)},
371e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x4012, iwl3165_2ac_cfg)},
372e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3166, 0x4212, iwl3165_2ac_cfg)},
373e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x4410, iwl3165_2ac_cfg)},
374e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x4510, iwl3165_2ac_cfg)},
375e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x4110, iwl3165_2ac_cfg)},
376e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3166, 0x4310, iwl3165_2ac_cfg)},
377e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3166, 0x4210, iwl3165_2ac_cfg)},
378e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x8010, iwl3165_2ac_cfg)},
379e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x8110, iwl3165_2ac_cfg)},
380e705c121SKalle Valo 
381c4836b05SOren Givon /* 3168 Series */
3827b08c67fSOren Givon 	{IWL_PCI_DEVICE(0x24FB, 0x2010, iwl3168_2ac_cfg)},
383c4836b05SOren Givon 	{IWL_PCI_DEVICE(0x24FB, 0x2110, iwl3168_2ac_cfg)},
3847b08c67fSOren Givon 	{IWL_PCI_DEVICE(0x24FB, 0x2050, iwl3168_2ac_cfg)},
3857b08c67fSOren Givon 	{IWL_PCI_DEVICE(0x24FB, 0x2150, iwl3168_2ac_cfg)},
386c4836b05SOren Givon 	{IWL_PCI_DEVICE(0x24FB, 0x0000, iwl3168_2ac_cfg)},
387c4836b05SOren Givon 
388e705c121SKalle Valo /* 7265 Series */
389e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5010, iwl7265_2ac_cfg)},
390e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5110, iwl7265_2ac_cfg)},
391e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5100, iwl7265_2ac_cfg)},
392e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5310, iwl7265_2ac_cfg)},
393e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5302, iwl7265_n_cfg)},
394e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5210, iwl7265_2ac_cfg)},
395006bda75SOren Givon 	{IWL_PCI_DEVICE(0x095A, 0x5C10, iwl7265_2ac_cfg)},
396e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5012, iwl7265_2ac_cfg)},
397e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5412, iwl7265_2ac_cfg)},
398e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5410, iwl7265_2ac_cfg)},
399e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5510, iwl7265_2ac_cfg)},
400e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5400, iwl7265_2ac_cfg)},
401e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x1010, iwl7265_2ac_cfg)},
402e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5000, iwl7265_2n_cfg)},
403e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x500A, iwl7265_2n_cfg)},
404e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5200, iwl7265_2n_cfg)},
405e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5002, iwl7265_n_cfg)},
406e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5102, iwl7265_n_cfg)},
407e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5202, iwl7265_n_cfg)},
408e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9010, iwl7265_2ac_cfg)},
409e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9012, iwl7265_2ac_cfg)},
410e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x900A, iwl7265_2ac_cfg)},
411e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9110, iwl7265_2ac_cfg)},
412e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9112, iwl7265_2ac_cfg)},
413006bda75SOren Givon 	{IWL_PCI_DEVICE(0x095B, 0x9210, iwl7265_2ac_cfg)},
414e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x9200, iwl7265_2ac_cfg)},
415e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9510, iwl7265_2ac_cfg)},
416006bda75SOren Givon 	{IWL_PCI_DEVICE(0x095B, 0x9310, iwl7265_2ac_cfg)},
417e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9410, iwl7265_2ac_cfg)},
418e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5020, iwl7265_2n_cfg)},
419e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x502A, iwl7265_2n_cfg)},
420e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5420, iwl7265_2n_cfg)},
421e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5090, iwl7265_2ac_cfg)},
422e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5190, iwl7265_2ac_cfg)},
423e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5590, iwl7265_2ac_cfg)},
424e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5290, iwl7265_2ac_cfg)},
425e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5490, iwl7265_2ac_cfg)},
426e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5F10, iwl7265_2ac_cfg)},
427e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5212, iwl7265_2ac_cfg)},
428e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x520A, iwl7265_2ac_cfg)},
429e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9000, iwl7265_2ac_cfg)},
430e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9400, iwl7265_2ac_cfg)},
4313f7a5e13SLuca Coelho 	{IWL_PCI_DEVICE(0x095A, 0x9E10, iwl7265_2ac_cfg)},
432e705c121SKalle Valo 
433e705c121SKalle Valo /* 8000 Series */
434e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0010, iwl8260_2ac_cfg)},
435e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x1010, iwl8260_2ac_cfg)},
4364b79deecSOren Givon 	{IWL_PCI_DEVICE(0x24F3, 0x10B0, iwl8260_2ac_cfg)},
4374615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x0130, iwl8260_2ac_cfg)},
4384615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x1130, iwl8260_2ac_cfg)},
4394615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x0132, iwl8260_2ac_cfg)},
4404615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x1132, iwl8260_2ac_cfg)},
441e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0110, iwl8260_2ac_cfg)},
4424615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x01F0, iwl8260_2ac_cfg)},
4434615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x0012, iwl8260_2ac_cfg)},
4444615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x1012, iwl8260_2ac_cfg)},
445e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x1110, iwl8260_2ac_cfg)},
446e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0050, iwl8260_2ac_cfg)},
447e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0250, iwl8260_2ac_cfg)},
448e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x1050, iwl8260_2ac_cfg)},
449e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0150, iwl8260_2ac_cfg)},
4504615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x1150, iwl8260_2ac_cfg)},
451e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F4, 0x0030, iwl8260_2ac_cfg)},
452e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F4, 0x1030, iwl8260_2ac_cfg)},
453e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0xC010, iwl8260_2ac_cfg)},
454e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0xC110, iwl8260_2ac_cfg)},
455e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0xD010, iwl8260_2ac_cfg)},
456e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0xC050, iwl8260_2ac_cfg)},
457e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0xD050, iwl8260_2ac_cfg)},
4584b79deecSOren Givon 	{IWL_PCI_DEVICE(0x24F3, 0xD0B0, iwl8260_2ac_cfg)},
4594b79deecSOren Givon 	{IWL_PCI_DEVICE(0x24F3, 0xB0B0, iwl8260_2ac_cfg)},
460e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x8010, iwl8260_2ac_cfg)},
4614615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x8110, iwl8260_2ac_cfg)},
462e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x9010, iwl8260_2ac_cfg)},
4634615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x9110, iwl8260_2ac_cfg)},
464e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F4, 0x8030, iwl8260_2ac_cfg)},
465e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F4, 0x9030, iwl8260_2ac_cfg)},
466d669fc2dSIhab Zhaika 	{IWL_PCI_DEVICE(0x24F4, 0xC030, iwl8260_2ac_cfg)},
467d669fc2dSIhab Zhaika 	{IWL_PCI_DEVICE(0x24F4, 0xD030, iwl8260_2ac_cfg)},
4684615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x8130, iwl8260_2ac_cfg)},
4694615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x9130, iwl8260_2ac_cfg)},
4704615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x8132, iwl8260_2ac_cfg)},
4714615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x9132, iwl8260_2ac_cfg)},
472e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x8050, iwl8260_2ac_cfg)},
4734615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x8150, iwl8260_2ac_cfg)},
474e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x9050, iwl8260_2ac_cfg)},
4754615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x9150, iwl8260_2ac_cfg)},
476e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0004, iwl8260_2n_cfg)},
4774615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x0044, iwl8260_2n_cfg)},
478e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F5, 0x0010, iwl4165_2ac_cfg)},
479e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F6, 0x0030, iwl4165_2ac_cfg)},
480e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0810, iwl8260_2ac_cfg)},
481e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0910, iwl8260_2ac_cfg)},
482e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0850, iwl8260_2ac_cfg)},
483e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0950, iwl8260_2ac_cfg)},
4844615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x0930, iwl8260_2ac_cfg)},
4858d0e4f8fSOren Givon 	{IWL_PCI_DEVICE(0x24F3, 0x0000, iwl8265_2ac_cfg)},
486d669fc2dSIhab Zhaika 	{IWL_PCI_DEVICE(0x24F3, 0x4010, iwl8260_2ac_cfg)},
487abf10f86SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0010, iwl8265_2ac_cfg)},
488d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0110, iwl8265_2ac_cfg)},
489d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x1110, iwl8265_2ac_cfg)},
490f24bbae5SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x1130, iwl8265_2ac_cfg)},
491f24bbae5SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0130, iwl8265_2ac_cfg)},
492d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x1010, iwl8265_2ac_cfg)},
4938b6607ccSOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x10D0, iwl8265_2ac_cfg)},
494d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0050, iwl8265_2ac_cfg)},
495d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0150, iwl8265_2ac_cfg)},
496d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x9010, iwl8265_2ac_cfg)},
497d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x8110, iwl8265_2ac_cfg)},
498d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x8050, iwl8265_2ac_cfg)},
4998d0e4f8fSOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x8010, iwl8265_2ac_cfg)},
5009baa0398SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0810, iwl8265_2ac_cfg)},
501d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x9110, iwl8265_2ac_cfg)},
502d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x8130, iwl8265_2ac_cfg)},
503f24bbae5SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0910, iwl8265_2ac_cfg)},
504f24bbae5SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0930, iwl8265_2ac_cfg)},
505f24bbae5SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0950, iwl8265_2ac_cfg)},
506f24bbae5SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0850, iwl8265_2ac_cfg)},
507f2758893STzipi Peres 	{IWL_PCI_DEVICE(0x24FD, 0x1014, iwl8265_2ac_cfg)},
508f2758893STzipi Peres 	{IWL_PCI_DEVICE(0x24FD, 0x3E02, iwl8275_2ac_cfg)},
509f2758893STzipi Peres 	{IWL_PCI_DEVICE(0x24FD, 0x3E01, iwl8275_2ac_cfg)},
510f2758893STzipi Peres 	{IWL_PCI_DEVICE(0x24FD, 0x1012, iwl8275_2ac_cfg)},
511a3e939dfSOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0012, iwl8275_2ac_cfg)},
5127cddbef4SIhab Zhaika 	{IWL_PCI_DEVICE(0x24FD, 0x0014, iwl8265_2ac_cfg)},
5137cddbef4SIhab Zhaika 	{IWL_PCI_DEVICE(0x24FD, 0x9074, iwl8265_2ac_cfg)},
51489374fe6SDreyfuss, Haim 
51589374fe6SDreyfuss, Haim /* 9000 Series */
516aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x0030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
517aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x0034, iwl9560_2ac_cfg_qu_b0_jf_b0)},
518aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x0038, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
519aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x003C, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
520aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x0060, iwl9461_2ac_cfg_qu_b0_jf_b0)},
521aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x0064, iwl9461_2ac_cfg_qu_b0_jf_b0)},
522aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x00A0, iwl9462_2ac_cfg_qu_b0_jf_b0)},
523aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x00A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
524aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x0230, iwl9560_2ac_cfg_qu_b0_jf_b0)},
525aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x0234, iwl9560_2ac_cfg_qu_b0_jf_b0)},
526aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x0238, iwl9560_2ac_cfg_qu_b0_jf_b0)},
527aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x023C, iwl9560_2ac_cfg_qu_b0_jf_b0)},
528aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x0260, iwl9461_2ac_cfg_qu_b0_jf_b0)},
529aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x0264, iwl9461_2ac_cfg_qu_b0_jf_b0)},
530aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x02A0, iwl9462_2ac_cfg_qu_b0_jf_b0)},
531aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x02A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
532aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x1030, iwl9560_2ac_cfg_qu_b0_jf_b0)},
533aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x1551, killer1550s_2ac_cfg_qu_b0_jf_b0)},
534aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x1552, killer1550i_2ac_cfg_qu_b0_jf_b0)},
535aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x2030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
536aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x2034, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
537aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x4030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
538aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x4034, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
539aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x40A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
540aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x4234, iwl9560_2ac_cfg_qu_b0_jf_b0)},
541aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, 0x42A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
542aa0cc7ddSLuca Coelho 
543658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0030, iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc)},
544658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0034, iwl9560_2ac_cfg_quz_a0_jf_b0_soc)},
545658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0038, iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc)},
546658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x003C, iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc)},
547658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0060, iwl9461_2ac_cfg_quz_a0_jf_b0_soc)},
548658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0064, iwl9461_2ac_cfg_quz_a0_jf_b0_soc)},
549658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x00A0, iwl9462_2ac_cfg_quz_a0_jf_b0_soc)},
550658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x00A4, iwl9462_2ac_cfg_quz_a0_jf_b0_soc)},
551658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0230, iwl9560_2ac_cfg_quz_a0_jf_b0_soc)},
552658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0234, iwl9560_2ac_cfg_quz_a0_jf_b0_soc)},
553658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0238, iwl9560_2ac_cfg_quz_a0_jf_b0_soc)},
554658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x023C, iwl9560_2ac_cfg_quz_a0_jf_b0_soc)},
555658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0260, iwl9461_2ac_cfg_quz_a0_jf_b0_soc)},
556658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0264, iwl9461_2ac_cfg_quz_a0_jf_b0_soc)},
557658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x02A0, iwl9462_2ac_cfg_quz_a0_jf_b0_soc)},
558658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x02A4, iwl9462_2ac_cfg_quz_a0_jf_b0_soc)},
559658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x1551, iwl9560_killer_s_2ac_cfg_quz_a0_jf_b0_soc)},
560658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x1552, iwl9560_killer_i_2ac_cfg_quz_a0_jf_b0_soc)},
561658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x2030, iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc)},
562658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x2034, iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc)},
563658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x4030, iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc)},
564658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x4034, iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc)},
565658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x40A4, iwl9462_2ac_cfg_quz_a0_jf_b0_soc)},
566658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x4234, iwl9560_2ac_cfg_quz_a0_jf_b0_soc)},
567658521fcSIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x42A4, iwl9462_2ac_cfg_quz_a0_jf_b0_soc)},
5682a612a60SLuca Coelho 
5692a612a60SLuca Coelho 	{IWL_PCI_DEVICE(0x2526, PCI_ANY_ID, iwl9000_trans_cfg)},
5702a612a60SLuca Coelho 
5711105a337SLuca Coelho 	{IWL_PCI_DEVICE(0x271B, 0x0010, iwl9160_2ac_cfg)},
5721105a337SLuca Coelho 	{IWL_PCI_DEVICE(0x271B, 0x0014, iwl9160_2ac_cfg)},
5731105a337SLuca Coelho 	{IWL_PCI_DEVICE(0x271B, 0x0210, iwl9160_2ac_cfg)},
574dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x271B, 0x0214, iwl9260_2ac_cfg)},
575567deca8SIhab Zhaika 	{IWL_PCI_DEVICE(0x271C, 0x0214, iwl9260_2ac_cfg)},
576aa0cc7ddSLuca Coelho 
57717c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x0034, iwl9560_2ac_cfg_qu_b0_jf_b0)},
57817c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x0038, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
57917c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x003C, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
58017c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x0060, iwl9461_2ac_cfg_qu_b0_jf_b0)},
58117c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x0064, iwl9461_2ac_cfg_qu_b0_jf_b0)},
58217c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x00A0, iwl9462_2ac_cfg_qu_b0_jf_b0)},
58317c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x00A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
58417c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x0230, iwl9560_2ac_cfg_qu_b0_jf_b0)},
58517c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x0234, iwl9560_2ac_cfg_qu_b0_jf_b0)},
58617c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x0238, iwl9560_2ac_cfg_qu_b0_jf_b0)},
58717c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x023C, iwl9560_2ac_cfg_qu_b0_jf_b0)},
58817c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x0260, iwl9461_2ac_cfg_qu_b0_jf_b0)},
58917c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x0264, iwl9461_2ac_cfg_qu_b0_jf_b0)},
59017c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x02A0, iwl9462_2ac_cfg_qu_b0_jf_b0)},
59117c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x02A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
59217c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x1030, iwl9560_2ac_cfg_qu_b0_jf_b0)},
59317c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x1551, killer1550s_2ac_cfg_qu_b0_jf_b0)},
59417c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x1552, killer1550i_2ac_cfg_qu_b0_jf_b0)},
59517c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x2030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
59617c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x2034, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
59717c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x4030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
59817c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x4034, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
59917c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x40A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
60017c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x4234, iwl9560_2ac_cfg_qu_b0_jf_b0)},
60117c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x42A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
60217c216edSLuca Coelho 
60317c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x0030, iwl9560_2ac_160_cfg_soc)},
60417c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x0034, iwl9560_2ac_cfg_soc)},
60517c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x0038, iwl9560_2ac_160_cfg_soc)},
60617c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x003C, iwl9560_2ac_160_cfg_soc)},
60717c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x0060, iwl9460_2ac_cfg_soc)},
60817c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x0064, iwl9461_2ac_cfg_soc)},
60917c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x00A0, iwl9462_2ac_cfg_soc)},
61017c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x00A4, iwl9462_2ac_cfg_soc)},
61117c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x0230, iwl9560_2ac_cfg_soc)},
61217c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x0234, iwl9560_2ac_cfg_soc)},
61317c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x0238, iwl9560_2ac_cfg_soc)},
61417c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x023C, iwl9560_2ac_cfg_soc)},
61517c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x0260, iwl9461_2ac_cfg_soc)},
61617c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x0264, iwl9461_2ac_cfg_soc)},
61717c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x02A0, iwl9462_2ac_cfg_soc)},
61817c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x02A4, iwl9462_2ac_cfg_soc)},
61917c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x1010, iwl9260_2ac_cfg)},
62017c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x1030, iwl9560_2ac_cfg_soc)},
62117c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x1210, iwl9260_2ac_cfg)},
62217c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x1551, iwl9560_killer_s_2ac_cfg_soc)},
62317c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x1552, iwl9560_killer_2ac_cfg_soc)},
62417c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x2030, iwl9560_2ac_160_cfg_soc)},
62517c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x2034, iwl9560_2ac_160_cfg_soc)},
62617c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x4030, iwl9560_2ac_160_cfg_soc)},
62717c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x4034, iwl9560_2ac_160_cfg_soc)},
62817c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x40A4, iwl9462_2ac_cfg_soc)},
62917c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x4234, iwl9560_2ac_cfg_soc)},
63017c216edSLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, 0x42A4, iwl9462_2ac_cfg_soc)},
631aa0cc7ddSLuca Coelho 
63298f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x31DC, 0x0030, iwl9560_2ac_160_cfg_shared_clk)},
63386a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x0034, iwl9560_2ac_cfg_shared_clk)},
63498f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x31DC, 0x0038, iwl9560_2ac_160_cfg_shared_clk)},
63598f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x31DC, 0x003C, iwl9560_2ac_160_cfg_shared_clk)},
636*56ba371aSLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x0060, iwl9461_2ac_cfg_shared_clk)},
63786a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x0064, iwl9461_2ac_cfg_shared_clk)},
63886a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x00A0, iwl9462_2ac_cfg_shared_clk)},
63986a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x00A4, iwl9462_2ac_cfg_shared_clk)},
64086a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x0230, iwl9560_2ac_cfg_shared_clk)},
64186a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x0234, iwl9560_2ac_cfg_shared_clk)},
64286a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x0238, iwl9560_2ac_cfg_shared_clk)},
64386a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x023C, iwl9560_2ac_cfg_shared_clk)},
64486a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x0260, iwl9461_2ac_cfg_shared_clk)},
64586a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x0264, iwl9461_2ac_cfg_shared_clk)},
64686a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x02A0, iwl9462_2ac_cfg_shared_clk)},
64786a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x02A4, iwl9462_2ac_cfg_shared_clk)},
6489e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x1010, iwl9260_2ac_cfg)},
6499e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x1030, iwl9560_2ac_cfg_shared_clk)},
6509e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x1210, iwl9260_2ac_cfg)},
6510a5257bcSEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x31DC, 0x1551, iwl9560_killer_s_2ac_cfg_shared_clk)},
6520a5257bcSEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x31DC, 0x1552, iwl9560_killer_2ac_cfg_shared_clk)},
65398f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x31DC, 0x2030, iwl9560_2ac_160_cfg_shared_clk)},
65498f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x31DC, 0x2034, iwl9560_2ac_160_cfg_shared_clk)},
65598f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x31DC, 0x4030, iwl9560_2ac_160_cfg_shared_clk)},
65698f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x31DC, 0x4034, iwl9560_2ac_160_cfg_shared_clk)},
65786a2b204SLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x40A4, iwl9462_2ac_cfg_shared_clk)},
6589e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x4234, iwl9560_2ac_cfg_shared_clk)},
6599e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, 0x42A4, iwl9462_2ac_cfg_shared_clk)},
660ab27926dSLuca Coelho 
66198f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x0030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
662ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x0034, iwl9560_2ac_cfg_qu_b0_jf_b0)},
66398f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x0038, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
66498f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x003C, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
665ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x0060, iwl9461_2ac_cfg_qu_b0_jf_b0)},
666ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x0064, iwl9461_2ac_cfg_qu_b0_jf_b0)},
667ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x00A0, iwl9462_2ac_cfg_qu_b0_jf_b0)},
668ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x00A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
669ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x0230, iwl9560_2ac_cfg_qu_b0_jf_b0)},
670ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x0234, iwl9560_2ac_cfg_qu_b0_jf_b0)},
671ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x0238, iwl9560_2ac_cfg_qu_b0_jf_b0)},
672ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x023C, iwl9560_2ac_cfg_qu_b0_jf_b0)},
673ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x0260, iwl9461_2ac_cfg_qu_b0_jf_b0)},
674ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x0264, iwl9461_2ac_cfg_qu_b0_jf_b0)},
675ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x02A0, iwl9462_2ac_cfg_qu_b0_jf_b0)},
676ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x02A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
677ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x1551, killer1550s_2ac_cfg_qu_b0_jf_b0)},
678ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x1552, killer1550i_2ac_cfg_qu_b0_jf_b0)},
67998f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x2030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
68098f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x2034, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
68198f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x4030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
68298f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x4034, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
683ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x40A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
684ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x4234, iwl9560_2ac_cfg_qu_b0_jf_b0)},
685ab27926dSLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, 0x42A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
686ab27926dSLuca Coelho 
687aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x0030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
688aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x0034, iwl9560_2ac_cfg_qu_b0_jf_b0)},
689aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x0038, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
690aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x003C, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
691aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x0060, iwl9461_2ac_cfg_qu_b0_jf_b0)},
692aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x0064, iwl9461_2ac_cfg_qu_b0_jf_b0)},
693aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x00A0, iwl9462_2ac_cfg_qu_b0_jf_b0)},
694aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x00A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
695aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x0230, iwl9560_2ac_cfg_qu_b0_jf_b0)},
696aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x0234, iwl9560_2ac_cfg_qu_b0_jf_b0)},
697aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x0238, iwl9560_2ac_cfg_qu_b0_jf_b0)},
698aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x023C, iwl9560_2ac_cfg_qu_b0_jf_b0)},
699aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x0260, iwl9461_2ac_cfg_qu_b0_jf_b0)},
700aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x0264, iwl9461_2ac_cfg_qu_b0_jf_b0)},
701aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x02A0, iwl9462_2ac_cfg_qu_b0_jf_b0)},
702aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x02A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
703aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x1030, iwl9560_2ac_cfg_qu_b0_jf_b0)},
704aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x1551, killer1550s_2ac_cfg_qu_b0_jf_b0)},
705aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x1552, killer1550i_2ac_cfg_qu_b0_jf_b0)},
706aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x2030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
707aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x2034, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
708aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x4030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
709aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x4034, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
710aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x40A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
711aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x4234, iwl9560_2ac_cfg_qu_b0_jf_b0)},
712aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, 0x42A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
713aa0cc7ddSLuca Coelho 
714aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x0030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
715aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x0034, iwl9560_2ac_cfg_qu_b0_jf_b0)},
716aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x0038, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
717aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x003C, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
718aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x0060, iwl9461_2ac_cfg_qu_b0_jf_b0)},
719aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x0064, iwl9461_2ac_cfg_qu_b0_jf_b0)},
720aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x00A0, iwl9462_2ac_cfg_qu_b0_jf_b0)},
721aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x00A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
722aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x0230, iwl9560_2ac_cfg_qu_b0_jf_b0)},
723aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x0234, iwl9560_2ac_cfg_qu_b0_jf_b0)},
724aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x0238, iwl9560_2ac_cfg_qu_b0_jf_b0)},
725aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x023C, iwl9560_2ac_cfg_qu_b0_jf_b0)},
726aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x0260, iwl9461_2ac_cfg_qu_b0_jf_b0)},
727aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x0264, iwl9461_2ac_cfg_qu_b0_jf_b0)},
728aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x02A0, iwl9462_2ac_cfg_qu_b0_jf_b0)},
729aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x02A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
730aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x1030, iwl9560_2ac_cfg_qu_b0_jf_b0)},
731aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x1551, killer1550s_2ac_cfg_qu_b0_jf_b0)},
732aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x1552, killer1550i_2ac_cfg_qu_b0_jf_b0)},
733aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x2030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
734aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x2034, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
735aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x4030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
736aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x4034, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
737aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x40A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
738aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x4234, iwl9560_2ac_cfg_qu_b0_jf_b0)},
739aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, 0x42A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
740aa0cc7ddSLuca Coelho 
741dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0000, iwl9460_2ac_cfg_soc)},
742dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0010, iwl9460_2ac_cfg_soc)},
74398f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x9DF0, 0x0030, iwl9560_2ac_160_cfg_soc)},
744dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0034, iwl9560_2ac_cfg_soc)},
74598f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x9DF0, 0x0038, iwl9560_2ac_160_cfg_soc)},
74698f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x9DF0, 0x003C, iwl9560_2ac_160_cfg_soc)},
747*56ba371aSLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0060, iwl9461_2ac_cfg_soc)},
748dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0064, iwl9461_2ac_cfg_soc)},
749dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x00A0, iwl9462_2ac_cfg_soc)},
750dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x00A4, iwl9462_2ac_cfg_soc)},
751dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0210, iwl9460_2ac_cfg_soc)},
752dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0230, iwl9560_2ac_cfg_soc)},
753dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0234, iwl9560_2ac_cfg_soc)},
754dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0238, iwl9560_2ac_cfg_soc)},
755dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x023C, iwl9560_2ac_cfg_soc)},
756dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0260, iwl9461_2ac_cfg_soc)},
757dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0264, iwl9461_2ac_cfg_soc)},
758dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x02A0, iwl9462_2ac_cfg_soc)},
759dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x02A4, iwl9462_2ac_cfg_soc)},
760dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0310, iwl9460_2ac_cfg_soc)},
761dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0410, iwl9460_2ac_cfg_soc)},
762dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0510, iwl9460_2ac_cfg_soc)},
763dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0610, iwl9460_2ac_cfg_soc)},
764dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0710, iwl9460_2ac_cfg_soc)},
765dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x0A10, iwl9460_2ac_cfg_soc)},
7669e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x1010, iwl9260_2ac_cfg)},
7679e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x1030, iwl9560_2ac_cfg_soc)},
7689e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x1210, iwl9260_2ac_cfg)},
7690a5257bcSEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x9DF0, 0x1551, iwl9560_killer_s_2ac_cfg_soc)},
7700a5257bcSEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x9DF0, 0x1552, iwl9560_killer_2ac_cfg_soc)},
771dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x2010, iwl9460_2ac_cfg_soc)},
77298f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x9DF0, 0x2030, iwl9560_2ac_160_cfg_soc)},
77398f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x9DF0, 0x2034, iwl9560_2ac_160_cfg_soc)},
774dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x2A10, iwl9460_2ac_cfg_soc)},
77598f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x9DF0, 0x4030, iwl9560_2ac_160_cfg_soc)},
77698f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0x9DF0, 0x4034, iwl9560_2ac_160_cfg_soc)},
777dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x40A4, iwl9462_2ac_cfg_soc)},
7789e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x4234, iwl9560_2ac_cfg_soc)},
7799e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, 0x42A4, iwl9462_2ac_cfg_soc)},
780aa0cc7ddSLuca Coelho 
781aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x0030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
782aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x0034, iwl9560_2ac_cfg_qu_b0_jf_b0)},
783aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x0038, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
784aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x003C, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
785aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x0060, iwl9461_2ac_cfg_qu_b0_jf_b0)},
786aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x0064, iwl9461_2ac_cfg_qu_b0_jf_b0)},
787aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x00A0, iwl9462_2ac_cfg_qu_b0_jf_b0)},
788aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x00A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
789aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x0230, iwl9560_2ac_cfg_qu_b0_jf_b0)},
790aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x0234, iwl9560_2ac_cfg_qu_b0_jf_b0)},
791aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x0238, iwl9560_2ac_cfg_qu_b0_jf_b0)},
792aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x023C, iwl9560_2ac_cfg_qu_b0_jf_b0)},
793aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x0260, iwl9461_2ac_cfg_qu_b0_jf_b0)},
794aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x0264, iwl9461_2ac_cfg_qu_b0_jf_b0)},
795aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x02A0, iwl9462_2ac_cfg_qu_b0_jf_b0)},
796aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x02A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
797aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x1030, iwl9560_2ac_cfg_qu_b0_jf_b0)},
798aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x1551, killer1550s_2ac_cfg_qu_b0_jf_b0)},
799aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x1552, killer1550i_2ac_cfg_qu_b0_jf_b0)},
800aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x2030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
801aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x2034, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
802aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x4030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
803aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x4034, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},
804aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x40A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
805aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x4234, iwl9560_2ac_cfg_qu_b0_jf_b0)},
806aa0cc7ddSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, 0x42A4, iwl9462_2ac_cfg_qu_b0_jf_b0)},
807aa0cc7ddSLuca Coelho 
80898f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0xA370, 0x0030, iwl9560_2ac_160_cfg_soc)},
809dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x0034, iwl9560_2ac_cfg_soc)},
81098f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0xA370, 0x0038, iwl9560_2ac_160_cfg_soc)},
81198f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0xA370, 0x003C, iwl9560_2ac_160_cfg_soc)},
812*56ba371aSLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x0060, iwl9461_2ac_cfg_soc)},
813dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x0064, iwl9461_2ac_cfg_soc)},
814dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x00A0, iwl9462_2ac_cfg_soc)},
815dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x00A4, iwl9462_2ac_cfg_soc)},
816dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x0230, iwl9560_2ac_cfg_soc)},
817dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x0234, iwl9560_2ac_cfg_soc)},
818dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x0238, iwl9560_2ac_cfg_soc)},
819dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x023C, iwl9560_2ac_cfg_soc)},
820dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x0260, iwl9461_2ac_cfg_soc)},
821dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x0264, iwl9461_2ac_cfg_soc)},
822dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x02A0, iwl9462_2ac_cfg_soc)},
823dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x02A4, iwl9462_2ac_cfg_soc)},
8249e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x1010, iwl9260_2ac_cfg)},
825dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x1030, iwl9560_2ac_cfg_soc)},
8269e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x1210, iwl9260_2ac_cfg)},
8270a5257bcSEmmanuel Grumbach 	{IWL_PCI_DEVICE(0xA370, 0x1551, iwl9560_killer_s_2ac_cfg_soc)},
8280a5257bcSEmmanuel Grumbach 	{IWL_PCI_DEVICE(0xA370, 0x1552, iwl9560_killer_2ac_cfg_soc)},
82998f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0xA370, 0x2030, iwl9560_2ac_160_cfg_soc)},
83098f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0xA370, 0x2034, iwl9560_2ac_160_cfg_soc)},
83198f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0xA370, 0x4030, iwl9560_2ac_160_cfg_soc)},
83298f0d01aSIhab Zhaika 	{IWL_PCI_DEVICE(0xA370, 0x4034, iwl9560_2ac_160_cfg_soc)},
833dbc89253SLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x40A4, iwl9462_2ac_cfg_soc)},
8349e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x4234, iwl9560_2ac_cfg_soc)},
8359e5053adSLuca Coelho 	{IWL_PCI_DEVICE(0xA370, 0x42A4, iwl9462_2ac_cfg_soc)},
83681edb6adSLuca Coelho 	{IWL_PCI_DEVICE(0x2720, 0x0030, iwl9560_2ac_cfg_qnj_jf_b0)},
837e34d975eSHaim Dreyfuss 
8382f7a3863SLuca Coelho /* 22000 Series */
839a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x02F0, 0x0070, iwl_ax201_cfg_quz_hr)},
840a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x02F0, 0x0074, iwl_ax201_cfg_quz_hr)},
841a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x02F0, 0x0078, iwl_ax201_cfg_quz_hr)},
842a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x02F0, 0x007C, iwl_ax201_cfg_quz_hr)},
843a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x02F0, 0x0244, iwl_ax101_cfg_quz_hr)},
844a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x02F0, 0x0310, iwl_ax201_cfg_quz_hr)},
845a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x02F0, 0x1651, iwl_ax1650s_cfg_quz_hr)},
846a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x02F0, 0x1652, iwl_ax1650i_cfg_quz_hr)},
847a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x02F0, 0x2074, iwl_ax201_cfg_quz_hr)},
848a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x02F0, 0x4070, iwl_ax201_cfg_quz_hr)},
849a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x02F0, 0x4244, iwl_ax101_cfg_quz_hr)},
850a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0070, iwl_ax201_cfg_quz_hr)},
851a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0074, iwl_ax201_cfg_quz_hr)},
852a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0078, iwl_ax201_cfg_quz_hr)},
853a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x007C, iwl_ax201_cfg_quz_hr)},
854a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0244, iwl_ax101_cfg_quz_hr)},
855a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x0310, iwl_ax201_cfg_quz_hr)},
856a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x1651, iwl_ax1650s_cfg_quz_hr)},
857a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x1652, iwl_ax1650i_cfg_quz_hr)},
858a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x2074, iwl_ax201_cfg_quz_hr)},
859a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x4070, iwl_ax201_cfg_quz_hr)},
860a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x06F0, 0x4244, iwl_ax101_cfg_quz_hr)},
861085486deSIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x0000, iwl_ax101_cfg_qu_hr)},
862085486deSIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x0040, iwl_ax101_cfg_qu_hr)},
863a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x0044, iwl_ax101_cfg_qu_hr)},
864a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x0070, iwl_ax201_cfg_qu_hr)},
865a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x0074, iwl_ax201_cfg_qu_hr)},
866a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x0078, iwl_ax201_cfg_qu_hr)},
867a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x007C, iwl_ax201_cfg_qu_hr)},
868a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x0244, iwl_ax101_cfg_qu_hr)},
869a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x0310, iwl_ax201_cfg_qu_hr)},
870a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x0A10, iwl_ax201_cfg_qu_hr)},
871085486deSIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x1080, iwl_ax101_cfg_qu_hr)},
8725b74a936SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0)},
8735b74a936SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0)},
874d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x2074, iwl_ax201_cfg_qu_hr)},
875a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x4070, iwl_ax201_cfg_qu_hr)},
876a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x2720, 0x4244, iwl_ax101_cfg_qu_hr)},
877a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x0044, iwl_ax101_cfg_qu_hr)},
878a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x0070, iwl_ax201_cfg_qu_hr)},
879a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x0074, iwl_ax201_cfg_qu_hr)},
880a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x0078, iwl_ax201_cfg_qu_hr)},
881a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x007C, iwl_ax201_cfg_qu_hr)},
882a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x0244, iwl_ax101_cfg_qu_hr)},
883a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x0310, iwl_ax201_cfg_qu_hr)},
8845b74a936SIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0)},
8855b74a936SIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0)},
886d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x2074, iwl_ax201_cfg_qu_hr)},
887a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x4070, iwl_ax201_cfg_qu_hr)},
888a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x34F0, 0x4244, iwl_ax101_cfg_qu_hr)},
889a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x43F0, 0x0044, iwl_ax101_cfg_qu_hr)},
890a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x43F0, 0x0070, iwl_ax201_cfg_qu_hr)},
891a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x43F0, 0x0074, iwl_ax201_cfg_qu_hr)},
892a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x43F0, 0x0078, iwl_ax201_cfg_qu_hr)},
893a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x43F0, 0x007C, iwl_ax201_cfg_qu_hr)},
894a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x43F0, 0x0244, iwl_ax101_cfg_qu_hr)},
8955b74a936SIhab Zhaika 	{IWL_PCI_DEVICE(0x43F0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0)},
8965b74a936SIhab Zhaika 	{IWL_PCI_DEVICE(0x43F0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0)},
897d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x43F0, 0x2074, iwl_ax201_cfg_qu_hr)},
898a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x43F0, 0x4070, iwl_ax201_cfg_qu_hr)},
899a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x43F0, 0x4244, iwl_ax101_cfg_qu_hr)},
900a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0xA0F0, 0x0044, iwl_ax101_cfg_qu_hr)},
901a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0xA0F0, 0x0070, iwl_ax201_cfg_qu_hr)},
902a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0xA0F0, 0x0074, iwl_ax201_cfg_qu_hr)},
903a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0xA0F0, 0x0078, iwl_ax201_cfg_qu_hr)},
904a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0xA0F0, 0x007C, iwl_ax201_cfg_qu_hr)},
905a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0xA0F0, 0x0244, iwl_ax101_cfg_qu_hr)},
906a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0xA0F0, 0x0A10, iwl_ax201_cfg_qu_hr)},
9075b74a936SIhab Zhaika 	{IWL_PCI_DEVICE(0xA0F0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0)},
9085b74a936SIhab Zhaika 	{IWL_PCI_DEVICE(0xA0F0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0)},
909d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0xA0F0, 0x2074, iwl_ax201_cfg_qu_hr)},
910a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0xA0F0, 0x4070, iwl_ax201_cfg_qu_hr)},
911a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0xA0F0, 0x4244, iwl_ax101_cfg_qu_hr)},
91257b36f7fSIhab Zhaika 
9130d5bad14SIhab Zhaika 	{IWL_PCI_DEVICE(0x2723, 0x0080, iwl_ax200_cfg_cc)},
9140d5bad14SIhab Zhaika 	{IWL_PCI_DEVICE(0x2723, 0x0084, iwl_ax200_cfg_cc)},
9150d5bad14SIhab Zhaika 	{IWL_PCI_DEVICE(0x2723, 0x0088, iwl_ax200_cfg_cc)},
9160d5bad14SIhab Zhaika 	{IWL_PCI_DEVICE(0x2723, 0x008C, iwl_ax200_cfg_cc)},
917085486deSIhab Zhaika 	{IWL_PCI_DEVICE(0x2723, 0x1653, killer1650w_2ax_cfg)},
918085486deSIhab Zhaika 	{IWL_PCI_DEVICE(0x2723, 0x1654, killer1650x_2ax_cfg)},
919972d8e13SIhab Zhaika 	{IWL_PCI_DEVICE(0x2723, 0x2080, iwl_ax200_cfg_cc)},
9200d5bad14SIhab Zhaika 	{IWL_PCI_DEVICE(0x2723, 0x4080, iwl_ax200_cfg_cc)},
9210d5bad14SIhab Zhaika 	{IWL_PCI_DEVICE(0x2723, 0x4088, iwl_ax200_cfg_cc)},
9228093bb6dSLuca Coelho 
923d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x2725, 0x0090, iwlax211_2ax_cfg_so_gf_a0)},
924d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x2725, 0x0020, iwlax210_2ax_cfg_ty_gf_a0)},
925d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x2725, 0x0310, iwlax210_2ax_cfg_ty_gf_a0)},
926d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x2725, 0x0510, iwlax210_2ax_cfg_ty_gf_a0)},
927d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x2725, 0x0A10, iwlax210_2ax_cfg_ty_gf_a0)},
928d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x2725, 0x00B0, iwlax411_2ax_cfg_so_gf4_a0)},
929d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x7A70, 0x0090, iwlax211_2ax_cfg_so_gf_a0)},
930d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x7A70, 0x0310, iwlax211_2ax_cfg_so_gf_a0)},
931d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x7A70, 0x0510, iwlax211_2ax_cfg_so_gf_a0)},
932d151b0a2SIhab Zhaika 	{IWL_PCI_DEVICE(0x7A70, 0x0A10, iwlax211_2ax_cfg_so_gf_a0)},
933ffcb60a5SIhab Zhaika 	{IWL_PCI_DEVICE(0x7AF0, 0x0090, iwlax211_2ax_cfg_so_gf_a0)},
934a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x7AF0, 0x0310, iwlax211_2ax_cfg_so_gf_a0)},
935a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x7AF0, 0x0510, iwlax211_2ax_cfg_so_gf_a0)},
936a976bfb4SIhab Zhaika 	{IWL_PCI_DEVICE(0x7AF0, 0x0A10, iwlax211_2ax_cfg_so_gf_a0)},
937ff911dcaSShaul Triebitz 
938e705c121SKalle Valo #endif /* CONFIG_IWLMVM */
939e705c121SKalle Valo 
940e705c121SKalle Valo 	{0}
941e705c121SKalle Valo };
942e705c121SKalle Valo MODULE_DEVICE_TABLE(pci, iwl_hw_card_ids);
943e705c121SKalle Valo 
9440b295a1eSLuca Coelho #define IWL_DEV_INFO(_device, _subdevice, _cfg, _name)			 \
9450b295a1eSLuca Coelho 	{ .device = (_device), .subdevice = (_subdevice), .cfg = &(_cfg), \
9460b295a1eSLuca Coelho 	  .name = _name }
9472a612a60SLuca Coelho 
9482a612a60SLuca Coelho static const struct iwl_dev_info iwl_dev_info_table[] = {
9492a612a60SLuca Coelho #if IS_ENABLED(CONFIG_IWLMVM)
9500b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0010, iwl9260_2ac_160_cfg, iwl9260_160_name),
9510b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0014, iwl9260_2ac_160_cfg, iwl9260_160_name),
9520b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0018, iwl9260_2ac_160_cfg, iwl9260_160_name),
9530b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x001C, iwl9260_2ac_160_cfg, iwl9260_160_name),
9540b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x6010, iwl9260_2ac_160_cfg, iwl9260_160_name),
9550b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x6014, iwl9260_2ac_160_cfg, iwl9260_160_name),
9560b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x8014, iwl9260_2ac_160_cfg, iwl9260_160_name),
9570b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x8010, iwl9260_2ac_160_cfg, iwl9260_160_name),
9580b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0xA014, iwl9260_2ac_160_cfg, iwl9260_160_name),
9590b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0xE010, iwl9260_2ac_160_cfg, iwl9260_160_name),
9600b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0xE014, iwl9260_2ac_160_cfg, iwl9260_160_name),
9610b295a1eSLuca Coelho 
962*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0210, iwl9260_2ac_cfg, iwl9260_name),
963*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0214, iwl9260_2ac_cfg, iwl9260_name),
964*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x1010, iwl9260_2ac_cfg, iwl9260_name),
965*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x1210, iwl9260_2ac_cfg, iwl9260_name),
966*56ba371aSLuca Coelho 
9670b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0030, iwl9560_2ac_160_cfg, iwl9560_160_name),
9680b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0038, iwl9560_2ac_160_cfg, iwl9560_160_name),
9690b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x003C, iwl9560_2ac_160_cfg, iwl9560_160_name),
9700b295a1eSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x4030, iwl9560_2ac_160_cfg, iwl9560_160_name),
971*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x2030, iwl9560_2ac_160_cfg_soc, iwl9560_160_name),
972*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x2034, iwl9560_2ac_160_cfg_soc, iwl9560_160_name),
973*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x4034, iwl9560_2ac_160_cfg_soc, iwl9560_160_name),
974*56ba371aSLuca Coelho 
975*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0034, iwl9560_2ac_cfg, iwl9560_name),
976*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0230, iwl9560_2ac_cfg, iwl9560_name),
977*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0234, iwl9560_2ac_cfg, iwl9560_name),
978*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0238, iwl9560_2ac_cfg, iwl9560_name),
979*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x023C, iwl9560_2ac_cfg, iwl9560_name),
980*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x1030, iwl9560_2ac_cfg, iwl9560_name),
981*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x4234, iwl9560_2ac_cfg_soc, iwl9560_name),
982*56ba371aSLuca Coelho 
983*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0060, iwl9461_2ac_cfg_soc, iwl9461_name),
984*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0064, iwl9461_2ac_cfg_soc, iwl9461_name),
985*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0260, iwl9461_2ac_cfg_soc, iwl9461_name),
986*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x0264, iwl9461_2ac_cfg_soc, iwl9461_name),
987*56ba371aSLuca Coelho 
988*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x00A0, iwl9462_2ac_cfg_soc, iwl9462_name),
989*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x00A4, iwl9462_2ac_cfg_soc, iwl9462_name),
990*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x02A0, iwl9462_2ac_cfg_soc, iwl9462_name),
991*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x02A4, iwl9462_2ac_cfg_soc, iwl9462_name),
992*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x40A4, iwl9462_2ac_cfg_soc, iwl9462_name),
993*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x42A4, iwl9462_2ac_cfg_soc, iwl9462_name),
994*56ba371aSLuca Coelho 
995*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x1550, iwl9260_killer_2ac_cfg, iwl9260_killer_1550_name),
996*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x1551, iwl9560_killer_s_2ac_cfg_soc, iwl9560_killer_1550s_name),
997*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x1552, iwl9560_killer_2ac_cfg_soc, iwl9560_killer_1550i_name),
998*56ba371aSLuca Coelho 
999*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x1410, iwl9270_2ac_cfg, iwl9270_name),
1000*56ba371aSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x1610, iwl9270_2ac_cfg, iwl9270_name),
10012a612a60SLuca Coelho #endif /* CONFIG_IWLMVM */
10022a612a60SLuca Coelho };
10032a612a60SLuca Coelho 
1004e705c121SKalle Valo /* PCI registers */
1005e705c121SKalle Valo #define PCI_CFG_RETRY_TIMEOUT	0x041
1006e705c121SKalle Valo 
1007e705c121SKalle Valo static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1008e705c121SKalle Valo {
1009b3bd6416SLuca Coelho 	const struct iwl_cfg_trans_params *trans =
1010b3bd6416SLuca Coelho 		(struct iwl_cfg_trans_params *)(ent->driver_data);
1011e705c121SKalle Valo 	const struct iwl_cfg *cfg_7265d __maybe_unused = NULL;
1012e705c121SKalle Valo 	struct iwl_trans *iwl_trans;
1013c042f0c7SJohannes Berg 	struct iwl_trans_pcie *trans_pcie;
10140c18714aSLuca Coelho 	unsigned long flags;
10152a612a60SLuca Coelho 	int i, ret;
1016b3bd6416SLuca Coelho 	/*
1017b3bd6416SLuca Coelho 	 * This is needed for backwards compatibility with the old
1018b3bd6416SLuca Coelho 	 * tables, so we don't need to change all the config structs
1019b3bd6416SLuca Coelho 	 * at the same time.  The cfg is used to compare with the old
1020b3bd6416SLuca Coelho 	 * full cfg structs.
1021b3bd6416SLuca Coelho 	 */
1022b3bd6416SLuca Coelho 	const struct iwl_cfg *cfg = (struct iwl_cfg *)(ent->driver_data);
1023e705c121SKalle Valo 
1024b3bd6416SLuca Coelho 	/* make sure trans is the first element in iwl_cfg */
1025b3bd6416SLuca Coelho 	BUILD_BUG_ON(offsetof(struct iwl_cfg, trans));
1026b3bd6416SLuca Coelho 
1027b3bd6416SLuca Coelho 	iwl_trans = iwl_trans_pcie_alloc(pdev, ent, trans);
1028e705c121SKalle Valo 	if (IS_ERR(iwl_trans))
1029e705c121SKalle Valo 		return PTR_ERR(iwl_trans);
1030e705c121SKalle Valo 
1031c042f0c7SJohannes Berg 	trans_pcie = IWL_TRANS_GET_PCIE_TRANS(iwl_trans);
1032286ca8ebSLuca Coelho 
1033e705c121SKalle Valo 	/* the trans_cfg should never change, so set it now */
1034b3bd6416SLuca Coelho 	iwl_trans->trans_cfg = trans;
1035e705c121SKalle Valo 
10362a612a60SLuca Coelho 	for (i = 0; i < ARRAY_SIZE(iwl_dev_info_table); i++) {
10372a612a60SLuca Coelho 		const struct iwl_dev_info *dev_info = &iwl_dev_info_table[i];
10382a612a60SLuca Coelho 
10392a612a60SLuca Coelho 		if ((dev_info->device == IWL_CFG_ANY ||
10402a612a60SLuca Coelho 		     dev_info->device == pdev->device) &&
10412a612a60SLuca Coelho 		    (dev_info->subdevice == IWL_CFG_ANY ||
10422a612a60SLuca Coelho 		     dev_info->subdevice == pdev->subsystem_device)) {
10432a612a60SLuca Coelho 			iwl_trans->cfg = dev_info->cfg;
10440b295a1eSLuca Coelho 			iwl_trans->name = dev_info->name;
10452a612a60SLuca Coelho 			goto found;
10462a612a60SLuca Coelho 		}
10477d34a7d7SLuca Coelho 	}
10487d34a7d7SLuca Coelho 
1049e705c121SKalle Valo #if IS_ENABLED(CONFIG_IWLMVM)
1050e705c121SKalle Valo 	/*
1051e705c121SKalle Valo 	 * special-case 7265D, it has the same PCI IDs.
1052e705c121SKalle Valo 	 *
1053e705c121SKalle Valo 	 * Note that because we already pass the cfg to the transport above,
1054e705c121SKalle Valo 	 * all the parameters that the transport uses must, until that is
1055e705c121SKalle Valo 	 * changed, be identical to the ones in the 7265D configuration.
1056e705c121SKalle Valo 	 */
1057e705c121SKalle Valo 	if (cfg == &iwl7265_2ac_cfg)
1058e705c121SKalle Valo 		cfg_7265d = &iwl7265d_2ac_cfg;
1059e705c121SKalle Valo 	else if (cfg == &iwl7265_2n_cfg)
1060e705c121SKalle Valo 		cfg_7265d = &iwl7265d_2n_cfg;
1061e705c121SKalle Valo 	else if (cfg == &iwl7265_n_cfg)
1062e705c121SKalle Valo 		cfg_7265d = &iwl7265d_n_cfg;
1063e705c121SKalle Valo 	if (cfg_7265d &&
1064809805a8SLuca Coelho 	    (iwl_trans->hw_rev & CSR_HW_REV_TYPE_MSK) == CSR_HW_REV_TYPE_7265D)
1065b3bd6416SLuca Coelho 		iwl_trans->cfg = cfg_7265d;
1066809805a8SLuca Coelho 
1067809805a8SLuca Coelho 	iwl_trans->hw_rf_id = iwl_read32(iwl_trans, CSR_HW_RF_ID);
1068809805a8SLuca Coelho 
1069809805a8SLuca Coelho 	if (cfg == &iwlax210_2ax_cfg_so_hr_a0) {
1070809805a8SLuca Coelho 		if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_TY) {
1071b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwlax210_2ax_cfg_ty_gf_a0;
1072809805a8SLuca Coelho 		} else if (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) ==
1073809805a8SLuca Coelho 			   CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_JF)) {
1074b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwlax210_2ax_cfg_so_jf_a0;
1075809805a8SLuca Coelho 		} else if (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) ==
1076809805a8SLuca Coelho 			   CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_GF)) {
1077b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwlax211_2ax_cfg_so_gf_a0;
1078809805a8SLuca Coelho 		} else if (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) ==
1079809805a8SLuca Coelho 			   CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_GF4)) {
1080b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwlax411_2ax_cfg_so_gf4_a0;
1081e705c121SKalle Valo 		}
1082809805a8SLuca Coelho 	} else if (cfg == &iwl_ax101_cfg_qu_hr) {
1083809805a8SLuca Coelho 		if ((CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) ==
1084809805a8SLuca Coelho 		     CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_HR) &&
1085809805a8SLuca Coelho 		     iwl_trans->hw_rev == CSR_HW_REV_TYPE_QNJ_B0) ||
1086809805a8SLuca Coelho 		    (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) ==
1087809805a8SLuca Coelho 		     CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_HR1))) {
1088b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl22000_2ax_cfg_qnj_hr_b0;
1089b3bd6416SLuca Coelho 		} else if (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) ==
1090b3bd6416SLuca Coelho 		    CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_HR) &&
1091b3bd6416SLuca Coelho 		    iwl_trans->hw_rev == CSR_HW_REV_TYPE_QUZ) {
1092b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl_ax101_cfg_quz_hr;
1093809805a8SLuca Coelho 		} else if (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) ==
1094809805a8SLuca Coelho 			   CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_HR)) {
1095b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl_ax101_cfg_qu_hr;
1096809805a8SLuca Coelho 		} else if (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) ==
1097809805a8SLuca Coelho 			   CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_JF)) {
1098b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl22000_2ax_cfg_jf;
1099809805a8SLuca Coelho 		} else if (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) ==
1100809805a8SLuca Coelho 			   CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_HRCDB)) {
1101809805a8SLuca Coelho 			IWL_ERR(iwl_trans, "RF ID HRCDB is not supported\n");
1102809805a8SLuca Coelho 			return -EINVAL;
1103809805a8SLuca Coelho 		} else {
1104809805a8SLuca Coelho 			IWL_ERR(iwl_trans, "Unrecognized RF ID 0x%08x\n",
1105809805a8SLuca Coelho 				CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id));
1106809805a8SLuca Coelho 			return -EINVAL;
1107809805a8SLuca Coelho 		}
1108809805a8SLuca Coelho 	} else if (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) ==
1109809805a8SLuca Coelho 		   CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_HR) &&
11107cded565SLuca Coelho 		   iwl_trans->hw_rev == CSR_HW_REV_TYPE_QNJ_B0) {
1111809805a8SLuca Coelho 		u32 hw_status;
11121afb0ae4SHaim Dreyfuss 
1113809805a8SLuca Coelho 		hw_status = iwl_read_prph(iwl_trans, UMAG_GEN_HW_STATUS);
1114809805a8SLuca Coelho 		if (CSR_HW_RF_STEP(iwl_trans->hw_rf_id) == SILICON_B_STEP)
1115b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl22000_2ax_cfg_qnj_hr_b0;
1116809805a8SLuca Coelho 		else if ((hw_status & UMAG_GEN_HW_IS_FPGA) &&
1117b3bd6416SLuca Coelho 			 CSR_HW_RF_STEP(iwl_trans->hw_rf_id) ==
1118b3bd6416SLuca Coelho 			 SILICON_A_STEP)
1119b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl22000_2ax_cfg_qnj_hr_a0_f0;
11205594d80eSSara Sharon 	}
1121a7d544d6SLuca Coelho 
1122a7d544d6SLuca Coelho 	/*
1123a7d544d6SLuca Coelho 	 * This is a hack to switch from Qu B0 to Qu C0.  We need to
1124a7d544d6SLuca Coelho 	 * do this for all cfgs that use Qu B0.  All this code is in
1125a7d544d6SLuca Coelho 	 * urgent need for a refactor, but for now this is the easiest
1126a7d544d6SLuca Coelho 	 * thing to do to support Qu C-step.
1127a7d544d6SLuca Coelho 	 */
1128a7d544d6SLuca Coelho 	if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QU_C0) {
1129809805a8SLuca Coelho 		if (cfg == &iwl_ax101_cfg_qu_hr)
1130b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl_ax101_cfg_qu_c0_hr_b0;
1131809805a8SLuca Coelho 		else if (cfg == &iwl_ax201_cfg_qu_hr)
1132b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl_ax201_cfg_qu_c0_hr_b0;
1133809805a8SLuca Coelho 		else if (cfg == &iwl9461_2ac_cfg_qu_b0_jf_b0)
1134b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl9461_2ac_cfg_qu_c0_jf_b0;
1135809805a8SLuca Coelho 		else if (cfg == &iwl9462_2ac_cfg_qu_b0_jf_b0)
1136b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl9462_2ac_cfg_qu_c0_jf_b0;
1137809805a8SLuca Coelho 		else if (cfg == &iwl9560_2ac_cfg_qu_b0_jf_b0)
1138b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl9560_2ac_cfg_qu_c0_jf_b0;
1139809805a8SLuca Coelho 		else if (cfg == &iwl9560_2ac_160_cfg_qu_b0_jf_b0)
1140b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl9560_2ac_160_cfg_qu_c0_jf_b0;
1141b3bd6416SLuca Coelho 		else if (cfg == &killer1650s_2ax_cfg_qu_b0_hr_b0)
1142b3bd6416SLuca Coelho 			iwl_trans->cfg = &killer1650s_2ax_cfg_qu_c0_hr_b0;
1143b3bd6416SLuca Coelho 		else if (cfg == &killer1650i_2ax_cfg_qu_b0_hr_b0)
1144b3bd6416SLuca Coelho 			iwl_trans->cfg = &killer1650i_2ax_cfg_qu_c0_hr_b0;
1145a7d544d6SLuca Coelho 	}
11465a8c31aaSLuca Coelho 
11475a8c31aaSLuca Coelho 	/* same thing for QuZ... */
11485a8c31aaSLuca Coelho 	if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QUZ) {
1149db5cce1aSAnders Kaseorg 		if (cfg == &iwl_ax101_cfg_qu_hr)
1150db5cce1aSAnders Kaseorg 			cfg = &iwl_ax101_cfg_quz_hr;
1151db5cce1aSAnders Kaseorg 		else if (cfg == &iwl_ax201_cfg_qu_hr)
1152db5cce1aSAnders Kaseorg 			cfg = &iwl_ax201_cfg_quz_hr;
1153db5cce1aSAnders Kaseorg 		else if (cfg == &iwl9461_2ac_cfg_qu_b0_jf_b0)
1154db5cce1aSAnders Kaseorg 			cfg = &iwl9461_2ac_cfg_quz_a0_jf_b0_soc;
1155db5cce1aSAnders Kaseorg 		else if (cfg == &iwl9462_2ac_cfg_qu_b0_jf_b0)
1156db5cce1aSAnders Kaseorg 			cfg = &iwl9462_2ac_cfg_quz_a0_jf_b0_soc;
1157db5cce1aSAnders Kaseorg 		else if (cfg == &iwl9560_2ac_cfg_qu_b0_jf_b0)
1158db5cce1aSAnders Kaseorg 			cfg = &iwl9560_2ac_cfg_quz_a0_jf_b0_soc;
1159db5cce1aSAnders Kaseorg 		else if (cfg == &iwl9560_2ac_160_cfg_qu_b0_jf_b0)
1160db5cce1aSAnders Kaseorg 			cfg = &iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc;
11615a8c31aaSLuca Coelho 	}
11625a8c31aaSLuca Coelho 
1163e705c121SKalle Valo #endif
1164b3bd6416SLuca Coelho 	/*
1165b3bd6416SLuca Coelho 	 * If we didn't set the cfg yet, assume the trans is actually
1166b3bd6416SLuca Coelho 	 * a full cfg from the old tables.
1167b3bd6416SLuca Coelho 	 */
1168b3bd6416SLuca Coelho 	if (!iwl_trans->cfg)
1169809805a8SLuca Coelho 		iwl_trans->cfg = cfg;
1170e705c121SKalle Valo 
11712a612a60SLuca Coelho found:
11720b295a1eSLuca Coelho 	/* if we don't have a name yet, copy name from the old cfg */
11730b295a1eSLuca Coelho 	if (!iwl_trans->name)
11740b295a1eSLuca Coelho 		iwl_trans->name = iwl_trans->cfg->name;
11750b295a1eSLuca Coelho 
1176b3bd6416SLuca Coelho 	if (iwl_trans->trans_cfg->mq_rx_supported) {
1177b3bd6416SLuca Coelho 		if (WARN_ON(!iwl_trans->cfg->num_rbds)) {
1178c042f0c7SJohannes Berg 			ret = -EINVAL;
1179c042f0c7SJohannes Berg 			goto out_free_trans;
1180c042f0c7SJohannes Berg 		}
1181b3bd6416SLuca Coelho 		trans_pcie->num_rx_bufs = iwl_trans->cfg->num_rbds;
1182c042f0c7SJohannes Berg 	} else {
1183c042f0c7SJohannes Berg 		trans_pcie->num_rx_bufs = RX_QUEUE_SIZE;
1184c042f0c7SJohannes Berg 	}
1185c042f0c7SJohannes Berg 
11867d34a7d7SLuca Coelho 	if (iwl_trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_8000 &&
11870c18714aSLuca Coelho 	    iwl_trans_grab_nic_access(iwl_trans, &flags)) {
11880c18714aSLuca Coelho 		u32 hw_step;
11890c18714aSLuca Coelho 
11900c18714aSLuca Coelho 		hw_step = iwl_read_umac_prph_no_grab(iwl_trans, WFPM_CTRL_REG);
11910c18714aSLuca Coelho 		hw_step |= ENABLE_WFPM;
11920c18714aSLuca Coelho 		iwl_write_umac_prph_no_grab(iwl_trans, WFPM_CTRL_REG, hw_step);
11930c18714aSLuca Coelho 		hw_step = iwl_read_prph_no_grab(iwl_trans, CNVI_AUX_MISC_CHIP);
11940c18714aSLuca Coelho 		hw_step = (hw_step >> HW_STEP_LOCATION_BITS) & 0xF;
11950c18714aSLuca Coelho 		if (hw_step == 0x3)
11960c18714aSLuca Coelho 			iwl_trans->hw_rev = (iwl_trans->hw_rev & 0xFFFFFFF3) |
11970c18714aSLuca Coelho 				(SILICON_C_STEP << 2);
11980c18714aSLuca Coelho 		iwl_trans_release_nic_access(iwl_trans, &flags);
11990c18714aSLuca Coelho 	}
12000c18714aSLuca Coelho 
1201e705c121SKalle Valo 	pci_set_drvdata(pdev, iwl_trans);
120249060383SLuca Coelho 	iwl_trans->drv = iwl_drv_start(iwl_trans);
1203e705c121SKalle Valo 
12046f482e37SSara Sharon 	if (IS_ERR(iwl_trans->drv)) {
12056f482e37SSara Sharon 		ret = PTR_ERR(iwl_trans->drv);
1206e705c121SKalle Valo 		goto out_free_trans;
1207e705c121SKalle Valo 	}
1208e705c121SKalle Valo 
1209e705c121SKalle Valo 	/* register transport layer debugfs here */
1210cf5d5663SGreg Kroah-Hartman 	iwl_trans_pcie_dbgfs_register(iwl_trans);
1211e705c121SKalle Valo 
12124479a899SLuca Coelho 	/* The PCI device starts with a reference taken and we are
12134479a899SLuca Coelho 	 * supposed to release it here.  But to simplify the
12144479a899SLuca Coelho 	 * interaction with the opmode, we don't do it now, but let
12155d93f3a2SLuca Coelho 	 * the opmode release it when it's ready.
12164479a899SLuca Coelho 	 */
12174479a899SLuca Coelho 
1218e705c121SKalle Valo 	return 0;
1219e705c121SKalle Valo 
1220e705c121SKalle Valo out_free_trans:
1221e705c121SKalle Valo 	iwl_trans_pcie_free(iwl_trans);
1222e705c121SKalle Valo 	return ret;
1223e705c121SKalle Valo }
1224e705c121SKalle Valo 
1225e705c121SKalle Valo static void iwl_pci_remove(struct pci_dev *pdev)
1226e705c121SKalle Valo {
1227e705c121SKalle Valo 	struct iwl_trans *trans = pci_get_drvdata(pdev);
1228e705c121SKalle Valo 
12296f482e37SSara Sharon 	iwl_drv_stop(trans->drv);
12304479a899SLuca Coelho 
1231e705c121SKalle Valo 	iwl_trans_pcie_free(trans);
1232e705c121SKalle Valo }
1233e705c121SKalle Valo 
1234e705c121SKalle Valo #ifdef CONFIG_PM_SLEEP
1235e705c121SKalle Valo 
1236e705c121SKalle Valo static int iwl_pci_suspend(struct device *device)
1237e705c121SKalle Valo {
1238e705c121SKalle Valo 	/* Before you put code here, think about WoWLAN. You cannot check here
1239e705c121SKalle Valo 	 * whether WoWLAN is enabled or not, and your code will run even if
1240e705c121SKalle Valo 	 * WoWLAN is enabled - don't kill the NIC, someone may need it in Sx.
1241e705c121SKalle Valo 	 */
1242e705c121SKalle Valo 
1243e705c121SKalle Valo 	return 0;
1244e705c121SKalle Valo }
1245e705c121SKalle Valo 
1246e705c121SKalle Valo static int iwl_pci_resume(struct device *device)
1247e705c121SKalle Valo {
1248e705c121SKalle Valo 	struct pci_dev *pdev = to_pci_dev(device);
1249e705c121SKalle Valo 	struct iwl_trans *trans = pci_get_drvdata(pdev);
1250e705c121SKalle Valo 	struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
1251e705c121SKalle Valo 
1252e705c121SKalle Valo 	/* Before you put code here, think about WoWLAN. You cannot check here
1253e705c121SKalle Valo 	 * whether WoWLAN is enabled or not, and your code will run even if
1254e705c121SKalle Valo 	 * WoWLAN is enabled - the NIC may be alive.
1255e705c121SKalle Valo 	 */
1256e705c121SKalle Valo 
1257e705c121SKalle Valo 	/*
1258e705c121SKalle Valo 	 * We disable the RETRY_TIMEOUT register (0x41) to keep
1259e705c121SKalle Valo 	 * PCI Tx retries from interfering with C3 CPU state.
1260e705c121SKalle Valo 	 */
1261e705c121SKalle Valo 	pci_write_config_byte(pdev, PCI_CFG_RETRY_TIMEOUT, 0x00);
1262e705c121SKalle Valo 
1263e705c121SKalle Valo 	if (!trans->op_mode)
1264e705c121SKalle Valo 		return 0;
1265e705c121SKalle Valo 
1266f98ad635SEmmanuel Grumbach 	/* In WOWLAN, let iwl_trans_pcie_d3_resume do the rest of the work */
1267f98ad635SEmmanuel Grumbach 	if (test_bit(STATUS_DEVICE_ENABLED, &trans->status))
1268f98ad635SEmmanuel Grumbach 		return 0;
1269f98ad635SEmmanuel Grumbach 
127052848a79SJohannes Berg 	/* reconfigure the MSI-X mapping to get the correct IRQ for rfkill */
127152848a79SJohannes Berg 	iwl_pcie_conf_msix_hw(trans_pcie);
127252848a79SJohannes Berg 
1273e705c121SKalle Valo 	/*
1274326477e4SJohannes Berg 	 * Enable rfkill interrupt (in order to keep track of the rfkill
1275326477e4SJohannes Berg 	 * status). Must be locked to avoid processing a possible rfkill
12769ad8fd0bSJohannes Berg 	 * interrupt while in iwl_pcie_check_hw_rf_kill().
1277e705c121SKalle Valo 	 */
127823aeea94SJohannes Berg 	mutex_lock(&trans_pcie->mutex);
1279e705c121SKalle Valo 	iwl_enable_rfkill_int(trans);
12809ad8fd0bSJohannes Berg 	iwl_pcie_check_hw_rf_kill(trans);
1281e705c121SKalle Valo 	mutex_unlock(&trans_pcie->mutex);
1282e705c121SKalle Valo 
1283e705c121SKalle Valo 	return 0;
1284e705c121SKalle Valo }
1285e705c121SKalle Valo 
1286b3ff1270SLuca Coelho static const struct dev_pm_ops iwl_dev_pm_ops = {
1287b3ff1270SLuca Coelho 	SET_SYSTEM_SLEEP_PM_OPS(iwl_pci_suspend,
1288b3ff1270SLuca Coelho 				iwl_pci_resume)
1289b3ff1270SLuca Coelho };
1290e705c121SKalle Valo 
1291e705c121SKalle Valo #define IWL_PM_OPS	(&iwl_dev_pm_ops)
1292e705c121SKalle Valo 
1293b3ff1270SLuca Coelho #else /* CONFIG_PM_SLEEP */
1294e705c121SKalle Valo 
1295e705c121SKalle Valo #define IWL_PM_OPS	NULL
1296e705c121SKalle Valo 
1297b3ff1270SLuca Coelho #endif /* CONFIG_PM_SLEEP */
1298e705c121SKalle Valo 
1299e705c121SKalle Valo static struct pci_driver iwl_pci_driver = {
1300e705c121SKalle Valo 	.name = DRV_NAME,
1301e705c121SKalle Valo 	.id_table = iwl_hw_card_ids,
1302e705c121SKalle Valo 	.probe = iwl_pci_probe,
1303e705c121SKalle Valo 	.remove = iwl_pci_remove,
1304e705c121SKalle Valo 	.driver.pm = IWL_PM_OPS,
1305e705c121SKalle Valo };
1306e705c121SKalle Valo 
1307e705c121SKalle Valo int __must_check iwl_pci_register_driver(void)
1308e705c121SKalle Valo {
1309e705c121SKalle Valo 	int ret;
1310e705c121SKalle Valo 	ret = pci_register_driver(&iwl_pci_driver);
1311e705c121SKalle Valo 	if (ret)
1312e705c121SKalle Valo 		pr_err("Unable to initialize PCI module\n");
1313e705c121SKalle Valo 
1314e705c121SKalle Valo 	return ret;
1315e705c121SKalle Valo }
1316e705c121SKalle Valo 
1317e705c121SKalle Valo void iwl_pci_unregister_driver(void)
1318e705c121SKalle Valo {
1319e705c121SKalle Valo 	pci_unregister_driver(&iwl_pci_driver);
1320e705c121SKalle Valo }
1321