xref: /freebsd/sys/dev/iwn/if_iwn_devid.h (revision 809a8352dd5bb83dca991ff6c82e509208afad26)
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 #define	IWN_SDID_6035_5		0x5260
174 /*
175  * --------------------------------------------------------------------------
176  * Device ID for 1030 and 6030 Series
177  * --------------------------------------------------------------------------
178  */
179 #define	IWN_DID_x030_1		0x008A
180 #define	IWN_DID_x030_2		0x008B
181 #define	IWN_DID_x030_3		0x0090
182 #define	IWN_DID_x030_4		0x0091
183 /* SubDevice ID */
184 #define	IWN_SDID_x030_1		0x5305
185 #define	IWN_SDID_x030_2		0x5307
186 #define	IWN_SDID_x030_3		0x5325
187 #define	IWN_SDID_x030_4		0x5327
188 #define	IWN_SDID_x030_5		0x5315
189 #define	IWN_SDID_x030_6		0x5317
190 #define	IWN_SDID_x030_7		0x5211
191 #define	IWN_SDID_x030_8		0x5215
192 #define	IWN_SDID_x030_9		0x5216
193 #define	IWN_SDID_x030_10	0x5201
194 #define	IWN_SDID_x030_11	0x5205
195 #define	IWN_SDID_x030_12	0x5206
196 #define	IWN_SDID_x030_13	0x5207
197 #define	IWN_SDID_x030_14	0x5221
198 #define	IWN_SDID_x030_15	0x5225
199 #define	IWN_SDID_x030_16	0x5226
200 /*
201  * --------------------------------------------------------------------------
202  * Device ID for 130 Series
203  * --------------------------------------------------------------------------
204  */
205 #define	IWN_DID_130_1		0x0896
206 #define	IWN_DID_130_2		0x0897
207 /* SubDevice ID */
208 #define	IWN_SDID_130_1		0x5005
209 #define	IWN_SDID_130_2		0x5007
210 #define	IWN_SDID_130_3		0x5015
211 #define	IWN_SDID_130_4		0x5017
212 #define	IWN_SDID_130_5		0x5025
213 #define	IWN_SDID_130_6		0x5027
214 
215 /*
216  * --------------------------------------------------------------------------
217  * Device ID for 100 Series
218  * --------------------------------------------------------------------------
219  */
220 #define	IWN_DID_100_1		0x08AE
221 #define	IWN_DID_100_2		0x08AF
222 /* SubDevice ID */
223 #define	IWN_SDID_100_1		0x1005
224 #define	IWN_SDID_100_2		0x1007
225 #define	IWN_SDID_100_3		0x1015
226 #define	IWN_SDID_100_4		0x1017
227 #define	IWN_SDID_100_5		0x1025
228 #define	IWN_SDID_100_6		0x1027
229 
230 /*
231  * --------------------------------------------------------------------------
232  * Device ID for 105 Series
233  * --------------------------------------------------------------------------
234  */
235 #define	IWN_DID_105_1		0x0894
236 #define	IWN_DID_105_2		0x0895
237 /* SubDevice ID */
238 #define	IWN_SDID_105_1		0x0022
239 #define	IWN_SDID_105_2		0x0222
240 #define	IWN_SDID_105_3		0x0422
241 #define	IWN_SDID_105_4		0x0822
242 
243 /*
244  * --------------------------------------------------------------------------
245  * Device ID for 135 Series
246  * --------------------------------------------------------------------------
247  */
248 #define	IWN_DID_135_1		0x0892
249 #define	IWN_DID_135_2		0x0893
250 /* SubDevice ID */
251 #define	IWN_SDID_135_1		0x0062
252 #define	IWN_SDID_135_2		0x0262
253 #define	IWN_SDID_135_3		0x0462
254 
255 /*
256  * --------------------------------------------------------------------------
257  * Device ID for 5x00 Series
258  * --------------------------------------------------------------------------
259  */
260 #define	IWN_DID_5x00_1		0x4232
261 #define	IWN_DID_5x00_2		0x4237
262 #define	IWN_DID_5x00_3		0x4235
263 #define	IWN_DID_5x00_4		0x4236
264 /* SubDevice ID */
265 #define	IWN_SDID_5x00_1		0x1201
266 #define	IWN_SDID_5x00_2		0x1301
267 #define	IWN_SDID_5x00_3		0x1204
268 #define	IWN_SDID_5x00_4		0x1304
269 #define	IWN_SDID_5x00_5		0x1205
270 #define	IWN_SDID_5x00_6		0x1305
271 #define	IWN_SDID_5x00_7		0x1206
272 #define	IWN_SDID_5x00_8		0x1306
273 #define	IWN_SDID_5x00_9		0x1221
274 #define	IWN_SDID_5x00_10		0x1321
275 #define	IWN_SDID_5x00_11		0x1224
276 #define	IWN_SDID_5x00_12		0x1324
277 #define	IWN_SDID_5x00_13		0x1225
278 #define	IWN_SDID_5x00_14		0x1325
279 #define	IWN_SDID_5x00_15		0x1226
280 #define	IWN_SDID_5x00_16		0x1326
281 #define	IWN_SDID_5x00_17		0x1211
282 #define	IWN_SDID_5x00_18		0x1311
283 #define	IWN_SDID_5x00_19		0x1214
284 #define	IWN_SDID_5x00_20		0x1314
285 #define	IWN_SDID_5x00_21		0x1215
286 #define	IWN_SDID_5x00_22		0x1315
287 #define	IWN_SDID_5x00_23		0x1216
288 #define	IWN_SDID_5x00_24		0x1316
289 #define	IWN_SDID_5x00_25		0x1021
290 #define	IWN_SDID_5x00_26		0x1121
291 #define	IWN_SDID_5x00_27		0x1024
292 #define	IWN_SDID_5x00_28		0x1124
293 #define	IWN_SDID_5x00_29		0x1001
294 #define	IWN_SDID_5x00_30		0x1101
295 #define	IWN_SDID_5x00_31		0x1004
296 #define	IWN_SDID_5x00_32		0x1104
297 #define	IWN_SDID_5x00_33		0x1011
298 #define	IWN_SDID_5x00_34		0x1111
299 #define	IWN_SDID_5x00_35		0x1014
300 #define	IWN_SDID_5x00_36		0x1114
301 /*
302  * --------------------------------------------------------------------------
303  * Device ID for 5x50 Series
304  * --------------------------------------------------------------------------
305  */
306 #define	IWN_DID_5x50_1		0x423A
307 #define	IWN_DID_5x50_2		0x423B
308 #define	IWN_DID_5x50_3		0x423C
309 #define	IWN_DID_5x50_4		0x423D
310 /* SubDevice ID */
311 #define	IWN_SDID_5x50_1		0x1001
312 #define	IWN_SDID_5x50_2		0x1021
313 #define	IWN_SDID_5x50_3		0x1011
314 #define	IWN_SDID_5x50_4		0x1201
315 #define	IWN_SDID_5x50_5		0x1301
316 #define	IWN_SDID_5x50_6		0x1206
317 #define	IWN_SDID_5x50_7		0x1306
318 #define	IWN_SDID_5x50_8		0x1221
319 #define	IWN_SDID_5x50_9		0x1321
320 #define	IWN_SDID_5x50_10		0x1211
321 #define	IWN_SDID_5x50_11		0x1311
322 #define	IWN_SDID_5x50_12		0x1216
323 #define	IWN_SDID_5x50_13		0x1316
324 /*
325  * --------------------------------------------------------------------------
326  * Device ID for 4965 Series
327  * --------------------------------------------------------------------------
328  */
329 #define	IWN_DID_4965_1		0x4229
330 #define	IWN_DID_4965_2		0x422d
331 #define	IWN_DID_4965_3		0x4230
332 #define	IWN_DID_4965_4		0x4233
333 
334 #endif	/* ! __IF_IWN_DEVID_H__ */
335