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