18e99ea8dSJohannes Berg // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
28e99ea8dSJohannes Berg /*
39a0f28d8Sybaruch  * Copyright (C) 2005-2014, 2018-2021 Intel Corporation
48e99ea8dSJohannes Berg  * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
58e99ea8dSJohannes Berg  * Copyright (C) 2016-2017 Intel Deutschland GmbH
68e99ea8dSJohannes Berg  */
7e705c121SKalle Valo #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
8e705c121SKalle Valo 
9e705c121SKalle Valo #include <linux/module.h>
10e705c121SKalle Valo #include <linux/pci.h>
11e705c121SKalle Valo #include <linux/acpi.h>
12e705c121SKalle Valo 
13813df5ceSLuca Coelho #include "fw/acpi.h"
14813df5ceSLuca Coelho 
15e705c121SKalle Valo #include "iwl-trans.h"
16e705c121SKalle Valo #include "iwl-drv.h"
17809805a8SLuca Coelho #include "iwl-prph.h"
18e705c121SKalle Valo #include "internal.h"
19e705c121SKalle Valo 
2048a5494dSJohannes Berg #define TRANS_CFG_MARKER BIT(0)
2148a5494dSJohannes Berg #define _IS_A(cfg, _struct) __builtin_types_compatible_p(typeof(cfg),	\
2248a5494dSJohannes Berg 							 struct _struct)
2348a5494dSJohannes Berg extern int _invalid_type;
2448a5494dSJohannes Berg #define _TRANS_CFG_MARKER(cfg)						\
2548a5494dSJohannes Berg 	(__builtin_choose_expr(_IS_A(cfg, iwl_cfg_trans_params),	\
2648a5494dSJohannes Berg 			       TRANS_CFG_MARKER,			\
2748a5494dSJohannes Berg 	 __builtin_choose_expr(_IS_A(cfg, iwl_cfg), 0, _invalid_type)))
2848a5494dSJohannes Berg #define _ASSIGN_CFG(cfg) (_TRANS_CFG_MARKER(cfg) + (kernel_ulong_t)&(cfg))
2948a5494dSJohannes Berg 
30e705c121SKalle Valo #define IWL_PCI_DEVICE(dev, subdev, cfg) \
31e705c121SKalle Valo 	.vendor = PCI_VENDOR_ID_INTEL,  .device = (dev), \
32e705c121SKalle Valo 	.subvendor = PCI_ANY_ID, .subdevice = (subdev), \
3348a5494dSJohannes Berg 	.driver_data = _ASSIGN_CFG(cfg)
34e705c121SKalle Valo 
35e705c121SKalle Valo /* Hardware specific file defines the PCI IDs table for that hardware module */
36e705c121SKalle Valo static const struct pci_device_id iwl_hw_card_ids[] = {
37e705c121SKalle Valo #if IS_ENABLED(CONFIG_IWLDVM)
38e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1201, iwl5100_agn_cfg)}, /* Mini Card */
39e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1301, iwl5100_agn_cfg)}, /* Half Mini Card */
40e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1204, iwl5100_agn_cfg)}, /* Mini Card */
41e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1304, iwl5100_agn_cfg)}, /* Half Mini Card */
42e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1205, iwl5100_bgn_cfg)}, /* Mini Card */
43e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1305, iwl5100_bgn_cfg)}, /* Half Mini Card */
44e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1206, iwl5100_abg_cfg)}, /* Mini Card */
45e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1306, iwl5100_abg_cfg)}, /* Half Mini Card */
46e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1221, iwl5100_agn_cfg)}, /* Mini Card */
47e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1321, iwl5100_agn_cfg)}, /* Half Mini Card */
48e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1224, iwl5100_agn_cfg)}, /* Mini Card */
49e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1324, iwl5100_agn_cfg)}, /* Half Mini Card */
50e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1225, iwl5100_bgn_cfg)}, /* Mini Card */
51e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1325, iwl5100_bgn_cfg)}, /* Half Mini Card */
52e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1226, iwl5100_abg_cfg)}, /* Mini Card */
53e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4232, 0x1326, iwl5100_abg_cfg)}, /* Half Mini Card */
54e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1211, iwl5100_agn_cfg)}, /* Mini Card */
55e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1311, iwl5100_agn_cfg)}, /* Half Mini Card */
56e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1214, iwl5100_agn_cfg)}, /* Mini Card */
57e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1314, iwl5100_agn_cfg)}, /* Half Mini Card */
58e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1215, iwl5100_bgn_cfg)}, /* Mini Card */
59e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1315, iwl5100_bgn_cfg)}, /* Half Mini Card */
60e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1216, iwl5100_abg_cfg)}, /* Mini Card */
61e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4237, 0x1316, iwl5100_abg_cfg)}, /* Half Mini Card */
62e705c121SKalle Valo 
63e705c121SKalle Valo /* 5300 Series WiFi */
64e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1021, iwl5300_agn_cfg)}, /* Mini Card */
65e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1121, iwl5300_agn_cfg)}, /* Half Mini Card */
66e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1024, iwl5300_agn_cfg)}, /* Mini Card */
67e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1124, iwl5300_agn_cfg)}, /* Half Mini Card */
68e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1001, iwl5300_agn_cfg)}, /* Mini Card */
69e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1101, iwl5300_agn_cfg)}, /* Half Mini Card */
70e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1004, iwl5300_agn_cfg)}, /* Mini Card */
71e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4235, 0x1104, iwl5300_agn_cfg)}, /* Half Mini Card */
72e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4236, 0x1011, iwl5300_agn_cfg)}, /* Mini Card */
73e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4236, 0x1111, iwl5300_agn_cfg)}, /* Half Mini Card */
74e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4236, 0x1014, iwl5300_agn_cfg)}, /* Mini Card */
75e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4236, 0x1114, iwl5300_agn_cfg)}, /* Half Mini Card */
76e705c121SKalle Valo 
77e705c121SKalle Valo /* 5350 Series WiFi/WiMax */
78e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423A, 0x1001, iwl5350_agn_cfg)}, /* Mini Card */
79e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423A, 0x1021, iwl5350_agn_cfg)}, /* Mini Card */
80e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423B, 0x1011, iwl5350_agn_cfg)}, /* Mini Card */
81e705c121SKalle Valo 
82e705c121SKalle Valo /* 5150 Series Wifi/WiMax */
83e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1201, iwl5150_agn_cfg)}, /* Mini Card */
84e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1301, iwl5150_agn_cfg)}, /* Half Mini Card */
85e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1206, iwl5150_abg_cfg)}, /* Mini Card */
86e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1306, iwl5150_abg_cfg)}, /* Half Mini Card */
87e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1221, iwl5150_agn_cfg)}, /* Mini Card */
88e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1321, iwl5150_agn_cfg)}, /* Half Mini Card */
89e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423C, 0x1326, iwl5150_abg_cfg)}, /* Half Mini Card */
90e705c121SKalle Valo 
91e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423D, 0x1211, iwl5150_agn_cfg)}, /* Mini Card */
92e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423D, 0x1311, iwl5150_agn_cfg)}, /* Half Mini Card */
93e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423D, 0x1216, iwl5150_abg_cfg)}, /* Mini Card */
94e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x423D, 0x1316, iwl5150_abg_cfg)}, /* Half Mini Card */
95e705c121SKalle Valo 
96e705c121SKalle Valo /* 6x00 Series */
97e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422B, 0x1101, iwl6000_3agn_cfg)},
98e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422B, 0x1108, iwl6000_3agn_cfg)},
99e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422B, 0x1121, iwl6000_3agn_cfg)},
100e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422B, 0x1128, iwl6000_3agn_cfg)},
101e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422C, 0x1301, iwl6000i_2agn_cfg)},
102e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422C, 0x1306, iwl6000i_2abg_cfg)},
103e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422C, 0x1307, iwl6000i_2bg_cfg)},
104e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422C, 0x1321, iwl6000i_2agn_cfg)},
105e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x422C, 0x1326, iwl6000i_2abg_cfg)},
106e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4238, 0x1111, iwl6000_3agn_cfg)},
107e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4238, 0x1118, iwl6000_3agn_cfg)},
108e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4239, 0x1311, iwl6000i_2agn_cfg)},
109e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x4239, 0x1316, iwl6000i_2abg_cfg)},
110e705c121SKalle Valo 
111e705c121SKalle Valo /* 6x05 Series */
112e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1301, iwl6005_2agn_cfg)},
113e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1306, iwl6005_2abg_cfg)},
114e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1307, iwl6005_2bg_cfg)},
115e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1308, iwl6005_2agn_cfg)},
116e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1321, iwl6005_2agn_cfg)},
117e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1326, iwl6005_2abg_cfg)},
118e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1328, iwl6005_2agn_cfg)},
119e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0085, 0x1311, iwl6005_2agn_cfg)},
120e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0085, 0x1318, iwl6005_2agn_cfg)},
121e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0085, 0x1316, iwl6005_2abg_cfg)},
122e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0xC020, iwl6005_2agn_sff_cfg)},
123e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0085, 0xC220, iwl6005_2agn_sff_cfg)},
124e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0085, 0xC228, iwl6005_2agn_sff_cfg)},
125e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x4820, iwl6005_2agn_d_cfg)},
126e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1304, iwl6005_2agn_mow1_cfg)},/* low 5GHz active */
127e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0082, 0x1305, iwl6005_2agn_mow2_cfg)},/* high 5GHz active */
128e705c121SKalle Valo 
129e705c121SKalle Valo /* 6x30 Series */
130e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x008A, 0x5305, iwl1030_bgn_cfg)},
131e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x008A, 0x5307, iwl1030_bg_cfg)},
132e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x008A, 0x5325, iwl1030_bgn_cfg)},
133e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x008A, 0x5327, iwl1030_bg_cfg)},
134e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x008B, 0x5315, iwl1030_bgn_cfg)},
135e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x008B, 0x5317, iwl1030_bg_cfg)},
136e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0090, 0x5211, iwl6030_2agn_cfg)},
137e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0090, 0x5215, iwl6030_2bgn_cfg)},
138e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0090, 0x5216, iwl6030_2abg_cfg)},
139e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5201, iwl6030_2agn_cfg)},
140e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5205, iwl6030_2bgn_cfg)},
141e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5206, iwl6030_2abg_cfg)},
142e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5207, iwl6030_2bg_cfg)},
143e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5221, iwl6030_2agn_cfg)},
144e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5225, iwl6030_2bgn_cfg)},
145e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0091, 0x5226, iwl6030_2abg_cfg)},
146e705c121SKalle Valo 
147e705c121SKalle Valo /* 6x50 WiFi/WiMax Series */
148e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0087, 0x1301, iwl6050_2agn_cfg)},
149e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0087, 0x1306, iwl6050_2abg_cfg)},
150e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0087, 0x1321, iwl6050_2agn_cfg)},
151e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0087, 0x1326, iwl6050_2abg_cfg)},
152e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0089, 0x1311, iwl6050_2agn_cfg)},
153e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0089, 0x1316, iwl6050_2abg_cfg)},
154e705c121SKalle Valo 
155e705c121SKalle Valo /* 6150 WiFi/WiMax Series */
156e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0885, 0x1305, iwl6150_bgn_cfg)},
157e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0885, 0x1307, iwl6150_bg_cfg)},
158e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0885, 0x1325, iwl6150_bgn_cfg)},
159e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0885, 0x1327, iwl6150_bg_cfg)},
160e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0886, 0x1315, iwl6150_bgn_cfg)},
161e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0886, 0x1317, iwl6150_bg_cfg)},
162e705c121SKalle Valo 
163e705c121SKalle Valo /* 1000 Series WiFi */
164e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1205, iwl1000_bgn_cfg)},
165e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1305, iwl1000_bgn_cfg)},
166e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1225, iwl1000_bgn_cfg)},
167e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1325, iwl1000_bgn_cfg)},
168e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0084, 0x1215, iwl1000_bgn_cfg)},
169e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0084, 0x1315, iwl1000_bgn_cfg)},
170e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1206, iwl1000_bg_cfg)},
171e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1306, iwl1000_bg_cfg)},
172e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1226, iwl1000_bg_cfg)},
173e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0083, 0x1326, iwl1000_bg_cfg)},
174e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0084, 0x1216, iwl1000_bg_cfg)},
175e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0084, 0x1316, iwl1000_bg_cfg)},
176e705c121SKalle Valo 
177e705c121SKalle Valo /* 100 Series WiFi */
178e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08AE, 0x1005, iwl100_bgn_cfg)},
179e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08AE, 0x1007, iwl100_bg_cfg)},
180e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08AF, 0x1015, iwl100_bgn_cfg)},
181e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08AF, 0x1017, iwl100_bg_cfg)},
182e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08AE, 0x1025, iwl100_bgn_cfg)},
183e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08AE, 0x1027, iwl100_bg_cfg)},
184e705c121SKalle Valo 
185e705c121SKalle Valo /* 130 Series WiFi */
186e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0896, 0x5005, iwl130_bgn_cfg)},
187e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0896, 0x5007, iwl130_bg_cfg)},
188e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0897, 0x5015, iwl130_bgn_cfg)},
189e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0897, 0x5017, iwl130_bg_cfg)},
190e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0896, 0x5025, iwl130_bgn_cfg)},
191e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0896, 0x5027, iwl130_bg_cfg)},
192e705c121SKalle Valo 
193e705c121SKalle Valo /* 2x00 Series */
194e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0890, 0x4022, iwl2000_2bgn_cfg)},
195e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0891, 0x4222, iwl2000_2bgn_cfg)},
196e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0890, 0x4422, iwl2000_2bgn_cfg)},
197e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0890, 0x4822, iwl2000_2bgn_d_cfg)},
198e705c121SKalle Valo 
199e705c121SKalle Valo /* 2x30 Series */
200e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0887, 0x4062, iwl2030_2bgn_cfg)},
201e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0888, 0x4262, iwl2030_2bgn_cfg)},
202e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0887, 0x4462, iwl2030_2bgn_cfg)},
203e705c121SKalle Valo 
204e705c121SKalle Valo /* 6x35 Series */
205e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088E, 0x4060, iwl6035_2agn_cfg)},
206e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088E, 0x406A, iwl6035_2agn_sff_cfg)},
207e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088F, 0x4260, iwl6035_2agn_cfg)},
208e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088F, 0x426A, iwl6035_2agn_sff_cfg)},
209e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088E, 0x4460, iwl6035_2agn_cfg)},
210e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088E, 0x446A, iwl6035_2agn_sff_cfg)},
211e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088E, 0x4860, iwl6035_2agn_cfg)},
212e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x088F, 0x5260, iwl6035_2agn_cfg)},
213e705c121SKalle Valo 
214e705c121SKalle Valo /* 105 Series */
215e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0894, 0x0022, iwl105_bgn_cfg)},
216e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0895, 0x0222, iwl105_bgn_cfg)},
217e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0894, 0x0422, iwl105_bgn_cfg)},
218e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0894, 0x0822, iwl105_bgn_d_cfg)},
219e705c121SKalle Valo 
220e705c121SKalle Valo /* 135 Series */
221e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0892, 0x0062, iwl135_bgn_cfg)},
222e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0893, 0x0262, iwl135_bgn_cfg)},
223e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x0892, 0x0462, iwl135_bgn_cfg)},
224e705c121SKalle Valo #endif /* CONFIG_IWLDVM */
225e705c121SKalle Valo 
226e705c121SKalle Valo #if IS_ENABLED(CONFIG_IWLMVM)
227e705c121SKalle Valo /* 7260 Series */
228e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4070, iwl7260_2ac_cfg)},
229e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4072, iwl7260_2ac_cfg)},
230e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4170, iwl7260_2ac_cfg)},
231e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4C60, iwl7260_2ac_cfg)},
232e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4C70, iwl7260_2ac_cfg)},
233e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4060, iwl7260_2n_cfg)},
234e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x406A, iwl7260_2n_cfg)},
235e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4160, iwl7260_2n_cfg)},
236e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4062, iwl7260_n_cfg)},
237e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4162, iwl7260_n_cfg)},
238e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4270, iwl7260_2ac_cfg)},
239e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4272, iwl7260_2ac_cfg)},
240e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4260, iwl7260_2n_cfg)},
241e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x426A, iwl7260_2n_cfg)},
242e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4262, iwl7260_n_cfg)},
243e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4470, iwl7260_2ac_cfg)},
244e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4472, iwl7260_2ac_cfg)},
245e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4460, iwl7260_2n_cfg)},
246e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x446A, iwl7260_2n_cfg)},
247e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4462, iwl7260_n_cfg)},
248e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4870, iwl7260_2ac_cfg)},
249e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x486E, iwl7260_2ac_cfg)},
250e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4A70, iwl7260_2ac_cfg_high_temp)},
251e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4A6E, iwl7260_2ac_cfg_high_temp)},
252e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4A6C, iwl7260_2ac_cfg_high_temp)},
253e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4570, iwl7260_2ac_cfg)},
254e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4560, iwl7260_2n_cfg)},
255e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4370, iwl7260_2ac_cfg)},
256e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4360, iwl7260_2n_cfg)},
257e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x5070, iwl7260_2ac_cfg)},
258e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x5072, iwl7260_2ac_cfg)},
259e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x5170, iwl7260_2ac_cfg)},
260e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x5770, iwl7260_2ac_cfg)},
261e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4020, iwl7260_2n_cfg)},
262e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x402A, iwl7260_2n_cfg)},
263e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0x4220, iwl7260_2n_cfg)},
264e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0x4420, iwl7260_2n_cfg)},
265e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC070, iwl7260_2ac_cfg)},
266e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC072, iwl7260_2ac_cfg)},
267e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC170, iwl7260_2ac_cfg)},
268e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC060, iwl7260_2n_cfg)},
269e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC06A, iwl7260_2n_cfg)},
270e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC160, iwl7260_2n_cfg)},
271e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC062, iwl7260_n_cfg)},
272e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC162, iwl7260_n_cfg)},
273e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC770, iwl7260_2ac_cfg)},
274e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC760, iwl7260_2n_cfg)},
275e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC270, iwl7260_2ac_cfg)},
276e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xCC70, iwl7260_2ac_cfg)},
277e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xCC60, iwl7260_2ac_cfg)},
278e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC272, iwl7260_2ac_cfg)},
279e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC260, iwl7260_2n_cfg)},
280e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC26A, iwl7260_n_cfg)},
281e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC262, iwl7260_n_cfg)},
282e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC470, iwl7260_2ac_cfg)},
283e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC472, iwl7260_2ac_cfg)},
284e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC460, iwl7260_2n_cfg)},
285e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC462, iwl7260_n_cfg)},
286e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC570, iwl7260_2ac_cfg)},
287e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC560, iwl7260_2n_cfg)},
288e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC370, iwl7260_2ac_cfg)},
289e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC360, iwl7260_2n_cfg)},
290e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC020, iwl7260_2n_cfg)},
291e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC02A, iwl7260_2n_cfg)},
292e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B2, 0xC220, iwl7260_2n_cfg)},
293e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B1, 0xC420, iwl7260_2n_cfg)},
294e705c121SKalle Valo 
295e705c121SKalle Valo /* 3160 Series */
296e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0070, iwl3160_2ac_cfg)},
297e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0072, iwl3160_2ac_cfg)},
298e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0170, iwl3160_2ac_cfg)},
299e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0172, iwl3160_2ac_cfg)},
300e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0060, iwl3160_2n_cfg)},
301e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0062, iwl3160_n_cfg)},
302e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B4, 0x0270, iwl3160_2ac_cfg)},
303e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B4, 0x0272, iwl3160_2ac_cfg)},
304e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0470, iwl3160_2ac_cfg)},
305e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x0472, iwl3160_2ac_cfg)},
306e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B4, 0x0370, iwl3160_2ac_cfg)},
307e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8070, iwl3160_2ac_cfg)},
308e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8072, iwl3160_2ac_cfg)},
309e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8170, iwl3160_2ac_cfg)},
310e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8172, iwl3160_2ac_cfg)},
311e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8060, iwl3160_2n_cfg)},
312e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8062, iwl3160_n_cfg)},
313e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B4, 0x8270, iwl3160_2ac_cfg)},
314e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B4, 0x8370, iwl3160_2ac_cfg)},
315e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B4, 0x8272, iwl3160_2ac_cfg)},
316e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8470, iwl3160_2ac_cfg)},
317e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x8570, iwl3160_2ac_cfg)},
318e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x1070, iwl3160_2ac_cfg)},
319e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x08B3, 0x1170, iwl3160_2ac_cfg)},
320e705c121SKalle Valo 
321e705c121SKalle Valo /* 3165 Series */
322e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x4010, iwl3165_2ac_cfg)},
323e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x4012, iwl3165_2ac_cfg)},
324e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3166, 0x4212, iwl3165_2ac_cfg)},
325e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x4410, iwl3165_2ac_cfg)},
326e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x4510, iwl3165_2ac_cfg)},
327e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x4110, iwl3165_2ac_cfg)},
328e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3166, 0x4310, iwl3165_2ac_cfg)},
329e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3166, 0x4210, iwl3165_2ac_cfg)},
330e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x8010, iwl3165_2ac_cfg)},
331e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x3165, 0x8110, iwl3165_2ac_cfg)},
332e705c121SKalle Valo 
333c4836b05SOren Givon /* 3168 Series */
3347b08c67fSOren Givon 	{IWL_PCI_DEVICE(0x24FB, 0x2010, iwl3168_2ac_cfg)},
335c4836b05SOren Givon 	{IWL_PCI_DEVICE(0x24FB, 0x2110, iwl3168_2ac_cfg)},
3367b08c67fSOren Givon 	{IWL_PCI_DEVICE(0x24FB, 0x2050, iwl3168_2ac_cfg)},
3377b08c67fSOren Givon 	{IWL_PCI_DEVICE(0x24FB, 0x2150, iwl3168_2ac_cfg)},
338c4836b05SOren Givon 	{IWL_PCI_DEVICE(0x24FB, 0x0000, iwl3168_2ac_cfg)},
339c4836b05SOren Givon 
340e705c121SKalle Valo /* 7265 Series */
341e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5010, iwl7265_2ac_cfg)},
342e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5110, iwl7265_2ac_cfg)},
343e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5100, iwl7265_2ac_cfg)},
344e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5310, iwl7265_2ac_cfg)},
345e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5302, iwl7265_n_cfg)},
346e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5210, iwl7265_2ac_cfg)},
347006bda75SOren Givon 	{IWL_PCI_DEVICE(0x095A, 0x5C10, iwl7265_2ac_cfg)},
348e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5012, iwl7265_2ac_cfg)},
349e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5412, iwl7265_2ac_cfg)},
350e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5410, iwl7265_2ac_cfg)},
351e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5510, iwl7265_2ac_cfg)},
352e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5400, iwl7265_2ac_cfg)},
353e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x1010, iwl7265_2ac_cfg)},
354e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5000, iwl7265_2n_cfg)},
355e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x500A, iwl7265_2n_cfg)},
356e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5200, iwl7265_2n_cfg)},
357e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5002, iwl7265_n_cfg)},
358e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5102, iwl7265_n_cfg)},
359e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5202, iwl7265_n_cfg)},
360e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9010, iwl7265_2ac_cfg)},
361e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9012, iwl7265_2ac_cfg)},
362e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x900A, iwl7265_2ac_cfg)},
363e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9110, iwl7265_2ac_cfg)},
364e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9112, iwl7265_2ac_cfg)},
365006bda75SOren Givon 	{IWL_PCI_DEVICE(0x095B, 0x9210, iwl7265_2ac_cfg)},
366e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x9200, iwl7265_2ac_cfg)},
367e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9510, iwl7265_2ac_cfg)},
368006bda75SOren Givon 	{IWL_PCI_DEVICE(0x095B, 0x9310, iwl7265_2ac_cfg)},
369e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9410, iwl7265_2ac_cfg)},
370e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5020, iwl7265_2n_cfg)},
371e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x502A, iwl7265_2n_cfg)},
372e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5420, iwl7265_2n_cfg)},
373e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5090, iwl7265_2ac_cfg)},
374e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5190, iwl7265_2ac_cfg)},
375e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5590, iwl7265_2ac_cfg)},
376e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5290, iwl7265_2ac_cfg)},
377e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5490, iwl7265_2ac_cfg)},
378e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x5F10, iwl7265_2ac_cfg)},
379e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x5212, iwl7265_2ac_cfg)},
380e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095B, 0x520A, iwl7265_2ac_cfg)},
381e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9000, iwl7265_2ac_cfg)},
382e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x095A, 0x9400, iwl7265_2ac_cfg)},
3833f7a5e13SLuca Coelho 	{IWL_PCI_DEVICE(0x095A, 0x9E10, iwl7265_2ac_cfg)},
384e705c121SKalle Valo 
385e705c121SKalle Valo /* 8000 Series */
386e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0010, iwl8260_2ac_cfg)},
387e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x1010, iwl8260_2ac_cfg)},
3884b79deecSOren Givon 	{IWL_PCI_DEVICE(0x24F3, 0x10B0, iwl8260_2ac_cfg)},
3894615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x0130, iwl8260_2ac_cfg)},
3904615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x1130, iwl8260_2ac_cfg)},
3914615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x0132, iwl8260_2ac_cfg)},
3924615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x1132, iwl8260_2ac_cfg)},
393e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0110, iwl8260_2ac_cfg)},
3944615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x01F0, iwl8260_2ac_cfg)},
3954615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x0012, iwl8260_2ac_cfg)},
3964615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x1012, iwl8260_2ac_cfg)},
397e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x1110, iwl8260_2ac_cfg)},
398e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0050, iwl8260_2ac_cfg)},
399e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0250, iwl8260_2ac_cfg)},
400e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x1050, iwl8260_2ac_cfg)},
401e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0150, iwl8260_2ac_cfg)},
4024615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x1150, iwl8260_2ac_cfg)},
403e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F4, 0x0030, iwl8260_2ac_cfg)},
404e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F4, 0x1030, iwl8260_2ac_cfg)},
405e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0xC010, iwl8260_2ac_cfg)},
406e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0xC110, iwl8260_2ac_cfg)},
407e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0xD010, iwl8260_2ac_cfg)},
408e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0xC050, iwl8260_2ac_cfg)},
409e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0xD050, iwl8260_2ac_cfg)},
4104b79deecSOren Givon 	{IWL_PCI_DEVICE(0x24F3, 0xD0B0, iwl8260_2ac_cfg)},
4114b79deecSOren Givon 	{IWL_PCI_DEVICE(0x24F3, 0xB0B0, iwl8260_2ac_cfg)},
412e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x8010, iwl8260_2ac_cfg)},
4134615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x8110, iwl8260_2ac_cfg)},
414e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x9010, iwl8260_2ac_cfg)},
4154615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x9110, iwl8260_2ac_cfg)},
416e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F4, 0x8030, iwl8260_2ac_cfg)},
417e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F4, 0x9030, iwl8260_2ac_cfg)},
418d669fc2dSIhab Zhaika 	{IWL_PCI_DEVICE(0x24F4, 0xC030, iwl8260_2ac_cfg)},
419d669fc2dSIhab Zhaika 	{IWL_PCI_DEVICE(0x24F4, 0xD030, iwl8260_2ac_cfg)},
4204615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x8130, iwl8260_2ac_cfg)},
4214615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x9130, iwl8260_2ac_cfg)},
4224615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x8132, iwl8260_2ac_cfg)},
4234615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x9132, iwl8260_2ac_cfg)},
424e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x8050, iwl8260_2ac_cfg)},
4254615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x8150, iwl8260_2ac_cfg)},
426e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x9050, iwl8260_2ac_cfg)},
4274615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x9150, iwl8260_2ac_cfg)},
428e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0004, iwl8260_2n_cfg)},
4294615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x0044, iwl8260_2n_cfg)},
430e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F5, 0x0010, iwl4165_2ac_cfg)},
431e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F6, 0x0030, iwl4165_2ac_cfg)},
432e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0810, iwl8260_2ac_cfg)},
433e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0910, iwl8260_2ac_cfg)},
434e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0850, iwl8260_2ac_cfg)},
435e705c121SKalle Valo 	{IWL_PCI_DEVICE(0x24F3, 0x0950, iwl8260_2ac_cfg)},
4364615fd15SEmmanuel Grumbach 	{IWL_PCI_DEVICE(0x24F3, 0x0930, iwl8260_2ac_cfg)},
4378d0e4f8fSOren Givon 	{IWL_PCI_DEVICE(0x24F3, 0x0000, iwl8265_2ac_cfg)},
438d669fc2dSIhab Zhaika 	{IWL_PCI_DEVICE(0x24F3, 0x4010, iwl8260_2ac_cfg)},
439abf10f86SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0010, iwl8265_2ac_cfg)},
440d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0110, iwl8265_2ac_cfg)},
441d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x1110, iwl8265_2ac_cfg)},
442f24bbae5SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x1130, iwl8265_2ac_cfg)},
443f24bbae5SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0130, iwl8265_2ac_cfg)},
444d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x1010, iwl8265_2ac_cfg)},
4458b6607ccSOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x10D0, iwl8265_2ac_cfg)},
446d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0050, iwl8265_2ac_cfg)},
447d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0150, iwl8265_2ac_cfg)},
448d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x9010, iwl8265_2ac_cfg)},
449d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x8110, iwl8265_2ac_cfg)},
450d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x8050, iwl8265_2ac_cfg)},
4518d0e4f8fSOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x8010, iwl8265_2ac_cfg)},
4529baa0398SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0810, iwl8265_2ac_cfg)},
453d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x9110, iwl8265_2ac_cfg)},
454d34475b9SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x8130, iwl8265_2ac_cfg)},
455f24bbae5SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0910, iwl8265_2ac_cfg)},
456f24bbae5SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0930, iwl8265_2ac_cfg)},
457f24bbae5SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0950, iwl8265_2ac_cfg)},
458f24bbae5SOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0850, iwl8265_2ac_cfg)},
459f2758893STzipi Peres 	{IWL_PCI_DEVICE(0x24FD, 0x1014, iwl8265_2ac_cfg)},
460f2758893STzipi Peres 	{IWL_PCI_DEVICE(0x24FD, 0x3E02, iwl8275_2ac_cfg)},
461f2758893STzipi Peres 	{IWL_PCI_DEVICE(0x24FD, 0x3E01, iwl8275_2ac_cfg)},
462f2758893STzipi Peres 	{IWL_PCI_DEVICE(0x24FD, 0x1012, iwl8275_2ac_cfg)},
463a3e939dfSOren Givon 	{IWL_PCI_DEVICE(0x24FD, 0x0012, iwl8275_2ac_cfg)},
4647cddbef4SIhab Zhaika 	{IWL_PCI_DEVICE(0x24FD, 0x0014, iwl8265_2ac_cfg)},
4657cddbef4SIhab Zhaika 	{IWL_PCI_DEVICE(0x24FD, 0x9074, iwl8265_2ac_cfg)},
46689374fe6SDreyfuss, Haim 
46789374fe6SDreyfuss, Haim /* 9000 Series */
46832ed101aSLuca Coelho 	{IWL_PCI_DEVICE(0x2526, PCI_ANY_ID, iwl9000_trans_cfg)},
469a48d400cSLuca Coelho 	{IWL_PCI_DEVICE(0x271B, PCI_ANY_ID, iwl9000_trans_cfg)},
470a48d400cSLuca Coelho 	{IWL_PCI_DEVICE(0x271C, PCI_ANY_ID, iwl9000_trans_cfg)},
47124436191SLuca Coelho 	{IWL_PCI_DEVICE(0x30DC, PCI_ANY_ID, iwl9560_long_latency_trans_cfg)},
47232ed101aSLuca Coelho 	{IWL_PCI_DEVICE(0x31DC, PCI_ANY_ID, iwl9560_shared_clk_trans_cfg)},
47332ed101aSLuca Coelho 	{IWL_PCI_DEVICE(0x9DF0, PCI_ANY_ID, iwl9560_trans_cfg)},
47432ed101aSLuca Coelho 	{IWL_PCI_DEVICE(0xA370, PCI_ANY_ID, iwl9560_trans_cfg)},
475ab27926dSLuca Coelho 
47632ed101aSLuca Coelho /* Qu devices */
47732ed101aSLuca Coelho 	{IWL_PCI_DEVICE(0x02F0, PCI_ANY_ID, iwl_qu_trans_cfg)},
47832ed101aSLuca Coelho 	{IWL_PCI_DEVICE(0x06F0, PCI_ANY_ID, iwl_qu_trans_cfg)},
4799c9613f0SLuca Coelho 
4809c9613f0SLuca Coelho 	{IWL_PCI_DEVICE(0x34F0, PCI_ANY_ID, iwl_qu_medium_latency_trans_cfg)},
4819c9613f0SLuca Coelho 	{IWL_PCI_DEVICE(0x3DF0, PCI_ANY_ID, iwl_qu_medium_latency_trans_cfg)},
4829c9613f0SLuca Coelho 	{IWL_PCI_DEVICE(0x4DF0, PCI_ANY_ID, iwl_qu_medium_latency_trans_cfg)},
483a72abfcaSLuca Coelho 
484a72abfcaSLuca Coelho 	{IWL_PCI_DEVICE(0x43F0, PCI_ANY_ID, iwl_qu_long_latency_trans_cfg)},
485a72abfcaSLuca Coelho 	{IWL_PCI_DEVICE(0xA0F0, PCI_ANY_ID, iwl_qu_long_latency_trans_cfg)},
486aa0cc7ddSLuca Coelho 
487612509d6SLuca Coelho 	{IWL_PCI_DEVICE(0x2720, PCI_ANY_ID, iwl_qnj_trans_cfg)},
488e34d975eSHaim Dreyfuss 
4895e003982SLuca Coelho 	{IWL_PCI_DEVICE(0x2723, PCI_ANY_ID, iwl_ax200_trans_cfg)},
4905e003982SLuca Coelho 
4916f60fb03SLuca Coelho /* So devices */
4926f60fb03SLuca Coelho 	{IWL_PCI_DEVICE(0x2725, PCI_ANY_ID, iwl_so_trans_cfg)},
4936f60fb03SLuca Coelho 	{IWL_PCI_DEVICE(0x2726, PCI_ANY_ID, iwl_snj_trans_cfg)},
4941c4db761SMukesh Sisodiya 	{IWL_PCI_DEVICE(0x7A70, PCI_ANY_ID, iwl_so_long_latency_imr_trans_cfg)},
4956f60fb03SLuca Coelho 	{IWL_PCI_DEVICE(0x7AF0, PCI_ANY_ID, iwl_so_trans_cfg)},
4966f60fb03SLuca Coelho 	{IWL_PCI_DEVICE(0x51F0, PCI_ANY_ID, iwl_so_long_latency_trans_cfg)},
4971c4db761SMukesh Sisodiya 	{IWL_PCI_DEVICE(0x51F1, PCI_ANY_ID, iwl_so_long_latency_imr_trans_cfg)},
49835bd6f1dSMukesh Sisodiya 	{IWL_PCI_DEVICE(0x51F1, PCI_ANY_ID, iwl_so_long_latency_trans_cfg)},
4996f60fb03SLuca Coelho 	{IWL_PCI_DEVICE(0x54F0, PCI_ANY_ID, iwl_so_long_latency_trans_cfg)},
500eaf4e9d0SYaara Baruch 	{IWL_PCI_DEVICE(0x7F70, PCI_ANY_ID, iwl_so_trans_cfg)},
501ff911dcaSShaul Triebitz 
502bc9296f4SIhab Zhaika /* Ma devices */
503bc9296f4SIhab Zhaika 	{IWL_PCI_DEVICE(0x2729, PCI_ANY_ID, iwl_ma_trans_cfg)},
5041c094e5eSMatti Gottlieb 	{IWL_PCI_DEVICE(0x7E40, PCI_ANY_ID, iwl_ma_trans_cfg)},
505bc9296f4SIhab Zhaika 
5062be05dfdSMatti Gottlieb /* Bz devices */
5072be05dfdSMatti Gottlieb 	{IWL_PCI_DEVICE(0x2727, PCI_ANY_ID, iwl_bz_trans_cfg)},
508c30a2a64SMukesh Sisodiya 	{IWL_PCI_DEVICE(0x272b, PCI_ANY_ID, iwl_bz_trans_cfg)},
509b6356d43SMike Golant 	{IWL_PCI_DEVICE(0xA840, PCI_ANY_ID, iwl_bz_trans_cfg)},
510b6356d43SMike Golant 	{IWL_PCI_DEVICE(0x7740, PCI_ANY_ID, iwl_bz_trans_cfg)},
511e705c121SKalle Valo #endif /* CONFIG_IWLMVM */
512e705c121SKalle Valo 
513e705c121SKalle Valo 	{0}
514e705c121SKalle Valo };
515e705c121SKalle Valo MODULE_DEVICE_TABLE(pci, iwl_hw_card_ids);
516e705c121SKalle Valo 
517be2f6886SLuca Coelho #define _IWL_DEV_INFO(_device, _subdevice, _mac_type, _mac_step, _rf_type, \
51872904029SMukesh Sisodiya 		      _rf_id, _rf_step, _no_160, _cores, _cdb, _jacket, _cfg, \
51972904029SMukesh Sisodiya 		      _name) \
5200b295a1eSLuca Coelho 	{ .device = (_device), .subdevice = (_subdevice), .cfg = &(_cfg), \
52172904029SMukesh Sisodiya 	  .name = _name, .mac_type = _mac_type, .rf_type = _rf_type, .rf_step = _rf_step, \
522be2f6886SLuca Coelho 	  .no_160 = _no_160, .cores = _cores, .rf_id = _rf_id, \
5232b0ceda9SMike Golant 	  .mac_step = _mac_step, .cdb = _cdb, .jacket = _jacket }
524d6f2134aSLuca Coelho 
525d6f2134aSLuca Coelho #define IWL_DEV_INFO(_device, _subdevice, _cfg, _name) \
526d6f2134aSLuca Coelho 	_IWL_DEV_INFO(_device, _subdevice, IWL_CFG_ANY, IWL_CFG_ANY, \
527be2f6886SLuca Coelho 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_ANY, \
52872904029SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_ANY, _cfg, _name)
5292a612a60SLuca Coelho 
5302a612a60SLuca Coelho static const struct iwl_dev_info iwl_dev_info_table[] = {
5312a612a60SLuca Coelho #if IS_ENABLED(CONFIG_IWLMVM)
5325e003982SLuca Coelho /* 9000 */
53367eb556dSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x1550, iwl9260_2ac_cfg, iwl9260_killer_1550_name),
53467eb556dSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_name),
53567eb556dSLuca Coelho 	IWL_DEV_INFO(0x2526, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name),
536c8685937SLuca Coelho 	IWL_DEV_INFO(0x30DC, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_name),
537c8685937SLuca Coelho 	IWL_DEV_INFO(0x30DC, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name),
5387897dfa2SLuca Coelho 	IWL_DEV_INFO(0x31DC, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_name),
5397897dfa2SLuca Coelho 	IWL_DEV_INFO(0x31DC, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name),
540b5ba46b8SAlessio Bonfiglio 	IWL_DEV_INFO(0xA370, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_name),
541b5ba46b8SAlessio Bonfiglio 	IWL_DEV_INFO(0xA370, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name),
54233c99471SYaara Baruch 	IWL_DEV_INFO(0x54F0, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_160_name),
54333c99471SYaara Baruch 	IWL_DEV_INFO(0x54F0, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_name),
544c863797bSybaruch 	IWL_DEV_INFO(0x51F0, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_160_name),
545c863797bSybaruch 	IWL_DEV_INFO(0x51F0, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_160_name),
54633c99471SYaara Baruch 	IWL_DEV_INFO(0x51F0, 0x1691, iwlax411_2ax_cfg_so_gf4_a0, iwl_ax411_killer_1690s_name),
54733c99471SYaara Baruch 	IWL_DEV_INFO(0x51F0, 0x1692, iwlax411_2ax_cfg_so_gf4_a0, iwl_ax411_killer_1690i_name),
54835bd6f1dSMukesh Sisodiya 	IWL_DEV_INFO(0x51F1, 0x1692, iwlax411_2ax_cfg_so_gf4_a0, iwl_ax411_killer_1690i_name),
54933c99471SYaara Baruch 	IWL_DEV_INFO(0x54F0, 0x1691, iwlax411_2ax_cfg_so_gf4_a0, iwl_ax411_killer_1690s_name),
55033c99471SYaara Baruch 	IWL_DEV_INFO(0x54F0, 0x1692, iwlax411_2ax_cfg_so_gf4_a0, iwl_ax411_killer_1690i_name),
55133c99471SYaara Baruch 	IWL_DEV_INFO(0x7A70, 0x1691, iwlax411_2ax_cfg_so_gf4_a0, iwl_ax411_killer_1690s_name),
55233c99471SYaara Baruch 	IWL_DEV_INFO(0x7A70, 0x1692, iwlax411_2ax_cfg_so_gf4_a0, iwl_ax411_killer_1690i_name),
553d6f2134aSLuca Coelho 
55455cf5fb9SLuca Coelho 	IWL_DEV_INFO(0x271C, 0x0214, iwl9260_2ac_cfg, iwl9260_1_name),
55533c99471SYaara Baruch 	IWL_DEV_INFO(0x7E40, 0x1691, iwl_cfg_ma_a0_gf4_a0, iwl_ax411_killer_1690s_name),
55633c99471SYaara Baruch 	IWL_DEV_INFO(0x7E40, 0x1692, iwl_cfg_ma_a0_gf4_a0, iwl_ax411_killer_1690i_name),
55755cf5fb9SLuca Coelho 
55832ed101aSLuca Coelho /* AX200 */
559c7d3db99SJohannes Berg 	IWL_DEV_INFO(0x2723, IWL_CFG_ANY, iwl_ax200_cfg_cc, iwl_ax200_name),
56032ed101aSLuca Coelho 	IWL_DEV_INFO(0x2723, 0x1653, iwl_ax200_cfg_cc, iwl_ax200_killer_1650w_name),
56132ed101aSLuca Coelho 	IWL_DEV_INFO(0x2723, 0x1654, iwl_ax200_cfg_cc, iwl_ax200_killer_1650x_name),
56232ed101aSLuca Coelho 
56332ed101aSLuca Coelho 	/* Qu with Hr */
56432ed101aSLuca Coelho 	IWL_DEV_INFO(0x43F0, 0x0070, iwl_ax201_cfg_qu_hr, NULL),
56532ed101aSLuca Coelho 	IWL_DEV_INFO(0x43F0, 0x0074, iwl_ax201_cfg_qu_hr, NULL),
56632ed101aSLuca Coelho 	IWL_DEV_INFO(0x43F0, 0x0078, iwl_ax201_cfg_qu_hr, NULL),
56732ed101aSLuca Coelho 	IWL_DEV_INFO(0x43F0, 0x007C, iwl_ax201_cfg_qu_hr, NULL),
568fe5c735dSVladimir Zapolskiy 	IWL_DEV_INFO(0x43F0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, iwl_ax201_killer_1650s_name),
569fe5c735dSVladimir Zapolskiy 	IWL_DEV_INFO(0x43F0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, iwl_ax201_killer_1650i_name),
57032ed101aSLuca Coelho 	IWL_DEV_INFO(0x43F0, 0x2074, iwl_ax201_cfg_qu_hr, NULL),
57132ed101aSLuca Coelho 	IWL_DEV_INFO(0x43F0, 0x4070, iwl_ax201_cfg_qu_hr, NULL),
57232ed101aSLuca Coelho 	IWL_DEV_INFO(0xA0F0, 0x0070, iwl_ax201_cfg_qu_hr, NULL),
57332ed101aSLuca Coelho 	IWL_DEV_INFO(0xA0F0, 0x0074, iwl_ax201_cfg_qu_hr, NULL),
57432ed101aSLuca Coelho 	IWL_DEV_INFO(0xA0F0, 0x0078, iwl_ax201_cfg_qu_hr, NULL),
57532ed101aSLuca Coelho 	IWL_DEV_INFO(0xA0F0, 0x007C, iwl_ax201_cfg_qu_hr, NULL),
57632ed101aSLuca Coelho 	IWL_DEV_INFO(0xA0F0, 0x0A10, iwl_ax201_cfg_qu_hr, NULL),
57732ed101aSLuca Coelho 	IWL_DEV_INFO(0xA0F0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL),
57832ed101aSLuca Coelho 	IWL_DEV_INFO(0xA0F0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, NULL),
57932ed101aSLuca Coelho 	IWL_DEV_INFO(0xA0F0, 0x2074, iwl_ax201_cfg_qu_hr, NULL),
58032ed101aSLuca Coelho 	IWL_DEV_INFO(0xA0F0, 0x4070, iwl_ax201_cfg_qu_hr, NULL),
5812f32c147SJustin M. Forbes 	IWL_DEV_INFO(0xA0F0, 0x6074, iwl_ax201_cfg_qu_hr, NULL),
58232ed101aSLuca Coelho 	IWL_DEV_INFO(0x02F0, 0x0070, iwl_ax201_cfg_quz_hr, NULL),
58332ed101aSLuca Coelho 	IWL_DEV_INFO(0x02F0, 0x0074, iwl_ax201_cfg_quz_hr, NULL),
58443dc85b5SGolan Ben Ami 	IWL_DEV_INFO(0x02F0, 0x6074, iwl_ax201_cfg_quz_hr, NULL),
58532ed101aSLuca Coelho 	IWL_DEV_INFO(0x02F0, 0x0078, iwl_ax201_cfg_quz_hr, NULL),
58632ed101aSLuca Coelho 	IWL_DEV_INFO(0x02F0, 0x007C, iwl_ax201_cfg_quz_hr, NULL),
58732ed101aSLuca Coelho 	IWL_DEV_INFO(0x02F0, 0x0310, iwl_ax201_cfg_quz_hr, NULL),
58832ed101aSLuca Coelho 	IWL_DEV_INFO(0x02F0, 0x1651, iwl_ax1650s_cfg_quz_hr, NULL),
58932ed101aSLuca Coelho 	IWL_DEV_INFO(0x02F0, 0x1652, iwl_ax1650i_cfg_quz_hr, NULL),
59032ed101aSLuca Coelho 	IWL_DEV_INFO(0x02F0, 0x2074, iwl_ax201_cfg_quz_hr, NULL),
59132ed101aSLuca Coelho 	IWL_DEV_INFO(0x02F0, 0x4070, iwl_ax201_cfg_quz_hr, NULL),
59232ed101aSLuca Coelho 	IWL_DEV_INFO(0x06F0, 0x0070, iwl_ax201_cfg_quz_hr, NULL),
59332ed101aSLuca Coelho 	IWL_DEV_INFO(0x06F0, 0x0074, iwl_ax201_cfg_quz_hr, NULL),
59432ed101aSLuca Coelho 	IWL_DEV_INFO(0x06F0, 0x0078, iwl_ax201_cfg_quz_hr, NULL),
59532ed101aSLuca Coelho 	IWL_DEV_INFO(0x06F0, 0x007C, iwl_ax201_cfg_quz_hr, NULL),
59632ed101aSLuca Coelho 	IWL_DEV_INFO(0x06F0, 0x0310, iwl_ax201_cfg_quz_hr, NULL),
59732ed101aSLuca Coelho 	IWL_DEV_INFO(0x06F0, 0x1651, iwl_ax1650s_cfg_quz_hr, NULL),
59832ed101aSLuca Coelho 	IWL_DEV_INFO(0x06F0, 0x1652, iwl_ax1650i_cfg_quz_hr, NULL),
59932ed101aSLuca Coelho 	IWL_DEV_INFO(0x06F0, 0x2074, iwl_ax201_cfg_quz_hr, NULL),
60032ed101aSLuca Coelho 	IWL_DEV_INFO(0x06F0, 0x4070, iwl_ax201_cfg_quz_hr, NULL),
60132ed101aSLuca Coelho 	IWL_DEV_INFO(0x34F0, 0x0070, iwl_ax201_cfg_qu_hr, NULL),
60232ed101aSLuca Coelho 	IWL_DEV_INFO(0x34F0, 0x0074, iwl_ax201_cfg_qu_hr, NULL),
60332ed101aSLuca Coelho 	IWL_DEV_INFO(0x34F0, 0x0078, iwl_ax201_cfg_qu_hr, NULL),
60432ed101aSLuca Coelho 	IWL_DEV_INFO(0x34F0, 0x007C, iwl_ax201_cfg_qu_hr, NULL),
60532ed101aSLuca Coelho 	IWL_DEV_INFO(0x34F0, 0x0310, iwl_ax201_cfg_qu_hr, NULL),
60632ed101aSLuca Coelho 	IWL_DEV_INFO(0x34F0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL),
60732ed101aSLuca Coelho 	IWL_DEV_INFO(0x34F0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, NULL),
60832ed101aSLuca Coelho 	IWL_DEV_INFO(0x34F0, 0x2074, iwl_ax201_cfg_qu_hr, NULL),
60932ed101aSLuca Coelho 	IWL_DEV_INFO(0x34F0, 0x4070, iwl_ax201_cfg_qu_hr, NULL),
61032ed101aSLuca Coelho 
61132ed101aSLuca Coelho 	IWL_DEV_INFO(0x3DF0, 0x0070, iwl_ax201_cfg_qu_hr, NULL),
61232ed101aSLuca Coelho 	IWL_DEV_INFO(0x3DF0, 0x0074, iwl_ax201_cfg_qu_hr, NULL),
61332ed101aSLuca Coelho 	IWL_DEV_INFO(0x3DF0, 0x0078, iwl_ax201_cfg_qu_hr, NULL),
61432ed101aSLuca Coelho 	IWL_DEV_INFO(0x3DF0, 0x007C, iwl_ax201_cfg_qu_hr, NULL),
61532ed101aSLuca Coelho 	IWL_DEV_INFO(0x3DF0, 0x0310, iwl_ax201_cfg_qu_hr, NULL),
61632ed101aSLuca Coelho 	IWL_DEV_INFO(0x3DF0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL),
61732ed101aSLuca Coelho 	IWL_DEV_INFO(0x3DF0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, NULL),
61832ed101aSLuca Coelho 	IWL_DEV_INFO(0x3DF0, 0x2074, iwl_ax201_cfg_qu_hr, NULL),
61932ed101aSLuca Coelho 	IWL_DEV_INFO(0x3DF0, 0x4070, iwl_ax201_cfg_qu_hr, NULL),
62032ed101aSLuca Coelho 
6214ee27eddSLuca Coelho 	IWL_DEV_INFO(0x4DF0, 0x0070, iwl_ax201_cfg_qu_hr, NULL),
6224ee27eddSLuca Coelho 	IWL_DEV_INFO(0x4DF0, 0x0074, iwl_ax201_cfg_qu_hr, NULL),
6234ee27eddSLuca Coelho 	IWL_DEV_INFO(0x4DF0, 0x0078, iwl_ax201_cfg_qu_hr, NULL),
6244ee27eddSLuca Coelho 	IWL_DEV_INFO(0x4DF0, 0x007C, iwl_ax201_cfg_qu_hr, NULL),
6254ee27eddSLuca Coelho 	IWL_DEV_INFO(0x4DF0, 0x0310, iwl_ax201_cfg_qu_hr, NULL),
6264ee27eddSLuca Coelho 	IWL_DEV_INFO(0x4DF0, 0x1651, killer1650s_2ax_cfg_qu_b0_hr_b0, NULL),
6274ee27eddSLuca Coelho 	IWL_DEV_INFO(0x4DF0, 0x1652, killer1650i_2ax_cfg_qu_b0_hr_b0, NULL),
6284ee27eddSLuca Coelho 	IWL_DEV_INFO(0x4DF0, 0x2074, iwl_ax201_cfg_qu_hr, NULL),
6294ee27eddSLuca Coelho 	IWL_DEV_INFO(0x4DF0, 0x4070, iwl_ax201_cfg_qu_hr, NULL),
63097195d3cSMatt Chen 	IWL_DEV_INFO(0x4DF0, 0x6074, iwl_ax201_cfg_qu_hr, NULL),
631612509d6SLuca Coelho 
6326f60fb03SLuca Coelho 	/* So with HR */
6336f60fb03SLuca Coelho 	IWL_DEV_INFO(0x2725, 0x0090, iwlax211_2ax_cfg_so_gf_a0, NULL),
6346f60fb03SLuca Coelho 	IWL_DEV_INFO(0x2725, 0x0020, iwlax210_2ax_cfg_ty_gf_a0, NULL),
635806832c9SLuca Coelho 	IWL_DEV_INFO(0x2725, 0x2020, iwlax210_2ax_cfg_ty_gf_a0, NULL),
636806832c9SLuca Coelho 	IWL_DEV_INFO(0x2725, 0x0024, iwlax210_2ax_cfg_ty_gf_a0, NULL),
6376f60fb03SLuca Coelho 	IWL_DEV_INFO(0x2725, 0x0310, iwlax210_2ax_cfg_ty_gf_a0, NULL),
6386f60fb03SLuca Coelho 	IWL_DEV_INFO(0x2725, 0x0510, iwlax210_2ax_cfg_ty_gf_a0, NULL),
6396f60fb03SLuca Coelho 	IWL_DEV_INFO(0x2725, 0x0A10, iwlax210_2ax_cfg_ty_gf_a0, NULL),
640806832c9SLuca Coelho 	IWL_DEV_INFO(0x2725, 0xE020, iwlax210_2ax_cfg_ty_gf_a0, NULL),
641806832c9SLuca Coelho 	IWL_DEV_INFO(0x2725, 0xE024, iwlax210_2ax_cfg_ty_gf_a0, NULL),
642806832c9SLuca Coelho 	IWL_DEV_INFO(0x2725, 0x4020, iwlax210_2ax_cfg_ty_gf_a0, NULL),
643806832c9SLuca Coelho 	IWL_DEV_INFO(0x2725, 0x6020, iwlax210_2ax_cfg_ty_gf_a0, NULL),
644806832c9SLuca Coelho 	IWL_DEV_INFO(0x2725, 0x6024, iwlax210_2ax_cfg_ty_gf_a0, NULL),
64585b5fd94Sybaruch 	IWL_DEV_INFO(0x2725, 0x1673, iwlax210_2ax_cfg_ty_gf_a0, iwl_ax210_killer_1675w_name),
64685b5fd94Sybaruch 	IWL_DEV_INFO(0x2725, 0x1674, iwlax210_2ax_cfg_ty_gf_a0, iwl_ax210_killer_1675x_name),
6476f60fb03SLuca Coelho 	IWL_DEV_INFO(0x7A70, 0x0090, iwlax211_2ax_cfg_so_gf_a0_long, NULL),
6486f60fb03SLuca Coelho 	IWL_DEV_INFO(0x7A70, 0x0098, iwlax211_2ax_cfg_so_gf_a0_long, NULL),
6496f60fb03SLuca Coelho 	IWL_DEV_INFO(0x7A70, 0x00B0, iwlax411_2ax_cfg_so_gf4_a0_long, NULL),
6506f60fb03SLuca Coelho 	IWL_DEV_INFO(0x7A70, 0x0310, iwlax211_2ax_cfg_so_gf_a0_long, NULL),
6516f60fb03SLuca Coelho 	IWL_DEV_INFO(0x7A70, 0x0510, iwlax211_2ax_cfg_so_gf_a0_long, NULL),
6526f60fb03SLuca Coelho 	IWL_DEV_INFO(0x7A70, 0x0A10, iwlax211_2ax_cfg_so_gf_a0_long, NULL),
6536f60fb03SLuca Coelho 	IWL_DEV_INFO(0x7AF0, 0x0090, iwlax211_2ax_cfg_so_gf_a0, NULL),
6546f60fb03SLuca Coelho 	IWL_DEV_INFO(0x7AF0, 0x0098, iwlax211_2ax_cfg_so_gf_a0, NULL),
6556f60fb03SLuca Coelho 	IWL_DEV_INFO(0x7AF0, 0x00B0, iwlax411_2ax_cfg_so_gf4_a0, NULL),
6566f60fb03SLuca Coelho 	IWL_DEV_INFO(0x7AF0, 0x0310, iwlax211_2ax_cfg_so_gf_a0, NULL),
6576f60fb03SLuca Coelho 	IWL_DEV_INFO(0x7AF0, 0x0510, iwlax211_2ax_cfg_so_gf_a0, NULL),
6586f60fb03SLuca Coelho 	IWL_DEV_INFO(0x7AF0, 0x0A10, iwlax211_2ax_cfg_so_gf_a0, NULL),
6596f60fb03SLuca Coelho 
66033c99471SYaara Baruch 	/* So with JF */
66133c99471SYaara Baruch 	IWL_DEV_INFO(0x7A70, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_160_name),
66233c99471SYaara Baruch 	IWL_DEV_INFO(0x7A70, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_160_name),
66333c99471SYaara Baruch 	IWL_DEV_INFO(0x7AF0, 0x1551, iwl9560_2ac_cfg_soc, iwl9560_killer_1550s_160_name),
66433c99471SYaara Baruch 	IWL_DEV_INFO(0x7AF0, 0x1552, iwl9560_2ac_cfg_soc, iwl9560_killer_1550i_160_name),
66533c99471SYaara Baruch 
6666f60fb03SLuca Coelho 	/* SnJ with HR */
6676f60fb03SLuca Coelho 	IWL_DEV_INFO(0x2725, 0x00B0, iwlax411_2ax_cfg_sosnj_gf4_a0, NULL),
6686f60fb03SLuca Coelho 	IWL_DEV_INFO(0x2726, 0x0090, iwlax211_cfg_snj_gf_a0, NULL),
6696f60fb03SLuca Coelho 	IWL_DEV_INFO(0x2726, 0x0098, iwlax211_cfg_snj_gf_a0, NULL),
6706f60fb03SLuca Coelho 	IWL_DEV_INFO(0x2726, 0x00B0, iwlax411_2ax_cfg_sosnj_gf4_a0, NULL),
671806832c9SLuca Coelho 	IWL_DEV_INFO(0x2726, 0x00B4, iwlax411_2ax_cfg_sosnj_gf4_a0, NULL),
6726f60fb03SLuca Coelho 	IWL_DEV_INFO(0x2726, 0x0510, iwlax211_cfg_snj_gf_a0, NULL),
673930be4e7SLuca Coelho 	IWL_DEV_INFO(0x2726, 0x1651, iwl_cfg_snj_hr_b0, iwl_ax201_killer_1650s_name),
674930be4e7SLuca Coelho 	IWL_DEV_INFO(0x2726, 0x1652, iwl_cfg_snj_hr_b0, iwl_ax201_killer_1650i_name),
67533c99471SYaara Baruch 	IWL_DEV_INFO(0x2726, 0x1691, iwlax411_2ax_cfg_sosnj_gf4_a0, iwl_ax411_killer_1690s_name),
67633c99471SYaara Baruch 	IWL_DEV_INFO(0x2726, 0x1692, iwlax411_2ax_cfg_sosnj_gf4_a0, iwl_ax411_killer_1690i_name),
677eaf4e9d0SYaara Baruch 	IWL_DEV_INFO(0x7F70, 0x1691, iwlax411_2ax_cfg_so_gf4_a0, iwl_ax411_killer_1690s_name),
678eaf4e9d0SYaara Baruch 	IWL_DEV_INFO(0x7F70, 0x1692, iwlax411_2ax_cfg_so_gf4_a0, iwl_ax411_killer_1690i_name),
6796f60fb03SLuca Coelho 
680dbe6f76aSYaara Baruch 	/* SO with GF2 */
681dbe6f76aSYaara Baruch 	IWL_DEV_INFO(0x2726, 0x1671, iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_killer_1675s_name),
682dbe6f76aSYaara Baruch 	IWL_DEV_INFO(0x2726, 0x1672, iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_killer_1675i_name),
683dbe6f76aSYaara Baruch 	IWL_DEV_INFO(0x51F0, 0x1671, iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_killer_1675s_name),
684dbe6f76aSYaara Baruch 	IWL_DEV_INFO(0x51F0, 0x1672, iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_killer_1675i_name),
685dbe6f76aSYaara Baruch 	IWL_DEV_INFO(0x54F0, 0x1671, iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_killer_1675s_name),
686dbe6f76aSYaara Baruch 	IWL_DEV_INFO(0x54F0, 0x1672, iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_killer_1675i_name),
687dbe6f76aSYaara Baruch 	IWL_DEV_INFO(0x7A70, 0x1671, iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_killer_1675s_name),
688dbe6f76aSYaara Baruch 	IWL_DEV_INFO(0x7A70, 0x1672, iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_killer_1675i_name),
689dbe6f76aSYaara Baruch 	IWL_DEV_INFO(0x7AF0, 0x1671, iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_killer_1675s_name),
690dbe6f76aSYaara Baruch 	IWL_DEV_INFO(0x7AF0, 0x1672, iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_killer_1675i_name),
691eaf4e9d0SYaara Baruch 	IWL_DEV_INFO(0x7F70, 0x1671, iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_killer_1675s_name),
692eaf4e9d0SYaara Baruch 	IWL_DEV_INFO(0x7F70, 0x1672, iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_killer_1675i_name),
693dbe6f76aSYaara Baruch 
694dbe6f76aSYaara Baruch 	/* MA with GF2 */
695dbe6f76aSYaara Baruch 	IWL_DEV_INFO(0x7E40, 0x1671, iwl_cfg_ma_a0_gf_a0, iwl_ax211_killer_1675s_name),
696dbe6f76aSYaara Baruch 	IWL_DEV_INFO(0x7E40, 0x1672, iwl_cfg_ma_a0_gf_a0, iwl_ax211_killer_1675i_name),
697dbe6f76aSYaara Baruch 
698c8685937SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
699be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY,
70072904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
7012b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
702c8685937SLuca Coelho 		      iwl9560_2ac_cfg_soc, iwl9461_160_name),
703c8685937SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
704be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY,
70572904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
7062b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
707c8685937SLuca Coelho 		      iwl9560_2ac_cfg_soc, iwl9461_name),
708c8685937SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
709be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY,
71072904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
7112b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
712c8685937SLuca Coelho 		      iwl9560_2ac_cfg_soc, iwl9462_160_name),
713c8685937SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
714be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY,
71572904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
7162b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
717c8685937SLuca Coelho 		      iwl9560_2ac_cfg_soc, iwl9462_name),
718c8685937SLuca Coelho 
719c8685937SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
720be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY,
72172904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
7222b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
723c8685937SLuca Coelho 		      iwl9560_2ac_cfg_soc, iwl9560_160_name),
724c8685937SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
725be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_PU, IWL_CFG_ANY,
72672904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
7272b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
728c8685937SLuca Coelho 		      iwl9560_2ac_cfg_soc, iwl9560_name),
729c8685937SLuca Coelho 
730d6f2134aSLuca Coelho 	_IWL_DEV_INFO(0x2526, IWL_CFG_ANY,
731be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY,
73272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
7332b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
7341454edcaSLuca Coelho 		      iwl9260_2ac_cfg, iwl9461_160_name),
735b200dba7SLuca Coelho 	_IWL_DEV_INFO(0x2526, IWL_CFG_ANY,
736be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY,
73772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
7382b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
7391454edcaSLuca Coelho 		      iwl9260_2ac_cfg, iwl9461_name),
740b200dba7SLuca Coelho 	_IWL_DEV_INFO(0x2526, IWL_CFG_ANY,
741be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY,
74272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
7432b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
7441454edcaSLuca Coelho 		      iwl9260_2ac_cfg, iwl9462_160_name),
745b200dba7SLuca Coelho 	_IWL_DEV_INFO(0x2526, IWL_CFG_ANY,
746be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_PNJ, IWL_CFG_ANY,
74772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
7482b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
7491454edcaSLuca Coelho 		      iwl9260_2ac_cfg, iwl9462_name),
750b200dba7SLuca Coelho 
751b200dba7SLuca Coelho 	_IWL_DEV_INFO(0x2526, IWL_CFG_ANY,
752be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY,
75372904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_TH, IWL_CFG_ANY, IWL_CFG_ANY,
7542b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT_GNSS, IWL_CFG_NO_CDB, IWL_CFG_ANY,
75595939551SLuca Coelho 		      iwl9260_2ac_cfg, iwl9270_160_name),
75695939551SLuca Coelho 	_IWL_DEV_INFO(0x2526, IWL_CFG_ANY,
757be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY,
75872904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_TH, IWL_CFG_ANY, IWL_CFG_ANY,
7592b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT_GNSS, IWL_CFG_NO_CDB, IWL_CFG_ANY,
76095939551SLuca Coelho 		      iwl9260_2ac_cfg, iwl9270_name),
76195939551SLuca Coelho 
762fe25b151SLuca Coelho 	_IWL_DEV_INFO(0x271B, IWL_CFG_ANY,
763be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY,
76472904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_TH1, IWL_CFG_ANY, IWL_CFG_ANY,
7652b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
766fe25b151SLuca Coelho 		      iwl9260_2ac_cfg, iwl9162_160_name),
767fe25b151SLuca Coelho 	_IWL_DEV_INFO(0x271B, IWL_CFG_ANY,
768be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY,
76972904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_TH1, IWL_CFG_ANY, IWL_CFG_ANY,
7702b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
771fe25b151SLuca Coelho 		      iwl9260_2ac_cfg, iwl9162_name),
772fe25b151SLuca Coelho 
77395939551SLuca Coelho 	_IWL_DEV_INFO(0x2526, IWL_CFG_ANY,
774be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY,
77572904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_TH, IWL_CFG_ANY, IWL_CFG_ANY,
7762b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
777d6f2134aSLuca Coelho 		      iwl9260_2ac_cfg, iwl9260_160_name),
778d6f2134aSLuca Coelho 	_IWL_DEV_INFO(0x2526, IWL_CFG_ANY,
779be2f6886SLuca Coelho 		      IWL_CFG_MAC_TYPE_TH, IWL_CFG_ANY,
78072904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_TH, IWL_CFG_ANY, IWL_CFG_ANY,
7812b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
782d6f2134aSLuca Coelho 		      iwl9260_2ac_cfg, iwl9260_name),
7835e003982SLuca Coelho 
78432ed101aSLuca Coelho /* Qu with Jf */
78532ed101aSLuca Coelho 	/* Qu B step */
78632ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
78732ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP,
78872904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
7892b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
79032ed101aSLuca Coelho 		      iwl9560_qu_b0_jf_b0_cfg, iwl9461_160_name),
79132ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
79232ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP,
79372904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
7942b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
79532ed101aSLuca Coelho 		      iwl9560_qu_b0_jf_b0_cfg, iwl9461_name),
79632ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
79732ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP,
79872904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
7992b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
80032ed101aSLuca Coelho 		      iwl9560_qu_b0_jf_b0_cfg, iwl9462_160_name),
80132ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
80232ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP,
80372904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
8042b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
80532ed101aSLuca Coelho 		      iwl9560_qu_b0_jf_b0_cfg, iwl9462_name),
8065e003982SLuca Coelho 
80732ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
80832ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP,
80972904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
8102b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
81132ed101aSLuca Coelho 		      iwl9560_qu_b0_jf_b0_cfg, iwl9560_160_name),
81232ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
81332ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP,
81472904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
8152b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
81632ed101aSLuca Coelho 		      iwl9560_qu_b0_jf_b0_cfg, iwl9560_name),
81732ed101aSLuca Coelho 
81832ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, 0x1551,
81932ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP,
82072904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
8212b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
82232ed101aSLuca Coelho 		      iwl9560_qu_b0_jf_b0_cfg, iwl9560_killer_1550s_name),
82332ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, 0x1552,
82432ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP,
82572904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
8262b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
82732ed101aSLuca Coelho 		      iwl9560_qu_b0_jf_b0_cfg, iwl9560_killer_1550i_name),
82832ed101aSLuca Coelho 
82932ed101aSLuca Coelho 	/* Qu C step */
83032ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
83132ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP,
83272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
8332b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
83432ed101aSLuca Coelho 		      iwl9560_qu_c0_jf_b0_cfg, iwl9461_160_name),
83532ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
83632ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP,
83772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
8382b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
83932ed101aSLuca Coelho 		      iwl9560_qu_c0_jf_b0_cfg, iwl9461_name),
84032ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
84132ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP,
84272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
8432b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
84432ed101aSLuca Coelho 		      iwl9560_qu_c0_jf_b0_cfg, iwl9462_160_name),
84532ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
84632ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP,
84772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
8482b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
84932ed101aSLuca Coelho 		      iwl9560_qu_c0_jf_b0_cfg, iwl9462_name),
85032ed101aSLuca Coelho 
85132ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
85232ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP,
85372904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
8542b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
85532ed101aSLuca Coelho 		      iwl9560_qu_c0_jf_b0_cfg, iwl9560_160_name),
85632ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
85732ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP,
85872904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
8592b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
86032ed101aSLuca Coelho 		      iwl9560_qu_c0_jf_b0_cfg, iwl9560_name),
86132ed101aSLuca Coelho 
86232ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, 0x1551,
86332ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP,
86472904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
8652b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
86632ed101aSLuca Coelho 		      iwl9560_qu_c0_jf_b0_cfg, iwl9560_killer_1550s_name),
86732ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, 0x1552,
86832ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP,
86972904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
8702b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
87132ed101aSLuca Coelho 		      iwl9560_qu_c0_jf_b0_cfg, iwl9560_killer_1550i_name),
87232ed101aSLuca Coelho 
87332ed101aSLuca Coelho 	/* QuZ */
87432ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
87532ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY,
87672904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
8772b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
87832ed101aSLuca Coelho 		      iwl9560_quz_a0_jf_b0_cfg, iwl9461_160_name),
87932ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
88032ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY,
88172904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
8822b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
88332ed101aSLuca Coelho 		      iwl9560_quz_a0_jf_b0_cfg, iwl9461_name),
88432ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
88532ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY,
88672904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
8872b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
88832ed101aSLuca Coelho 		      iwl9560_quz_a0_jf_b0_cfg, iwl9462_160_name),
88932ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
89032ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY,
89172904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
8922b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
89332ed101aSLuca Coelho 		      iwl9560_quz_a0_jf_b0_cfg, iwl9462_name),
89432ed101aSLuca Coelho 
89532ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
89632ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY,
89772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
8982b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
89932ed101aSLuca Coelho 		      iwl9560_quz_a0_jf_b0_cfg, iwl9560_160_name),
90032ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
90132ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY,
90272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
9032b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
90432ed101aSLuca Coelho 		      iwl9560_quz_a0_jf_b0_cfg, iwl9560_name),
90532ed101aSLuca Coelho 
90632ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, 0x1551,
90732ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY,
90872904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
9092b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
91032ed101aSLuca Coelho 		      iwl9560_quz_a0_jf_b0_cfg, iwl9560_killer_1550s_name),
91132ed101aSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, 0x1552,
91232ed101aSLuca Coelho 		      IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY,
91372904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
9142b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
91532ed101aSLuca Coelho 		      iwl9560_quz_a0_jf_b0_cfg, iwl9560_killer_1550i_name),
916612509d6SLuca Coelho 
917612509d6SLuca Coelho 	/* QnJ */
918612509d6SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
919612509d6SLuca Coelho 		      IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY,
92072904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
9212b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
922612509d6SLuca Coelho 		      iwl9560_qnj_b0_jf_b0_cfg, iwl9461_160_name),
923612509d6SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
924612509d6SLuca Coelho 		      IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY,
92572904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
9262b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
927612509d6SLuca Coelho 		      iwl9560_qnj_b0_jf_b0_cfg, iwl9461_name),
928612509d6SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
929612509d6SLuca Coelho 		      IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY,
93072904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
9312b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
932612509d6SLuca Coelho 		      iwl9560_qnj_b0_jf_b0_cfg, iwl9462_160_name),
933612509d6SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
934612509d6SLuca Coelho 		      IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY,
93572904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
9362b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
937612509d6SLuca Coelho 		      iwl9560_qnj_b0_jf_b0_cfg, iwl9462_name),
938612509d6SLuca Coelho 
939612509d6SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
940612509d6SLuca Coelho 		      IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY,
94172904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
9422b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
943612509d6SLuca Coelho 		      iwl9560_qnj_b0_jf_b0_cfg, iwl9560_160_name),
944612509d6SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
945612509d6SLuca Coelho 		      IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY,
94672904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
9472b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
948612509d6SLuca Coelho 		      iwl9560_qnj_b0_jf_b0_cfg, iwl9560_name),
949612509d6SLuca Coelho 
950612509d6SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, 0x1551,
951612509d6SLuca Coelho 		      IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY,
95272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
9532b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
954612509d6SLuca Coelho 		      iwl9560_qnj_b0_jf_b0_cfg, iwl9560_killer_1550s_name),
955612509d6SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, 0x1552,
956612509d6SLuca Coelho 		      IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY,
95772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
9582b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
959612509d6SLuca Coelho 		      iwl9560_qnj_b0_jf_b0_cfg, iwl9560_killer_1550i_name),
9603f910a25SLuca Coelho 
9613f910a25SLuca Coelho /* Qu with Hr */
9623f910a25SLuca Coelho 	/* Qu B step */
9633f910a25SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
9643f910a25SLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP,
96572904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, IWL_CFG_ANY,
9662b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
9673f910a25SLuca Coelho 		      iwl_qu_b0_hr1_b0, iwl_ax101_name),
96816062c12SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
96970382b08SYaara Baruch 		      IWL_CFG_MAC_TYPE_QU, SILICON_B_STEP,
97072904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
9712b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
97216062c12SLuca Coelho 		      iwl_qu_b0_hr_b0, iwl_ax203_name),
9733f910a25SLuca Coelho 
9743f910a25SLuca Coelho 	/* Qu C step */
9753f910a25SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
9763f910a25SLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP,
97772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, IWL_CFG_ANY,
9782b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
9793f910a25SLuca Coelho 		      iwl_qu_c0_hr1_b0, iwl_ax101_name),
98016062c12SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
98116062c12SLuca Coelho 		      IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP,
98272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
9832b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
98416062c12SLuca Coelho 		      iwl_qu_c0_hr_b0, iwl_ax203_name),
985def423eaSYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
986def423eaSYaara Baruch 		      IWL_CFG_MAC_TYPE_QU, SILICON_C_STEP,
98772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
9882b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
989def423eaSYaara Baruch 		      iwl_qu_c0_hr_b0, iwl_ax201_name),
9903f910a25SLuca Coelho 
9913f910a25SLuca Coelho 	/* QuZ */
9923f910a25SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
9933f910a25SLuca Coelho 		      IWL_CFG_MAC_TYPE_QUZ, IWL_CFG_ANY,
99472904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, IWL_CFG_ANY,
9952b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
9963f910a25SLuca Coelho 		      iwl_quz_a0_hr1_b0, iwl_ax101_name),
997410f7585SIhab Zhaika 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
998410f7585SIhab Zhaika 		      IWL_CFG_MAC_TYPE_QUZ, SILICON_B_STEP,
99972904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
10002b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1001410f7585SIhab Zhaika 		      iwl_cfg_quz_a0_hr_b0, iwl_ax203_name),
10020aa27be5SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
10030aa27be5SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_QUZ, SILICON_B_STEP,
100472904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
10050aa27be5SMukesh Sisodiya 		      IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
10060aa27be5SMukesh Sisodiya 		      iwl_cfg_quz_a0_hr_b0, iwl_ax201_name),
10073f910a25SLuca Coelho 
1008930be4e7SLuca Coelho /* QnJ with Hr */
1009930be4e7SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1010930be4e7SLuca Coelho 		      IWL_CFG_MAC_TYPE_QNJ, IWL_CFG_ANY,
101172904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
10122b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1013930be4e7SLuca Coelho 		      iwl_qnj_b0_hr_b0_cfg, iwl_ax201_name),
1014930be4e7SLuca Coelho 
1015930be4e7SLuca Coelho /* SnJ with Jf */
1016930be4e7SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1017930be4e7SLuca Coelho 		      IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY,
101872904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
10192b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1020930be4e7SLuca Coelho 		      iwl_cfg_snj_a0_jf_b0, iwl9461_160_name),
1021930be4e7SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1022930be4e7SLuca Coelho 		      IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY,
102372904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
10242b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1025930be4e7SLuca Coelho 		      iwl_cfg_snj_a0_jf_b0, iwl9461_name),
1026930be4e7SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1027930be4e7SLuca Coelho 		      IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY,
102872904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
10292b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1030930be4e7SLuca Coelho 		      iwl_cfg_snj_a0_jf_b0, iwl9462_160_name),
1031930be4e7SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1032930be4e7SLuca Coelho 		      IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY,
103372904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
10342b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1035930be4e7SLuca Coelho 		      iwl_cfg_snj_a0_jf_b0, iwl9462_name),
1036930be4e7SLuca Coelho 
1037930be4e7SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1038930be4e7SLuca Coelho 		      IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY,
103972904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
10402b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1041930be4e7SLuca Coelho 		      iwl_cfg_snj_a0_jf_b0, iwl9560_160_name),
1042930be4e7SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1043930be4e7SLuca Coelho 		      IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY,
104472904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
10452b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1046930be4e7SLuca Coelho 		      iwl_cfg_snj_a0_jf_b0, iwl9560_name),
1047930be4e7SLuca Coelho 
1048930be4e7SLuca Coelho /* SnJ with Hr */
1049930be4e7SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1050930be4e7SLuca Coelho 		      IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY,
105172904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, IWL_CFG_ANY,
10522b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
10537f9c3bc4SLuca Coelho 		      iwl_cfg_snj_hr_b0, iwl_ax101_name),
10547f9c3bc4SLuca Coelho 
10557f9c3bc4SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
10567f9c3bc4SLuca Coelho 		      IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY,
105772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
10582b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1059930be4e7SLuca Coelho 		      iwl_cfg_snj_hr_b0, iwl_ax201_name),
1060930be4e7SLuca Coelho 
1061bc9296f4SIhab Zhaika /* Ma */
1062bc9296f4SIhab Zhaika 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1063c5050696SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_MA, SILICON_A_STEP,
106472904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
10652b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
10661205d7f7SMatti Gottlieb 		      iwl_cfg_ma_a0_hr_b0, iwl_ax201_name),
10671205d7f7SMatti Gottlieb 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1068c5050696SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_MA, SILICON_A_STEP,
106972904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
10702b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1071bc9296f4SIhab Zhaika 		      iwl_cfg_ma_a0_gf_a0, iwl_ax211_name),
1072bc9296f4SIhab Zhaika 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1073c5050696SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_MA, SILICON_A_STEP,
107472904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
10752b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_ANY,
10761205d7f7SMatti Gottlieb 		      iwl_cfg_ma_a0_gf4_a0, iwl_ax211_name),
10771205d7f7SMatti Gottlieb 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1078c5050696SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_MA, SILICON_A_STEP,
107972904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_MR, IWL_CFG_ANY, IWL_CFG_ANY,
10802b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
10818932abefSMatti Gottlieb 		      iwl_cfg_ma_a0_mr_a0, iwl_ax221_name),
1082ac1a98e1SMatti Gottlieb 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1083c5050696SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_MA, SILICON_A_STEP,
108472904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, IWL_CFG_ANY,
10852b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
10867e2c1437SMatti Gottlieb 		      iwl_cfg_ma_a0_fm_a0, iwl_ax231_name),
10877e2c1437SMatti Gottlieb 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1088ac1a98e1SMatti Gottlieb 		      IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY,
108972904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_MR, IWL_CFG_ANY, IWL_CFG_ANY,
10902b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
10918932abefSMatti Gottlieb 		      iwl_cfg_snj_a0_mr_a0, iwl_ax221_name),
1092c5050696SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1093c5050696SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_MA, SILICON_B_STEP,
1094c5050696SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
1095c5050696SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1096c5050696SMukesh Sisodiya 		      iwl_cfg_ma_b0_hr_b0, iwl_ax201_name),
1097c5050696SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1098c5050696SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_MA, SILICON_B_STEP,
1099c5050696SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
1100c5050696SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1101c5050696SMukesh Sisodiya 		      iwl_cfg_ma_b0_gf_a0, iwl_ax211_name),
1102c5050696SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1103c5050696SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_MA, SILICON_B_STEP,
1104c5050696SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
1105c5050696SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_ANY,
1106c5050696SMukesh Sisodiya 		      iwl_cfg_ma_b0_gf4_a0, iwl_ax211_name),
1107c5050696SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1108c5050696SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_MA, SILICON_B_STEP,
1109c5050696SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_MR, IWL_CFG_ANY, IWL_CFG_ANY,
1110c5050696SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1111c5050696SMukesh Sisodiya 		      iwl_cfg_ma_b0_mr_a0, iwl_ax221_name),
1112c5050696SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1113c5050696SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_MA, SILICON_B_STEP,
1114c5050696SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, IWL_CFG_ANY,
1115c5050696SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1116c5050696SMukesh Sisodiya 		      iwl_cfg_ma_b0_fm_a0, iwl_ax231_name),
1117ac1a98e1SMatti Gottlieb 
1118410f7585SIhab Zhaika /* So with Hr */
1119410f7585SIhab Zhaika 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1120410f7585SIhab Zhaika 		      IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
112172904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
11222b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1123410f7585SIhab Zhaika 		      iwl_cfg_so_a0_hr_a0, iwl_ax203_name),
1124410f7585SIhab Zhaika 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1125410f7585SIhab Zhaika 		      IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
112672904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, IWL_CFG_ANY,
11270aa27be5SMukesh Sisodiya 		      IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1128410f7585SIhab Zhaika 		      iwl_cfg_so_a0_hr_a0, iwl_ax101_name),
1129410f7585SIhab Zhaika 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1130410f7585SIhab Zhaika 		      IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
113172904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
11322b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
113308f4b0b1SLuca Coelho 		      iwl_cfg_so_a0_hr_a0, iwl_ax201_name),
113408f4b0b1SLuca Coelho 
113508f4b0b1SLuca Coelho /* So-F with Hr */
113608f4b0b1SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
113708f4b0b1SLuca Coelho 		      IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY,
113872904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
11392b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
114008f4b0b1SLuca Coelho 		      iwl_cfg_so_a0_hr_a0, iwl_ax203_name),
114108f4b0b1SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
114208f4b0b1SLuca Coelho 		      IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY,
114372904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, IWL_CFG_ANY,
11440aa27be5SMukesh Sisodiya 		      IWL_CFG_NO_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
114508f4b0b1SLuca Coelho 		      iwl_cfg_so_a0_hr_a0, iwl_ax101_name),
114608f4b0b1SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
114708f4b0b1SLuca Coelho 		      IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY,
114872904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
11492b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
115008f4b0b1SLuca Coelho 		      iwl_cfg_so_a0_hr_a0, iwl_ax201_name),
115108f4b0b1SLuca Coelho 
115208f4b0b1SLuca Coelho /* So-F with Gf */
115308f4b0b1SLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
115408f4b0b1SLuca Coelho 		      IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY,
115572904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
11562b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
115708f4b0b1SLuca Coelho 		      iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_name),
11584743a72fSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
11594743a72fSLuca Coelho 		      IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY,
116072904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
11612b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_ANY,
11624743a72fSLuca Coelho 		      iwlax411_2ax_cfg_so_gf4_a0, iwl_ax411_name),
1163bc9296f4SIhab Zhaika 
11642be05dfdSMatti Gottlieb /* Bz */
11652be05dfdSMatti Gottlieb 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
11662be05dfdSMatti Gottlieb 		      IWL_CFG_MAC_TYPE_BZ, IWL_CFG_ANY,
116772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, IWL_CFG_ANY,
116872904029SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
116972904029SMukesh Sisodiya 		      iwl_cfg_bz_a0_hr_a0, iwl_bz_name),
117072904029SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
117172904029SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_BZ, IWL_CFG_ANY,
117272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
11732b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1174d01408eeSJohannes Berg 		      iwl_cfg_bz_a0_hr_b0, iwl_bz_name),
11752be05dfdSMatti Gottlieb 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
11768a18d46bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_BZ, SILICON_A_STEP,
117772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
11782b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1179d01408eeSJohannes Berg 		      iwl_cfg_bz_a0_gf_a0, iwl_bz_name),
11802be05dfdSMatti Gottlieb 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
11818a18d46bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_BZ, SILICON_A_STEP,
118272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
11832b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_ANY,
1184d01408eeSJohannes Berg 		      iwl_cfg_bz_a0_gf4_a0, iwl_bz_name),
11852be05dfdSMatti Gottlieb 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
11868a18d46bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_BZ, SILICON_B_STEP,
11878a18d46bSMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
11888a18d46bSMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
11898a18d46bSMukesh Sisodiya 		      iwl_cfg_bz_b0_gf_a0, iwl_bz_name),
11908a18d46bSMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
11918a18d46bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_BZ, SILICON_B_STEP,
11928a18d46bSMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
11938a18d46bSMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_ANY,
11948a18d46bSMukesh Sisodiya 		      iwl_cfg_bz_b0_gf4_a0, iwl_bz_name),
11958a18d46bSMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
11962be05dfdSMatti Gottlieb 		      IWL_CFG_MAC_TYPE_BZ, IWL_CFG_ANY,
119772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_MR, IWL_CFG_ANY, IWL_CFG_ANY,
11982b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1199d01408eeSJohannes Berg 		      iwl_cfg_bz_a0_mr_a0, iwl_bz_name),
1200af82c007SMatti Gottlieb 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
120172904029SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_BZ, SILICON_A_STEP,
120272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_A_STEP,
12032b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1204af82c007SMatti Gottlieb 		      iwl_cfg_bz_a0_fm_a0, iwl_bz_name),
1205af82c007SMatti Gottlieb 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
12068a18d46bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_BZ, SILICON_A_STEP,
120772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_A_STEP,
1208bcc58c83SYaara Baruch 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_NO_JACKET,
1209bcc58c83SYaara Baruch 		      iwl_cfg_bz_a0_fm4_a0, iwl_bz_name),
1210bcc58c83SYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
12118a18d46bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_BZ, SILICON_A_STEP,
121272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_B_STEP,
12139c5608b3SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_NO_JACKET,
1214c2db0175SMukesh Sisodiya 		      iwl_cfg_bz_a0_fm_b0, iwl_bz_name),
1215c2db0175SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
12168a18d46bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_BZ, SILICON_A_STEP,
12179c5608b3SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_C_STEP,
12189c5608b3SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_NO_JACKET,
12199c5608b3SMukesh Sisodiya 		      iwl_cfg_bz_a0_fm_c0, iwl_bz_name),
12209c5608b3SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
12218a18d46bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_BZ, SILICON_A_STEP,
122272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_B_STEP,
12239c5608b3SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_NO_JACKET,
1224c2db0175SMukesh Sisodiya 		      iwl_cfg_bz_a0_fm4_b0, iwl_bz_name),
1225c2db0175SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
12268a18d46bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_BZ, SILICON_B_STEP,
12278a18d46bSMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_B_STEP,
12288a18d46bSMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_NO_JACKET,
12298a18d46bSMukesh Sisodiya 		      iwl_cfg_bz_b0_fm_b0, iwl_bz_name),
12308a18d46bSMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
12318a18d46bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_BZ, SILICON_B_STEP,
12328a18d46bSMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_B_STEP,
12338a18d46bSMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_NO_JACKET,
12348a18d46bSMukesh Sisodiya 		      iwl_cfg_bz_b0_fm4_b0, iwl_bz_name),
12358a18d46bSMukesh Sisodiya /* Ga (Gl) */
12368a18d46bSMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1237bcc58c83SYaara Baruch 		      IWL_CFG_MAC_TYPE_GL, SILICON_A_STEP,
123872904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_A_STEP,
123992fd0ce9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_NO_JACKET,
1240af82c007SMatti Gottlieb 		      iwl_cfg_gl_a0_fm_a0, iwl_bz_name),
1241bcc58c83SYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1242bcc58c83SYaara Baruch 		      IWL_CFG_MAC_TYPE_GL, SILICON_B_STEP,
124372904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_B_STEP,
1244bcc58c83SYaara Baruch 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_NO_JACKET,
1245bcc58c83SYaara Baruch 		      iwl_cfg_gl_b0_fm_b0, iwl_bz_name),
12469c5608b3SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
12479c5608b3SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_GL, SILICON_C_STEP,
12489c5608b3SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_C_STEP,
12499c5608b3SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_NO_JACKET,
12509c5608b3SMukesh Sisodiya 		      iwl_cfg_gl_c0_fm_c0, iwl_bz_name),
1251af82c007SMatti Gottlieb 
1252f738e705SMike Golant /* BZ Z step */
1253f738e705SMike Golant 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1254f738e705SMike Golant 		      IWL_CFG_MAC_TYPE_BZ, SILICON_Z_STEP,
125572904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
12562b0ceda9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1257f738e705SMike Golant 		      iwl_cfg_bz_z0_gf_a0, iwl_bz_name),
1258f738e705SMike Golant 
125992fd0ce9SMike Golant /* BNJ */
126092fd0ce9SMike Golant 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1261bcc58c83SYaara Baruch 		      IWL_CFG_MAC_TYPE_GL, SILICON_A_STEP,
126272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_A_STEP,
126392fd0ce9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_IS_JACKET,
126492fd0ce9SMike Golant 		      iwl_cfg_bnj_a0_fm_a0, iwl_bz_name),
126592fd0ce9SMike Golant 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1266bcc58c83SYaara Baruch 		      IWL_CFG_MAC_TYPE_GL, SILICON_B_STEP,
126772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_B_STEP,
1268bcc58c83SYaara Baruch 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_IS_JACKET,
1269bcc58c83SYaara Baruch 		      iwl_cfg_bnj_b0_fm_b0, iwl_bz_name),
1270bcc58c83SYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
127172904029SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_GL, SILICON_A_STEP,
127272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_A_STEP,
127392fd0ce9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_IS_JACKET,
127492fd0ce9SMike Golant 		      iwl_cfg_bnj_a0_fm4_a0, iwl_bz_name),
127592fd0ce9SMike Golant 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1276b96e516cSGolan Ben Ami 		      IWL_CFG_MAC_TYPE_GL, SILICON_B_STEP,
127772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_B_STEP,
1278b96e516cSGolan Ben Ami 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_IS_JACKET,
1279b96e516cSGolan Ben Ami 		      iwl_cfg_bnj_b0_fm4_b0, iwl_bz_name),
1280b96e516cSGolan Ben Ami 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
128192fd0ce9SMike Golant 		      IWL_CFG_MAC_TYPE_GL, IWL_CFG_ANY,
128272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
128392fd0ce9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_IS_JACKET,
128492fd0ce9SMike Golant 		      iwl_cfg_bnj_a0_gf_a0, iwl_bz_name),
128592fd0ce9SMike Golant 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1286c2db0175SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_GL, SILICON_B_STEP,
128772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
1288c2db0175SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_IS_JACKET,
1289c2db0175SMukesh Sisodiya 		      iwl_cfg_bnj_b0_gf_a0, iwl_bz_name),
1290c2db0175SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
12913068248bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_GL, SILICON_A_STEP,
129272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
129392fd0ce9SMike Golant 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_IS_JACKET,
129492fd0ce9SMike Golant 		      iwl_cfg_bnj_a0_gf4_a0, iwl_bz_name),
129592fd0ce9SMike Golant 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
12963068248bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_GL, SILICON_B_STEP,
129772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
12983068248bSMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_IS_JACKET,
12993068248bSMukesh Sisodiya 		      iwl_cfg_bnj_b0_gf4_a0, iwl_bz_name),
13003068248bSMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
13013068248bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_GL, SILICON_A_STEP,
130272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, IWL_CFG_ANY,
130372904029SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
130472904029SMukesh Sisodiya 		      iwl_cfg_bnj_a0_hr_a0, iwl_bz_name),
130572904029SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
130672904029SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_GL, SILICON_A_STEP,
130772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
130872904029SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
130992fd0ce9SMike Golant 		      iwl_cfg_bnj_a0_hr_b0, iwl_bz_name),
13103068248bSMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
13113068248bSMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_GL, SILICON_B_STEP,
131272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, IWL_CFG_ANY,
131372904029SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
131472904029SMukesh Sisodiya 		      iwl_cfg_bnj_b0_hr_a0, iwl_bz_name),
131572904029SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
131672904029SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_GL, SILICON_B_STEP,
131772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
131872904029SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
13193068248bSMukesh Sisodiya 		      iwl_cfg_bnj_b0_hr_b0, iwl_bz_name),
132092fd0ce9SMike Golant 
1321f06bc8afSYaara Baruch /* SoF with JF2 */
1322f06bc8afSYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1323f06bc8afSYaara Baruch 		      IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY,
132472904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
13252b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1326f06bc8afSYaara Baruch 		      iwlax210_2ax_cfg_so_jf_b0, iwl9560_160_name),
1327f06bc8afSYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1328f06bc8afSYaara Baruch 		      IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY,
132972904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
13302b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1331f06bc8afSYaara Baruch 		      iwlax210_2ax_cfg_so_jf_b0, iwl9560_name),
1332f06bc8afSYaara Baruch 
1333f06bc8afSYaara Baruch /* SoF with JF */
1334f06bc8afSYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1335f06bc8afSYaara Baruch 		      IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY,
133672904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
13372b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1338f06bc8afSYaara Baruch 		      iwlax210_2ax_cfg_so_jf_b0, iwl9461_160_name),
1339f06bc8afSYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1340f06bc8afSYaara Baruch 		      IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY,
134172904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
13422b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1343f06bc8afSYaara Baruch 		      iwlax210_2ax_cfg_so_jf_b0, iwl9462_160_name),
1344f06bc8afSYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1345f06bc8afSYaara Baruch 		      IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY,
134672904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
13472b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1348f06bc8afSYaara Baruch 		      iwlax210_2ax_cfg_so_jf_b0, iwl9461_name),
1349f06bc8afSYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1350f06bc8afSYaara Baruch 		      IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY,
135172904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
13522b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1353a5bf1d44SYaara Baruch 		      iwlax210_2ax_cfg_so_jf_b0, iwl9462_name),
1354a5bf1d44SYaara Baruch 
13559a0f28d8Sybaruch /* So with GF */
13569a0f28d8Sybaruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
13579a0f28d8Sybaruch 		      IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
135872904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
13592b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1360891332f6SYaara Baruch 		      iwlax211_2ax_cfg_so_gf_a0, iwl_ax211_name),
13614743a72fSLuca Coelho 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
13624743a72fSLuca Coelho 		      IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
136372904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
13642b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_ANY,
13654743a72fSLuca Coelho 		      iwlax411_2ax_cfg_so_gf4_a0, iwl_ax411_name),
1366891332f6SYaara Baruch 
1367891332f6SYaara Baruch /* So with JF2 */
1368891332f6SYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1369891332f6SYaara Baruch 		      IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
137072904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
13712b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1372891332f6SYaara Baruch 		      iwlax210_2ax_cfg_so_jf_b0, iwl9560_160_name),
1373891332f6SYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1374891332f6SYaara Baruch 		      IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
137572904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF2, IWL_CFG_RF_ID_JF, IWL_CFG_ANY,
13762b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1377891332f6SYaara Baruch 		      iwlax210_2ax_cfg_so_jf_b0, iwl9560_name),
1378891332f6SYaara Baruch 
1379891332f6SYaara Baruch /* So with JF */
1380891332f6SYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1381891332f6SYaara Baruch 		      IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
138272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
13832b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1384891332f6SYaara Baruch 		      iwlax210_2ax_cfg_so_jf_b0, iwl9461_160_name),
1385891332f6SYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1386891332f6SYaara Baruch 		      IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
138772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
13882b0ceda9SMike Golant 		      IWL_CFG_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1389891332f6SYaara Baruch 		      iwlax210_2ax_cfg_so_jf_b0, iwl9462_160_name),
1390891332f6SYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1391891332f6SYaara Baruch 		      IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
139272904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1, IWL_CFG_ANY,
13932b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1394891332f6SYaara Baruch 		      iwlax210_2ax_cfg_so_jf_b0, iwl9461_name),
1395891332f6SYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1396891332f6SYaara Baruch 		      IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
139772904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_JF1, IWL_CFG_RF_ID_JF1_DIV, IWL_CFG_ANY,
13982b0ceda9SMike Golant 		      IWL_CFG_NO_160, IWL_CFG_CORES_BT, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1399ac4790dcSYaara Baruch 		      iwlax210_2ax_cfg_so_jf_b0, iwl9462_name),
1400ac4790dcSYaara Baruch 
1401ac4790dcSYaara Baruch /* MsP */
1402ac4790dcSYaara Baruch /* For now we use the same FW as MR, but this will change in the future. */
1403ac4790dcSYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1404ac4790dcSYaara Baruch 		      IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
140572904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_MS, IWL_CFG_ANY, IWL_CFG_ANY,
1406ac4790dcSYaara Baruch 		      IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1407ac4790dcSYaara Baruch 		      iwl_cfg_so_a0_ms_a0, iwl_ax204_name),
1408ac4790dcSYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1409ac4790dcSYaara Baruch 		      IWL_CFG_MAC_TYPE_SOF, IWL_CFG_ANY,
141072904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_MS, IWL_CFG_ANY, IWL_CFG_ANY,
1411ac4790dcSYaara Baruch 		      IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1412ac4790dcSYaara Baruch 		      iwl_cfg_so_a0_ms_a0, iwl_ax204_name),
1413ac4790dcSYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1414ac4790dcSYaara Baruch 		      IWL_CFG_MAC_TYPE_MA, IWL_CFG_ANY,
141572904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_MS, IWL_CFG_ANY, IWL_CFG_ANY,
1416ac4790dcSYaara Baruch 		      IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1417ac4790dcSYaara Baruch 		      iwl_cfg_ma_a0_ms_a0, iwl_ax204_name),
1418ac4790dcSYaara Baruch 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1419ac4790dcSYaara Baruch 		      IWL_CFG_MAC_TYPE_SNJ, IWL_CFG_ANY,
142072904029SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_MS, IWL_CFG_ANY, IWL_CFG_ANY,
1421ac4790dcSYaara Baruch 		      IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1422*e1374ed2SMukesh Sisodiya 		      iwl_cfg_snj_a0_ms_a0, iwl_ax204_name),
14239a0f28d8Sybaruch 
1424*e1374ed2SMukesh Sisodiya /* Sc */
1425*e1374ed2SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1426*e1374ed2SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_SC, SILICON_A_STEP,
1427*e1374ed2SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_B_STEP,
1428*e1374ed2SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1429*e1374ed2SMukesh Sisodiya 		      iwl_cfg_sc_a0_fm_b0, iwl_sc_name),
1430*e1374ed2SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1431*e1374ed2SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_SC, SILICON_A_STEP,
1432*e1374ed2SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, SILICON_C_STEP,
1433*e1374ed2SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1434*e1374ed2SMukesh Sisodiya 		      iwl_cfg_sc_a0_fm_c0, iwl_sc_name),
1435*e1374ed2SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1436*e1374ed2SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_SC, SILICON_A_STEP,
1437*e1374ed2SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY, IWL_CFG_ANY,
1438*e1374ed2SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1439*e1374ed2SMukesh Sisodiya 		      iwl_cfg_sc_a0_hr_a0, iwl_sc_name),
1440*e1374ed2SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1441*e1374ed2SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_SC, SILICON_A_STEP,
1442*e1374ed2SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_HR2, IWL_CFG_ANY, IWL_CFG_ANY,
1443*e1374ed2SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1444*e1374ed2SMukesh Sisodiya 		      iwl_cfg_sc_a0_hr_b0, iwl_sc_name),
1445*e1374ed2SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1446*e1374ed2SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_SC, SILICON_A_STEP,
1447*e1374ed2SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
1448*e1374ed2SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1449*e1374ed2SMukesh Sisodiya 		      iwl_cfg_sc_a0_gf_a0, iwl_sc_name),
1450*e1374ed2SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1451*e1374ed2SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_SC, SILICON_A_STEP,
1452*e1374ed2SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_GF, IWL_CFG_ANY, IWL_CFG_ANY,
1453*e1374ed2SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_CDB, IWL_CFG_ANY,
1454*e1374ed2SMukesh Sisodiya 		      iwl_cfg_sc_a0_gf4_a0, iwl_sc_name),
1455*e1374ed2SMukesh Sisodiya 	_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
1456*e1374ed2SMukesh Sisodiya 		      IWL_CFG_MAC_TYPE_SC, SILICON_A_STEP,
1457*e1374ed2SMukesh Sisodiya 		      IWL_CFG_RF_TYPE_WH, IWL_CFG_ANY, IWL_CFG_ANY,
1458*e1374ed2SMukesh Sisodiya 		      IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
1459*e1374ed2SMukesh Sisodiya 		      iwl_cfg_sc_a0_wh_a0, iwl_sc_name),
14602a612a60SLuca Coelho #endif /* CONFIG_IWLMVM */
14612a612a60SLuca Coelho };
14622a612a60SLuca Coelho 
14631f171f4fSMatti Gottlieb /*
14643a27a1a1SMukesh Sisodiya  * Read rf id and cdb info from prph register and store it
14651f171f4fSMatti Gottlieb  */
14661f171f4fSMatti Gottlieb static int get_crf_id(struct iwl_trans *iwl_trans)
14671f171f4fSMatti Gottlieb {
14681f171f4fSMatti Gottlieb 	int ret = 0;
14691f171f4fSMatti Gottlieb 	u32 sd_reg_ver_addr;
14703a27a1a1SMukesh Sisodiya 	u32 val = 0;
14711f171f4fSMatti Gottlieb 
1472f1c0bb74SMatti Gottlieb 	if (iwl_trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210)
14731f171f4fSMatti Gottlieb 		sd_reg_ver_addr = SD_REG_VER_GEN2;
1474f1c0bb74SMatti Gottlieb 	else
14751f171f4fSMatti Gottlieb 		sd_reg_ver_addr = SD_REG_VER;
14761f171f4fSMatti Gottlieb 
14771f171f4fSMatti Gottlieb 	if (!iwl_trans_grab_nic_access(iwl_trans)) {
14781f171f4fSMatti Gottlieb 		IWL_ERR(iwl_trans, "Failed to grab nic access before reading crf id\n");
14791f171f4fSMatti Gottlieb 		ret = -EIO;
14801f171f4fSMatti Gottlieb 		goto out;
14811f171f4fSMatti Gottlieb 	}
14821f171f4fSMatti Gottlieb 
14831f171f4fSMatti Gottlieb 	/* Enable access to peripheral registers */
1484f1c0bb74SMatti Gottlieb 	val = iwl_read_umac_prph_no_grab(iwl_trans, WFPM_CTRL_REG);
14851f171f4fSMatti Gottlieb 	val |= ENABLE_WFPM;
1486f1c0bb74SMatti Gottlieb 	iwl_write_umac_prph_no_grab(iwl_trans, WFPM_CTRL_REG, val);
14871f171f4fSMatti Gottlieb 
14881f171f4fSMatti Gottlieb 	/* Read crf info */
14893a27a1a1SMukesh Sisodiya 	iwl_trans->hw_crf_id = iwl_read_prph_no_grab(iwl_trans, sd_reg_ver_addr);
14901f171f4fSMatti Gottlieb 
149172904029SMukesh Sisodiya 	/* Read cnv info */
149272904029SMukesh Sisodiya 	iwl_trans->hw_cnv_id =
149372904029SMukesh Sisodiya 		iwl_read_prph_no_grab(iwl_trans, CNVI_AUX_MISC_CHIP);
149472904029SMukesh Sisodiya 
14951f171f4fSMatti Gottlieb 	/* Read cdb info (also contains the jacket info if needed in the future */
149672904029SMukesh Sisodiya 	iwl_trans->hw_wfpm_id =
149772904029SMukesh Sisodiya 		iwl_read_umac_prph_no_grab(iwl_trans, WFPM_OTP_CFG1_ADDR);
149872904029SMukesh Sisodiya 	IWL_INFO(iwl_trans, "Detected crf-id 0x%x, cnv-id 0x%x wfpm id 0x%x\n",
149972904029SMukesh Sisodiya 		 iwl_trans->hw_crf_id, iwl_trans->hw_cnv_id,
150072904029SMukesh Sisodiya 		 iwl_trans->hw_wfpm_id);
15013a27a1a1SMukesh Sisodiya 
15023a27a1a1SMukesh Sisodiya 	iwl_trans_release_nic_access(iwl_trans);
15033a27a1a1SMukesh Sisodiya 
15043a27a1a1SMukesh Sisodiya out:
15053a27a1a1SMukesh Sisodiya 	return ret;
15063a27a1a1SMukesh Sisodiya }
15073a27a1a1SMukesh Sisodiya 
15083a27a1a1SMukesh Sisodiya /*
15093a27a1a1SMukesh Sisodiya  * In case that there is no OTP on the NIC, map the rf id and cdb info
15103a27a1a1SMukesh Sisodiya  * from the prph registers.
15113a27a1a1SMukesh Sisodiya  */
15123a27a1a1SMukesh Sisodiya static int map_crf_id(struct iwl_trans *iwl_trans)
15133a27a1a1SMukesh Sisodiya {
15143a27a1a1SMukesh Sisodiya 	int ret = 0;
15153a27a1a1SMukesh Sisodiya 	u32 val = iwl_trans->hw_crf_id;
151672904029SMukesh Sisodiya 	u32 step_id = REG_CRF_ID_STEP(val);
151772904029SMukesh Sisodiya 	u32 slave_id = REG_CRF_ID_SLAVE(val);
151872904029SMukesh Sisodiya 	u32 jacket_id_cnv  = REG_CRF_ID_SLAVE(iwl_trans->hw_cnv_id);
151972904029SMukesh Sisodiya 	u32 jacket_id_wfpm  = WFPM_OTP_CFG1_IS_JACKET(iwl_trans->hw_wfpm_id);
152072904029SMukesh Sisodiya 	u32 cdb_id_wfpm  = WFPM_OTP_CFG1_IS_CDB(iwl_trans->hw_wfpm_id);
15211f171f4fSMatti Gottlieb 
15221f171f4fSMatti Gottlieb 	/* Map between crf id to rf id */
15231f171f4fSMatti Gottlieb 	switch (REG_CRF_ID_TYPE(val)) {
15241f171f4fSMatti Gottlieb 	case REG_CRF_ID_TYPE_JF_1:
15251f171f4fSMatti Gottlieb 		iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_JF1 << 12);
15261f171f4fSMatti Gottlieb 		break;
15271f171f4fSMatti Gottlieb 	case REG_CRF_ID_TYPE_JF_2:
15281f171f4fSMatti Gottlieb 		iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_JF2 << 12);
15291f171f4fSMatti Gottlieb 		break;
153072904029SMukesh Sisodiya 	case REG_CRF_ID_TYPE_HR_NONE_CDB_1X1:
15311f171f4fSMatti Gottlieb 		iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_HR1 << 12);
15321f171f4fSMatti Gottlieb 		break;
153372904029SMukesh Sisodiya 	case REG_CRF_ID_TYPE_HR_NONE_CDB:
153472904029SMukesh Sisodiya 		iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_HR2 << 12);
153572904029SMukesh Sisodiya 		break;
15361f171f4fSMatti Gottlieb 	case REG_CRF_ID_TYPE_HR_CDB:
15371f171f4fSMatti Gottlieb 		iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_HR2 << 12);
15381f171f4fSMatti Gottlieb 		break;
15391f171f4fSMatti Gottlieb 	case REG_CRF_ID_TYPE_GF:
15401f171f4fSMatti Gottlieb 		iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_GF << 12);
15411f171f4fSMatti Gottlieb 		break;
15421f171f4fSMatti Gottlieb 	case REG_CRF_ID_TYPE_MR:
15431f171f4fSMatti Gottlieb 		iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_MR << 12);
15441f171f4fSMatti Gottlieb 		break;
1545af82c007SMatti Gottlieb 	case REG_CRF_ID_TYPE_FM:
154672904029SMukesh Sisodiya 	case REG_CRF_ID_TYPE_FMI:
154772904029SMukesh Sisodiya 	case REG_CRF_ID_TYPE_FMR:
1548af82c007SMatti Gottlieb 		iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_FM << 12);
1549af82c007SMatti Gottlieb 		break;
15501f171f4fSMatti Gottlieb 	default:
15511f171f4fSMatti Gottlieb 		ret = -EIO;
15521f171f4fSMatti Gottlieb 		IWL_ERR(iwl_trans,
155372904029SMukesh Sisodiya 			"Can't find a correct rfid for crf id 0x%x\n",
15541f171f4fSMatti Gottlieb 			REG_CRF_ID_TYPE(val));
15553a27a1a1SMukesh Sisodiya 		goto out;
15561f171f4fSMatti Gottlieb 
15571f171f4fSMatti Gottlieb 	}
15581f171f4fSMatti Gottlieb 
155972904029SMukesh Sisodiya 	/* Set Step-id */
156072904029SMukesh Sisodiya 	iwl_trans->hw_rf_id |= (step_id << 8);
156172904029SMukesh Sisodiya 
15621f171f4fSMatti Gottlieb 	/* Set CDB capabilities */
156372904029SMukesh Sisodiya 	if (cdb_id_wfpm || slave_id) {
15641f171f4fSMatti Gottlieb 		iwl_trans->hw_rf_id += BIT(28);
15651f171f4fSMatti Gottlieb 		IWL_INFO(iwl_trans, "Adding cdb to rf id\n");
15661f171f4fSMatti Gottlieb 	}
15671f171f4fSMatti Gottlieb 
156872904029SMukesh Sisodiya 	/* Set Jacket capabilities */
156972904029SMukesh Sisodiya 	if (jacket_id_wfpm || jacket_id_cnv) {
157072904029SMukesh Sisodiya 		iwl_trans->hw_rf_id += BIT(29);
157172904029SMukesh Sisodiya 		IWL_INFO(iwl_trans, "Adding jacket to rf id\n");
157272904029SMukesh Sisodiya 	}
15731f171f4fSMatti Gottlieb 
157472904029SMukesh Sisodiya 	IWL_INFO(iwl_trans,
157572904029SMukesh Sisodiya 		 "Detected rf-type 0x%x step-id 0x%x slave-id 0x%x from crf id 0x%x\n",
157672904029SMukesh Sisodiya 		 REG_CRF_ID_TYPE(val), step_id, slave_id, iwl_trans->hw_rf_id);
157772904029SMukesh Sisodiya 	IWL_INFO(iwl_trans,
157872904029SMukesh Sisodiya 		 "Detected cdb-id 0x%x jacket-id 0x%x from wfpm id 0x%x\n",
157972904029SMukesh Sisodiya 		 cdb_id_wfpm, jacket_id_wfpm, iwl_trans->hw_wfpm_id);
158072904029SMukesh Sisodiya 	IWL_INFO(iwl_trans, "Detected jacket-id 0x%x from cnvi id 0x%x\n",
158172904029SMukesh Sisodiya 		 jacket_id_cnv, iwl_trans->hw_cnv_id);
15821f171f4fSMatti Gottlieb 
15831f171f4fSMatti Gottlieb out:
15841f171f4fSMatti Gottlieb 	return ret;
15851f171f4fSMatti Gottlieb }
15861f171f4fSMatti Gottlieb 
1587e705c121SKalle Valo /* PCI registers */
1588e705c121SKalle Valo #define PCI_CFG_RETRY_TIMEOUT	0x041
1589e705c121SKalle Valo 
15900a1f96d5SJohannes Berg static const struct iwl_dev_info *
15910a1f96d5SJohannes Berg iwl_pci_find_dev_info(u16 device, u16 subsystem_device,
159272904029SMukesh Sisodiya 		      u16 mac_type, u8 mac_step, u16 rf_type, u8 cdb,
159372904029SMukesh Sisodiya 		      u8 jacket, u8 rf_id, u8 no_160, u8 cores, u8 rf_step)
15940a1f96d5SJohannes Berg {
1595fe785f56SArnd Bergmann 	int num_devices = ARRAY_SIZE(iwl_dev_info_table);
15960a1f96d5SJohannes Berg 	int i;
15970a1f96d5SJohannes Berg 
1598fe785f56SArnd Bergmann 	if (!num_devices)
1599fe785f56SArnd Bergmann 		return NULL;
1600fe785f56SArnd Bergmann 
1601fe785f56SArnd Bergmann 	for (i = num_devices - 1; i >= 0; i--) {
16020a1f96d5SJohannes Berg 		const struct iwl_dev_info *dev_info = &iwl_dev_info_table[i];
16030a1f96d5SJohannes Berg 
16040a1f96d5SJohannes Berg 		if (dev_info->device != (u16)IWL_CFG_ANY &&
16050a1f96d5SJohannes Berg 		    dev_info->device != device)
16060a1f96d5SJohannes Berg 			continue;
16070a1f96d5SJohannes Berg 
16080a1f96d5SJohannes Berg 		if (dev_info->subdevice != (u16)IWL_CFG_ANY &&
16090a1f96d5SJohannes Berg 		    dev_info->subdevice != subsystem_device)
16100a1f96d5SJohannes Berg 			continue;
16110a1f96d5SJohannes Berg 
16120a1f96d5SJohannes Berg 		if (dev_info->mac_type != (u16)IWL_CFG_ANY &&
16130a1f96d5SJohannes Berg 		    dev_info->mac_type != mac_type)
16140a1f96d5SJohannes Berg 			continue;
16150a1f96d5SJohannes Berg 
16160a1f96d5SJohannes Berg 		if (dev_info->mac_step != (u8)IWL_CFG_ANY &&
16170a1f96d5SJohannes Berg 		    dev_info->mac_step != mac_step)
16180a1f96d5SJohannes Berg 			continue;
16190a1f96d5SJohannes Berg 
16200a1f96d5SJohannes Berg 		if (dev_info->rf_type != (u16)IWL_CFG_ANY &&
16210a1f96d5SJohannes Berg 		    dev_info->rf_type != rf_type)
16220a1f96d5SJohannes Berg 			continue;
16230a1f96d5SJohannes Berg 
16240a1f96d5SJohannes Berg 		if (dev_info->cdb != (u8)IWL_CFG_ANY &&
16250a1f96d5SJohannes Berg 		    dev_info->cdb != cdb)
16260a1f96d5SJohannes Berg 			continue;
16270a1f96d5SJohannes Berg 
16282b0ceda9SMike Golant 		if (dev_info->jacket != (u8)IWL_CFG_ANY &&
16292b0ceda9SMike Golant 		    dev_info->jacket != jacket)
16302b0ceda9SMike Golant 			continue;
16312b0ceda9SMike Golant 
16320a1f96d5SJohannes Berg 		if (dev_info->rf_id != (u8)IWL_CFG_ANY &&
16330a1f96d5SJohannes Berg 		    dev_info->rf_id != rf_id)
16340a1f96d5SJohannes Berg 			continue;
16350a1f96d5SJohannes Berg 
16360a1f96d5SJohannes Berg 		if (dev_info->no_160 != (u8)IWL_CFG_ANY &&
16370a1f96d5SJohannes Berg 		    dev_info->no_160 != no_160)
16380a1f96d5SJohannes Berg 			continue;
16390a1f96d5SJohannes Berg 
16400a1f96d5SJohannes Berg 		if (dev_info->cores != (u8)IWL_CFG_ANY &&
16410a1f96d5SJohannes Berg 		    dev_info->cores != cores)
16420a1f96d5SJohannes Berg 			continue;
16430a1f96d5SJohannes Berg 
164472904029SMukesh Sisodiya 		if (dev_info->rf_step != (u8)IWL_CFG_ANY &&
164572904029SMukesh Sisodiya 		    dev_info->rf_step != rf_step)
164672904029SMukesh Sisodiya 			continue;
164772904029SMukesh Sisodiya 
16483f732042SJohannes Berg 		return dev_info;
16490a1f96d5SJohannes Berg 	}
16500a1f96d5SJohannes Berg 
16513f732042SJohannes Berg 	return NULL;
16520a1f96d5SJohannes Berg }
16530a1f96d5SJohannes Berg 
1654e705c121SKalle Valo static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1655e705c121SKalle Valo {
165648a5494dSJohannes Berg 	const struct iwl_cfg_trans_params *trans;
1657e705c121SKalle Valo 	const struct iwl_cfg *cfg_7265d __maybe_unused = NULL;
16580a1f96d5SJohannes Berg 	const struct iwl_dev_info *dev_info;
1659e705c121SKalle Valo 	struct iwl_trans *iwl_trans;
1660c042f0c7SJohannes Berg 	struct iwl_trans_pcie *trans_pcie;
16610a1f96d5SJohannes Berg 	int ret;
166248a5494dSJohannes Berg 	const struct iwl_cfg *cfg;
166348a5494dSJohannes Berg 
166448a5494dSJohannes Berg 	trans = (void *)(ent->driver_data & ~TRANS_CFG_MARKER);
166548a5494dSJohannes Berg 
1666b3bd6416SLuca Coelho 	/*
1667b3bd6416SLuca Coelho 	 * This is needed for backwards compatibility with the old
1668b3bd6416SLuca Coelho 	 * tables, so we don't need to change all the config structs
1669b3bd6416SLuca Coelho 	 * at the same time.  The cfg is used to compare with the old
1670b3bd6416SLuca Coelho 	 * full cfg structs.
1671b3bd6416SLuca Coelho 	 */
167248a5494dSJohannes Berg 	cfg = (void *)(ent->driver_data & ~TRANS_CFG_MARKER);
1673e705c121SKalle Valo 
1674b3bd6416SLuca Coelho 	/* make sure trans is the first element in iwl_cfg */
1675b3bd6416SLuca Coelho 	BUILD_BUG_ON(offsetof(struct iwl_cfg, trans));
1676b3bd6416SLuca Coelho 
1677b3bd6416SLuca Coelho 	iwl_trans = iwl_trans_pcie_alloc(pdev, ent, trans);
1678e705c121SKalle Valo 	if (IS_ERR(iwl_trans))
1679e705c121SKalle Valo 		return PTR_ERR(iwl_trans);
1680e705c121SKalle Valo 
1681c042f0c7SJohannes Berg 	trans_pcie = IWL_TRANS_GET_PCIE_TRANS(iwl_trans);
1682286ca8ebSLuca Coelho 
16832fd8aaaeSJohannes Berg 	/*
16842fd8aaaeSJohannes Berg 	 * Let's try to grab NIC access early here. Sometimes, NICs may
16852fd8aaaeSJohannes Berg 	 * fail to initialize, and if that happens it's better if we see
16862fd8aaaeSJohannes Berg 	 * issues early on (and can reprobe, per the logic inside), than
16872fd8aaaeSJohannes Berg 	 * first trying to load the firmware etc. and potentially only
16882fd8aaaeSJohannes Berg 	 * detecting any problems when the first interface is brought up.
16892fd8aaaeSJohannes Berg 	 */
16906d19a5ebSEmmanuel Grumbach 	ret = iwl_pcie_prepare_card_hw(iwl_trans);
16916d19a5ebSEmmanuel Grumbach 	if (!ret) {
16922fd8aaaeSJohannes Berg 		ret = iwl_finish_nic_init(iwl_trans);
16932fd8aaaeSJohannes Berg 		if (ret)
16942fd8aaaeSJohannes Berg 			goto out_free_trans;
16952fd8aaaeSJohannes Berg 		if (iwl_trans_grab_nic_access(iwl_trans)) {
16962fd8aaaeSJohannes Berg 			/* all good */
16972fd8aaaeSJohannes Berg 			iwl_trans_release_nic_access(iwl_trans);
16982fd8aaaeSJohannes Berg 		} else {
16992fd8aaaeSJohannes Berg 			ret = -EIO;
17002fd8aaaeSJohannes Berg 			goto out_free_trans;
17012fd8aaaeSJohannes Berg 		}
17026d19a5ebSEmmanuel Grumbach 	}
17032fd8aaaeSJohannes Berg 
1704d6f2134aSLuca Coelho 	iwl_trans->hw_rf_id = iwl_read32(iwl_trans, CSR_HW_RF_ID);
17053a27a1a1SMukesh Sisodiya 	get_crf_id(iwl_trans);
1706d6f2134aSLuca Coelho 
17071f171f4fSMatti Gottlieb 	/*
17081f171f4fSMatti Gottlieb 	 * The RF_ID is set to zero in blank OTP so read version to
17091f171f4fSMatti Gottlieb 	 * extract the RF_ID.
17101f171f4fSMatti Gottlieb 	 * This is relevant only for family 9000 and up.
17111f171f4fSMatti Gottlieb 	 */
17121f171f4fSMatti Gottlieb 	if (iwl_trans->trans_cfg->rf_id &&
17131f171f4fSMatti Gottlieb 	    iwl_trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_9000 &&
17143a27a1a1SMukesh Sisodiya 	    !CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id) && map_crf_id(iwl_trans)) {
17151b54403cSchongjiapeng 		ret = -EINVAL;
17161f171f4fSMatti Gottlieb 		goto out_free_trans;
17171b54403cSchongjiapeng 	}
17181f171f4fSMatti Gottlieb 
171972904029SMukesh Sisodiya 	IWL_INFO(iwl_trans, "PCI dev %04x/%04x, rev=0x%x, rfid=0x%x\n",
172072904029SMukesh Sisodiya 		 pdev->device, pdev->subsystem_device,
172172904029SMukesh Sisodiya 		 iwl_trans->hw_rev, iwl_trans->hw_rf_id);
172272904029SMukesh Sisodiya 
17230a1f96d5SJohannes Berg 	dev_info = iwl_pci_find_dev_info(pdev->device, pdev->subsystem_device,
17240a1f96d5SJohannes Berg 					 CSR_HW_REV_TYPE(iwl_trans->hw_rev),
172555c6d8f8SMike Golant 					 iwl_trans->hw_rev_step,
17260a1f96d5SJohannes Berg 					 CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id),
17270a1f96d5SJohannes Berg 					 CSR_HW_RFID_IS_CDB(iwl_trans->hw_rf_id),
17282b0ceda9SMike Golant 					 CSR_HW_RFID_IS_JACKET(iwl_trans->hw_rf_id),
17290a1f96d5SJohannes Berg 					 IWL_SUBDEVICE_RF_ID(pdev->subsystem_device),
17300a1f96d5SJohannes Berg 					 IWL_SUBDEVICE_NO_160(pdev->subsystem_device),
173172904029SMukesh Sisodiya 					 IWL_SUBDEVICE_CORES(pdev->subsystem_device),
173272904029SMukesh Sisodiya 					 CSR_HW_RFID_STEP(iwl_trans->hw_rf_id));
17330a1f96d5SJohannes Berg 	if (dev_info) {
17342a612a60SLuca Coelho 		iwl_trans->cfg = dev_info->cfg;
17350b295a1eSLuca Coelho 		iwl_trans->name = dev_info->name;
17362a612a60SLuca Coelho 	}
17377d34a7d7SLuca Coelho 
173862541e26SKalle Valo #if IS_ENABLED(CONFIG_IWLMVM)
173962541e26SKalle Valo 
1740930be4e7SLuca Coelho 	/*
1741930be4e7SLuca Coelho 	 * Workaround for problematic SnJ device: sometimes when
1742930be4e7SLuca Coelho 	 * certain RF modules are connected to SnJ, the device ID
1743930be4e7SLuca Coelho 	 * changes to QnJ's ID.  So we are using QnJ's trans_cfg until
1744930be4e7SLuca Coelho 	 * here.  But if we detect that the MAC type is actually SnJ,
1745930be4e7SLuca Coelho 	 * we should switch to it here to avoid problems later.
1746930be4e7SLuca Coelho 	 */
1747930be4e7SLuca Coelho 	if (CSR_HW_REV_TYPE(iwl_trans->hw_rev) == IWL_CFG_MAC_TYPE_SNJ)
1748930be4e7SLuca Coelho 		iwl_trans->trans_cfg = &iwl_so_trans_cfg;
1749930be4e7SLuca Coelho 
1750e705c121SKalle Valo 	/*
1751e705c121SKalle Valo 	 * special-case 7265D, it has the same PCI IDs.
1752e705c121SKalle Valo 	 *
1753e705c121SKalle Valo 	 * Note that because we already pass the cfg to the transport above,
1754e705c121SKalle Valo 	 * all the parameters that the transport uses must, until that is
1755e705c121SKalle Valo 	 * changed, be identical to the ones in the 7265D configuration.
1756e705c121SKalle Valo 	 */
1757e705c121SKalle Valo 	if (cfg == &iwl7265_2ac_cfg)
1758e705c121SKalle Valo 		cfg_7265d = &iwl7265d_2ac_cfg;
1759e705c121SKalle Valo 	else if (cfg == &iwl7265_2n_cfg)
1760e705c121SKalle Valo 		cfg_7265d = &iwl7265d_2n_cfg;
1761e705c121SKalle Valo 	else if (cfg == &iwl7265_n_cfg)
1762e705c121SKalle Valo 		cfg_7265d = &iwl7265d_n_cfg;
1763e705c121SKalle Valo 	if (cfg_7265d &&
1764809805a8SLuca Coelho 	    (iwl_trans->hw_rev & CSR_HW_REV_TYPE_MSK) == CSR_HW_REV_TYPE_7265D)
1765b3bd6416SLuca Coelho 		iwl_trans->cfg = cfg_7265d;
1766809805a8SLuca Coelho 
1767a7d544d6SLuca Coelho 	/*
1768a7d544d6SLuca Coelho 	 * This is a hack to switch from Qu B0 to Qu C0.  We need to
176968ceba3fSLuca Coelho 	 * do this for all cfgs that use Qu B0, except for those using
177068ceba3fSLuca Coelho 	 * Jf, which have already been moved to the new table.  The
177168ceba3fSLuca Coelho 	 * rest must be removed once we convert Qu with Hr as well.
1772a7d544d6SLuca Coelho 	 */
1773a7d544d6SLuca Coelho 	if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QU_C0) {
17743f910a25SLuca Coelho 		if (iwl_trans->cfg == &iwl_ax201_cfg_qu_hr)
1775b3bd6416SLuca Coelho 			iwl_trans->cfg = &iwl_ax201_cfg_qu_c0_hr_b0;
177632ed101aSLuca Coelho 		else if (iwl_trans->cfg == &killer1650s_2ax_cfg_qu_b0_hr_b0)
1777b3bd6416SLuca Coelho 			iwl_trans->cfg = &killer1650s_2ax_cfg_qu_c0_hr_b0;
177832ed101aSLuca Coelho 		else if (iwl_trans->cfg == &killer1650i_2ax_cfg_qu_b0_hr_b0)
1779b3bd6416SLuca Coelho 			iwl_trans->cfg = &killer1650i_2ax_cfg_qu_c0_hr_b0;
1780a7d544d6SLuca Coelho 	}
17815a8c31aaSLuca Coelho 
17825a8c31aaSLuca Coelho 	/* same thing for QuZ... */
17835a8c31aaSLuca Coelho 	if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QUZ) {
17843f910a25SLuca Coelho 		if (iwl_trans->cfg == &iwl_ax201_cfg_qu_hr)
178532ed101aSLuca Coelho 			iwl_trans->cfg = &iwl_ax201_cfg_quz_hr;
1786f92f26f2SLuca Coelho 		else if (iwl_trans->cfg == &killer1650s_2ax_cfg_qu_b0_hr_b0)
1787f92f26f2SLuca Coelho 			iwl_trans->cfg = &iwl_ax1650s_cfg_quz_hr;
1788f92f26f2SLuca Coelho 		else if (iwl_trans->cfg == &killer1650i_2ax_cfg_qu_b0_hr_b0)
1789f92f26f2SLuca Coelho 			iwl_trans->cfg = &iwl_ax1650i_cfg_quz_hr;
17905a8c31aaSLuca Coelho 	}
17915a8c31aaSLuca Coelho 
1792e705c121SKalle Valo #endif
1793b3bd6416SLuca Coelho 	/*
179448a5494dSJohannes Berg 	 * If we didn't set the cfg yet, the PCI ID table entry should have
179548a5494dSJohannes Berg 	 * been a full config - if yes, use it, otherwise fail.
1796b3bd6416SLuca Coelho 	 */
179748a5494dSJohannes Berg 	if (!iwl_trans->cfg) {
179848a5494dSJohannes Berg 		if (ent->driver_data & TRANS_CFG_MARKER) {
179948a5494dSJohannes Berg 			pr_err("No config found for PCI dev %04x/%04x, rev=0x%x, rfid=0x%x\n",
180048a5494dSJohannes Berg 			       pdev->device, pdev->subsystem_device,
180148a5494dSJohannes Berg 			       iwl_trans->hw_rev, iwl_trans->hw_rf_id);
180248a5494dSJohannes Berg 			ret = -EINVAL;
180348a5494dSJohannes Berg 			goto out_free_trans;
180448a5494dSJohannes Berg 		}
1805809805a8SLuca Coelho 		iwl_trans->cfg = cfg;
180648a5494dSJohannes Berg 	}
1807e705c121SKalle Valo 
18080b295a1eSLuca Coelho 	/* if we don't have a name yet, copy name from the old cfg */
18090b295a1eSLuca Coelho 	if (!iwl_trans->name)
18100b295a1eSLuca Coelho 		iwl_trans->name = iwl_trans->cfg->name;
18110b295a1eSLuca Coelho 
1812b3bd6416SLuca Coelho 	if (iwl_trans->trans_cfg->mq_rx_supported) {
1813b3bd6416SLuca Coelho 		if (WARN_ON(!iwl_trans->cfg->num_rbds)) {
1814c042f0c7SJohannes Berg 			ret = -EINVAL;
1815c042f0c7SJohannes Berg 			goto out_free_trans;
1816c042f0c7SJohannes Berg 		}
1817b3bd6416SLuca Coelho 		trans_pcie->num_rx_bufs = iwl_trans->cfg->num_rbds;
1818c042f0c7SJohannes Berg 	} else {
1819c042f0c7SJohannes Berg 		trans_pcie->num_rx_bufs = RX_QUEUE_SIZE;
1820c042f0c7SJohannes Berg 	}
1821c042f0c7SJohannes Berg 
18223a9690d0SJohannes Berg 	if (!iwl_trans->trans_cfg->integrated) {
18233a9690d0SJohannes Berg 		u16 link_status;
18243a9690d0SJohannes Berg 
18253a9690d0SJohannes Berg 		pcie_capability_read_word(pdev, PCI_EXP_LNKSTA, &link_status);
18263a9690d0SJohannes Berg 
18273a9690d0SJohannes Berg 		iwl_trans->pcie_link_speed =
18283a9690d0SJohannes Berg 			u16_get_bits(link_status, PCI_EXP_LNKSTA_CLS);
18293a9690d0SJohannes Berg 	}
18303a9690d0SJohannes Berg 
1831d12455fdSJohannes Berg 	ret = iwl_trans_init(iwl_trans);
1832d12455fdSJohannes Berg 	if (ret)
1833d12455fdSJohannes Berg 		goto out_free_trans;
1834d12455fdSJohannes Berg 
1835e705c121SKalle Valo 	pci_set_drvdata(pdev, iwl_trans);
18366d19a5ebSEmmanuel Grumbach 
18376d19a5ebSEmmanuel Grumbach 	/* try to get ownership so that we'll know if we don't own it */
18386d19a5ebSEmmanuel Grumbach 	iwl_pcie_prepare_card_hw(iwl_trans);
18396d19a5ebSEmmanuel Grumbach 
184049060383SLuca Coelho 	iwl_trans->drv = iwl_drv_start(iwl_trans);
1841e705c121SKalle Valo 
18426f482e37SSara Sharon 	if (IS_ERR(iwl_trans->drv)) {
18436f482e37SSara Sharon 		ret = PTR_ERR(iwl_trans->drv);
1844e705c121SKalle Valo 		goto out_free_trans;
1845e705c121SKalle Valo 	}
1846e705c121SKalle Valo 
1847e705c121SKalle Valo 	/* register transport layer debugfs here */
1848cf5d5663SGreg Kroah-Hartman 	iwl_trans_pcie_dbgfs_register(iwl_trans);
1849e705c121SKalle Valo 
1850e705c121SKalle Valo 	return 0;
1851e705c121SKalle Valo 
1852e705c121SKalle Valo out_free_trans:
1853e705c121SKalle Valo 	iwl_trans_pcie_free(iwl_trans);
1854e705c121SKalle Valo 	return ret;
1855e705c121SKalle Valo }
1856e705c121SKalle Valo 
1857e705c121SKalle Valo static void iwl_pci_remove(struct pci_dev *pdev)
1858e705c121SKalle Valo {
1859e705c121SKalle Valo 	struct iwl_trans *trans = pci_get_drvdata(pdev);
1860e705c121SKalle Valo 
1861b655b9a9SDaniel Gabay 	if (!trans)
1862b655b9a9SDaniel Gabay 		return;
1863b655b9a9SDaniel Gabay 
18646f482e37SSara Sharon 	iwl_drv_stop(trans->drv);
18654479a899SLuca Coelho 
1866e705c121SKalle Valo 	iwl_trans_pcie_free(trans);
1867e705c121SKalle Valo }
1868e705c121SKalle Valo 
1869e705c121SKalle Valo #ifdef CONFIG_PM_SLEEP
1870e705c121SKalle Valo 
1871e705c121SKalle Valo static int iwl_pci_suspend(struct device *device)
1872e705c121SKalle Valo {
1873e705c121SKalle Valo 	/* Before you put code here, think about WoWLAN. You cannot check here
1874e705c121SKalle Valo 	 * whether WoWLAN is enabled or not, and your code will run even if
1875e705c121SKalle Valo 	 * WoWLAN is enabled - don't kill the NIC, someone may need it in Sx.
1876e705c121SKalle Valo 	 */
1877e705c121SKalle Valo 
1878e705c121SKalle Valo 	return 0;
1879e705c121SKalle Valo }
1880e705c121SKalle Valo 
1881e705c121SKalle Valo static int iwl_pci_resume(struct device *device)
1882e705c121SKalle Valo {
1883e705c121SKalle Valo 	struct pci_dev *pdev = to_pci_dev(device);
1884e705c121SKalle Valo 	struct iwl_trans *trans = pci_get_drvdata(pdev);
1885e705c121SKalle Valo 	struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
1886e705c121SKalle Valo 
1887e705c121SKalle Valo 	/* Before you put code here, think about WoWLAN. You cannot check here
1888e705c121SKalle Valo 	 * whether WoWLAN is enabled or not, and your code will run even if
1889e705c121SKalle Valo 	 * WoWLAN is enabled - the NIC may be alive.
1890e705c121SKalle Valo 	 */
1891e705c121SKalle Valo 
1892e705c121SKalle Valo 	/*
1893e705c121SKalle Valo 	 * We disable the RETRY_TIMEOUT register (0x41) to keep
1894e705c121SKalle Valo 	 * PCI Tx retries from interfering with C3 CPU state.
1895e705c121SKalle Valo 	 */
1896e705c121SKalle Valo 	pci_write_config_byte(pdev, PCI_CFG_RETRY_TIMEOUT, 0x00);
1897e705c121SKalle Valo 
1898e705c121SKalle Valo 	if (!trans->op_mode)
1899e705c121SKalle Valo 		return 0;
1900e705c121SKalle Valo 
1901f98ad635SEmmanuel Grumbach 	/* In WOWLAN, let iwl_trans_pcie_d3_resume do the rest of the work */
1902f98ad635SEmmanuel Grumbach 	if (test_bit(STATUS_DEVICE_ENABLED, &trans->status))
1903f98ad635SEmmanuel Grumbach 		return 0;
1904f98ad635SEmmanuel Grumbach 
190552848a79SJohannes Berg 	/* reconfigure the MSI-X mapping to get the correct IRQ for rfkill */
190652848a79SJohannes Berg 	iwl_pcie_conf_msix_hw(trans_pcie);
190752848a79SJohannes Berg 
1908e705c121SKalle Valo 	/*
1909326477e4SJohannes Berg 	 * Enable rfkill interrupt (in order to keep track of the rfkill
1910326477e4SJohannes Berg 	 * status). Must be locked to avoid processing a possible rfkill
19119ad8fd0bSJohannes Berg 	 * interrupt while in iwl_pcie_check_hw_rf_kill().
1912e705c121SKalle Valo 	 */
191323aeea94SJohannes Berg 	mutex_lock(&trans_pcie->mutex);
1914e705c121SKalle Valo 	iwl_enable_rfkill_int(trans);
19159ad8fd0bSJohannes Berg 	iwl_pcie_check_hw_rf_kill(trans);
1916e705c121SKalle Valo 	mutex_unlock(&trans_pcie->mutex);
1917e705c121SKalle Valo 
1918e705c121SKalle Valo 	return 0;
1919e705c121SKalle Valo }
1920e705c121SKalle Valo 
1921b3ff1270SLuca Coelho static const struct dev_pm_ops iwl_dev_pm_ops = {
1922b3ff1270SLuca Coelho 	SET_SYSTEM_SLEEP_PM_OPS(iwl_pci_suspend,
1923b3ff1270SLuca Coelho 				iwl_pci_resume)
1924b3ff1270SLuca Coelho };
1925e705c121SKalle Valo 
1926e705c121SKalle Valo #define IWL_PM_OPS	(&iwl_dev_pm_ops)
1927e705c121SKalle Valo 
1928b3ff1270SLuca Coelho #else /* CONFIG_PM_SLEEP */
1929e705c121SKalle Valo 
1930e705c121SKalle Valo #define IWL_PM_OPS	NULL
1931e705c121SKalle Valo 
1932b3ff1270SLuca Coelho #endif /* CONFIG_PM_SLEEP */
1933e705c121SKalle Valo 
1934e705c121SKalle Valo static struct pci_driver iwl_pci_driver = {
1935e705c121SKalle Valo 	.name = DRV_NAME,
1936e705c121SKalle Valo 	.id_table = iwl_hw_card_ids,
1937e705c121SKalle Valo 	.probe = iwl_pci_probe,
1938e705c121SKalle Valo 	.remove = iwl_pci_remove,
1939e705c121SKalle Valo 	.driver.pm = IWL_PM_OPS,
1940e705c121SKalle Valo };
1941e705c121SKalle Valo 
1942e705c121SKalle Valo int __must_check iwl_pci_register_driver(void)
1943e705c121SKalle Valo {
1944e705c121SKalle Valo 	int ret;
1945e705c121SKalle Valo 	ret = pci_register_driver(&iwl_pci_driver);
1946e705c121SKalle Valo 	if (ret)
1947e705c121SKalle Valo 		pr_err("Unable to initialize PCI module\n");
1948e705c121SKalle Valo 
1949e705c121SKalle Valo 	return ret;
1950e705c121SKalle Valo }
1951e705c121SKalle Valo 
1952e705c121SKalle Valo void iwl_pci_unregister_driver(void)
1953e705c121SKalle Valo {
1954e705c121SKalle Valo 	pci_unregister_driver(&iwl_pci_driver);
1955e705c121SKalle Valo }
1956