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