xref: /freebsd/sys/dev/iwn/if_iwn_devid.h (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1 /*-
2  * Copyright (c) 2013 Cedric GROSS <cg@cgross.info>
3  *
4  * Permission to use, copy, modify, and distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  *
8  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15  */
16 
17 #ifndef	__IF_IWN_DEVID_H__
18 #define	__IF_IWN_DEVID_H__
19 
20 #define	IWN_HW_REV_TYPE_SHIFT	4
21 #define	IWN_HW_REV_TYPE_MASK	0x1f
22 
23 /* Device revision */
24 #define	IWN_HW_REV_TYPE_4965	0
25 #define	IWN_HW_REV_TYPE_5300	2
26 #define	IWN_HW_REV_TYPE_5350	3
27 #define	IWN_HW_REV_TYPE_5150	4
28 #define	IWN_HW_REV_TYPE_5100	5
29 #define	IWN_HW_REV_TYPE_1000	6
30 #define	IWN_HW_REV_TYPE_6000	7
31 #define	IWN_HW_REV_TYPE_6050	8
32 #define	IWN_HW_REV_TYPE_6005	11
33 #define	IWN_HW_REV_TYPE_2030	12
34 #define	IWN_HW_REV_TYPE_2000	16
35 #define	IWN_HW_REV_TYPE_105	17
36 #define	IWN_HW_REV_TYPE_135	18
37 
38  /* ==========================================================================
39  * DEVICE ID BLOCK
40  * ==========================================================================
41 */
42 
43 /*
44  * --------------------------------------------------------------------------
45  * Device ID for 2x00 series
46  * --------------------------------------------------------------------------
47  */
48 #define	IWN_DID_2x00_1		0x0890
49 #define	IWN_DID_2x00_2		0x0891
50 /* SubDevice ID */
51 #define	IWN_SDID_2x00_1		0x4022
52 #define	IWN_SDID_2x00_2		0x4222
53 #define	IWN_SDID_2x00_3		0x4422
54 #define	IWN_SDID_2x00_4		0x4822
55 
56 /*
57  * --------------------------------------------------------------------------
58  * Device ID for 2x30 series
59  * --------------------------------------------------------------------------
60  */
61 #define	IWN_DID_2x30_1		0x0887
62 #define	IWN_DID_2x30_2		0x0888
63 /* SubDevice ID */
64 #define	IWN_SDID_2x30_1		0x4062
65 #define	IWN_SDID_2x30_2		0x4262
66 #define	IWN_SDID_2x30_3		0x4462
67 #define	IWN_SDID_2x30_4		0x4066
68 #define	IWN_SDID_2x30_5		0x4266
69 #define	IWN_SDID_2x30_6		0x4466
70 /*
71  * --------------------------------------------------------------------------
72  * Device ID for 1000 series
73  * --------------------------------------------------------------------------
74  */
75 #define	IWN_DID_1000_1		0x0083
76 #define	IWN_DID_1000_2		0x0084
77 /* SubDevice ID */
78 #define	IWN_SDID_1000_1		0x1205
79 #define	IWN_SDID_1000_2		0x1305
80 #define	IWN_SDID_1000_3		0x1225
81 #define	IWN_SDID_1000_4		0x1325
82 #define	IWN_SDID_1000_5		0x1215
83 #define	IWN_SDID_1000_6		0x1315
84 #define	IWN_SDID_1000_7		0x1206
85 #define	IWN_SDID_1000_8		0x1306
86 #define	IWN_SDID_1000_9		0x1226
87 #define	IWN_SDID_1000_10	0x1326
88 #define	IWN_SDID_1000_11	0x1216
89 #define	IWN_SDID_1000_12	0x1316
90 
91 /*
92  * --------------------------------------------------------------------------
93  * Device ID for 6x00 series
94  * --------------------------------------------------------------------------
95  */
96 #define	IWN_DID_6x00_1		0x422B
97 #define	IWN_DID_6x00_2		0x422C
98 #define	IWN_DID_6x00_3		0x4238
99 #define	IWN_DID_6x00_4		0x4239
100 /* SubDevice ID */
101 #define	IWN_SDID_6x00_1		0x1101
102 #define	IWN_SDID_6x00_2		0x1121
103 #define	IWN_SDID_6x00_3		0x1301
104 #define	IWN_SDID_6x00_4		0x1306
105 #define	IWN_SDID_6x00_5		0x1307
106 #define	IWN_SDID_6x00_6		0x1321
107 #define	IWN_SDID_6x00_7		0x1326
108 #define	IWN_SDID_6x00_8		0x1111
109 #define	IWN_SDID_6x00_9		0x1311
110 #define	IWN_SDID_6x00_10	0x1316
111 /*
112  * --------------------------------------------------------------------------
113  * Device ID for 6x05 series
114  * --------------------------------------------------------------------------
115  */
116 #define	IWN_DID_6x05_1		0x0082
117 #define	IWN_DID_6x05_2		0x0085
118 /* SubDevice ID */
119 #define	IWN_SDID_6x05_1		0x1301
120 #define	IWN_SDID_6x05_2		0x1306
121 #define	IWN_SDID_6x05_3		0x1307
122 #define	IWN_SDID_6x05_4		0x1321
123 #define	IWN_SDID_6x05_5		0x1326
124 #define	IWN_SDID_6x05_6		0x1311
125 #define	IWN_SDID_6x05_7		0x1316
126 #define	IWN_SDID_6x05_8		0xC020
127 #define	IWN_SDID_6x05_9		0xC220
128 #define	IWN_SDID_6x05_10	0x4820
129 #define	IWN_SDID_6x05_11	0x1304
130 #define	IWN_SDID_6x05_12	0x1305
131 /*
132  * --------------------------------------------------------------------------
133  * Device ID for 6050 WiFi/WiMax Series
134  * --------------------------------------------------------------------------
135  */
136 #define	IWN_DID_6050_1		0x0087
137 #define	IWN_DID_6050_2		0x0089
138 /* SubDevice ID */
139 #define	IWN_SDID_6050_1		0x1301
140 #define	IWN_SDID_6050_2		0x1306
141 #define	IWN_SDID_6050_3		0x1321
142 #define	IWN_SDID_6050_4		0x1326
143 #define	IWN_SDID_6050_5		0x1311
144 #define	IWN_SDID_6050_6		0x1316
145 /*
146  * --------------------------------------------------------------------------
147  * Device ID for 6150 Series
148  * --------------------------------------------------------------------------
149  */
150 #define	IWN_DID_6150_1		0x0885
151 #define	IWN_DID_6150_2		0x0886
152 /* SubDevice ID */
153 #define	IWN_SDID_6150_1		0x1305
154 #define	IWN_SDID_6150_2		0x1307
155 #define	IWN_SDID_6150_3		0x1325
156 #define	IWN_SDID_6150_4		0x1327
157 #define	IWN_SDID_6150_5		0x1315
158 #define	IWN_SDID_6150_6		0x1317
159 /*
160  * --------------------------------------------------------------------------
161  * Device ID for 6035 Series
162  * --------------------------------------------------------------------------
163  */
164 #define	IWN_DID_6035_1		0x088E
165 #define	IWN_DID_6035_2		0x088F
166 /* SubDevice ID */
167 #define	IWN_SDID_6035_1		0x4060
168 #define	IWN_SDID_6035_2		0x4260
169 #define	IWN_SDID_6035_3		0x4460
170 #define	IWN_SDID_6035_4		0x4860
171 #define	IWN_SDID_6035_5		0x5260
172 /*
173  * --------------------------------------------------------------------------
174  * Device ID for 1030 and 6030 Series
175  * --------------------------------------------------------------------------
176  */
177 #define	IWN_DID_x030_1		0x008A
178 #define	IWN_DID_x030_2		0x008B
179 #define	IWN_DID_x030_3		0x0090
180 #define	IWN_DID_x030_4		0x0091
181 /* SubDevice ID */
182 #define	IWN_SDID_x030_1		0x5305
183 #define	IWN_SDID_x030_2		0x5307
184 #define	IWN_SDID_x030_3		0x5325
185 #define	IWN_SDID_x030_4		0x5327
186 #define	IWN_SDID_x030_5		0x5315
187 #define	IWN_SDID_x030_6		0x5317
188 #define	IWN_SDID_x030_7		0x5211
189 #define	IWN_SDID_x030_8		0x5215
190 #define	IWN_SDID_x030_9		0x5216
191 #define	IWN_SDID_x030_10	0x5201
192 #define	IWN_SDID_x030_11	0x5205
193 #define	IWN_SDID_x030_12	0x5206
194 #define	IWN_SDID_x030_13	0x5207
195 #define	IWN_SDID_x030_14	0x5221
196 #define	IWN_SDID_x030_15	0x5225
197 #define	IWN_SDID_x030_16	0x5226
198 /*
199  * --------------------------------------------------------------------------
200  * Device ID for 130 Series
201  * --------------------------------------------------------------------------
202  */
203 #define	IWN_DID_130_1		0x0896
204 #define	IWN_DID_130_2		0x0897
205 /* SubDevice ID */
206 #define	IWN_SDID_130_1		0x5005
207 #define	IWN_SDID_130_2		0x5007
208 #define	IWN_SDID_130_3		0x5015
209 #define	IWN_SDID_130_4		0x5017
210 #define	IWN_SDID_130_5		0x5025
211 #define	IWN_SDID_130_6		0x5027
212 
213 /*
214  * --------------------------------------------------------------------------
215  * Device ID for 100 Series
216  * --------------------------------------------------------------------------
217  */
218 #define	IWN_DID_100_1		0x08AE
219 #define	IWN_DID_100_2		0x08AF
220 /* SubDevice ID */
221 #define	IWN_SDID_100_1		0x1005
222 #define	IWN_SDID_100_2		0x1007
223 #define	IWN_SDID_100_3		0x1015
224 #define	IWN_SDID_100_4		0x1017
225 #define	IWN_SDID_100_5		0x1025
226 #define	IWN_SDID_100_6		0x1027
227 
228 /*
229  * --------------------------------------------------------------------------
230  * Device ID for 105 Series
231  * --------------------------------------------------------------------------
232  */
233 #define	IWN_DID_105_1		0x0894
234 #define	IWN_DID_105_2		0x0895
235 /* SubDevice ID */
236 #define	IWN_SDID_105_1		0x0022
237 #define	IWN_SDID_105_2		0x0222
238 #define	IWN_SDID_105_3		0x0422
239 #define	IWN_SDID_105_4		0x0822
240 
241 /*
242  * --------------------------------------------------------------------------
243  * Device ID for 135 Series
244  * --------------------------------------------------------------------------
245  */
246 #define	IWN_DID_135_1		0x0892
247 #define	IWN_DID_135_2		0x0893
248 /* SubDevice ID */
249 #define	IWN_SDID_135_1		0x0062
250 #define	IWN_SDID_135_2		0x0262
251 #define	IWN_SDID_135_3		0x0462
252 
253 /*
254  * --------------------------------------------------------------------------
255  * Device ID for 5x00 Series
256  * --------------------------------------------------------------------------
257  */
258 #define	IWN_DID_5x00_1		0x4232
259 #define	IWN_DID_5x00_2		0x4237
260 #define	IWN_DID_5x00_3		0x4235
261 #define	IWN_DID_5x00_4		0x4236
262 /* SubDevice ID */
263 #define	IWN_SDID_5x00_1		0x1201
264 #define	IWN_SDID_5x00_2		0x1301
265 #define	IWN_SDID_5x00_3		0x1204
266 #define	IWN_SDID_5x00_4		0x1304
267 #define	IWN_SDID_5x00_5		0x1205
268 #define	IWN_SDID_5x00_6		0x1305
269 #define	IWN_SDID_5x00_7		0x1206
270 #define	IWN_SDID_5x00_8		0x1306
271 #define	IWN_SDID_5x00_9		0x1221
272 #define	IWN_SDID_5x00_10		0x1321
273 #define	IWN_SDID_5x00_11		0x1224
274 #define	IWN_SDID_5x00_12		0x1324
275 #define	IWN_SDID_5x00_13		0x1225
276 #define	IWN_SDID_5x00_14		0x1325
277 #define	IWN_SDID_5x00_15		0x1226
278 #define	IWN_SDID_5x00_16		0x1326
279 #define	IWN_SDID_5x00_17		0x1211
280 #define	IWN_SDID_5x00_18		0x1311
281 #define	IWN_SDID_5x00_19		0x1214
282 #define	IWN_SDID_5x00_20		0x1314
283 #define	IWN_SDID_5x00_21		0x1215
284 #define	IWN_SDID_5x00_22		0x1315
285 #define	IWN_SDID_5x00_23		0x1216
286 #define	IWN_SDID_5x00_24		0x1316
287 #define	IWN_SDID_5x00_25		0x1021
288 #define	IWN_SDID_5x00_26		0x1121
289 #define	IWN_SDID_5x00_27		0x1024
290 #define	IWN_SDID_5x00_28		0x1124
291 #define	IWN_SDID_5x00_29		0x1001
292 #define	IWN_SDID_5x00_30		0x1101
293 #define	IWN_SDID_5x00_31		0x1004
294 #define	IWN_SDID_5x00_32		0x1104
295 #define	IWN_SDID_5x00_33		0x1011
296 #define	IWN_SDID_5x00_34		0x1111
297 #define	IWN_SDID_5x00_35		0x1014
298 #define	IWN_SDID_5x00_36		0x1114
299 /*
300  * --------------------------------------------------------------------------
301  * Device ID for 5x50 Series
302  * --------------------------------------------------------------------------
303  */
304 #define	IWN_DID_5x50_1		0x423A
305 #define	IWN_DID_5x50_2		0x423B
306 #define	IWN_DID_5x50_3		0x423C
307 #define	IWN_DID_5x50_4		0x423D
308 /* SubDevice ID */
309 #define	IWN_SDID_5x50_1		0x1001
310 #define	IWN_SDID_5x50_2		0x1021
311 #define	IWN_SDID_5x50_3		0x1011
312 #define	IWN_SDID_5x50_4		0x1201
313 #define	IWN_SDID_5x50_5		0x1301
314 #define	IWN_SDID_5x50_6		0x1206
315 #define	IWN_SDID_5x50_7		0x1306
316 #define	IWN_SDID_5x50_8		0x1221
317 #define	IWN_SDID_5x50_9		0x1321
318 #define	IWN_SDID_5x50_10		0x1211
319 #define	IWN_SDID_5x50_11		0x1311
320 #define	IWN_SDID_5x50_12		0x1216
321 #define	IWN_SDID_5x50_13		0x1316
322 /*
323  * --------------------------------------------------------------------------
324  * Device ID for 4965 Series
325  * --------------------------------------------------------------------------
326  */
327 #define	IWN_DID_4965_1		0x4229
328 #define	IWN_DID_4965_2		0x422d
329 #define	IWN_DID_4965_3		0x4230
330 #define	IWN_DID_4965_4		0x4233
331 
332 #endif	/* ! __IF_IWN_DEVID_H__ */
333