xref: /wlan-dirver/qca-wifi-host-cmn/hif/src/hif_hw_version.h (revision 1f55ed1a9f5050d8da228aa8dd3fff7c0242aa71)
1 /*
2  * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for
5  * any purpose with or without fee is hereby granted, provided that the
6  * above copyright notice and this permission notice appear in all
7  * copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16  * PERFORMANCE OF THIS SOFTWARE.
17  */
18 
19 #ifndef HIF_HW_VERSION_H
20 #define HIF_HW_VERSION_H
21 
22 #define AR6004_VERSION_REV1_3           0x31c8088a
23 #define AR9888_REV2_VERSION             0x4100016c
24 #define AR9887_REV1_VERSION             0x4100016d
25 #define AR6320_REV1_VERSION             0x5000000
26 #define AR6320_REV1_1_VERSION           0x5000001
27 #define AR6320_REV1_3_VERSION           0x5000003
28 #define AR6320_REV2_1_VERSION           0x5010000
29 #define AR6320_REV3_VERSION             0x5020000
30 #define AR6320_REV3_2_VERSION           0x5030000
31 #define QCA9379_REV1_VERSION            0x5040000
32 #define AR6320_DEV_VERSION              0x1000000
33 #define QCA9377_REV1_1_VERSION          0x5020001
34 #define WCN3990_v1                      0x40000000
35 #define WCN3990_v2                      0x40010000
36 #define WCN3990_v2_1                    0x40010002
37 #define WCN3998                         0x40030001
38 #define AR900B_REV_2                    0x1
39 
40 struct qwlan_hw {
41 	u32 id;
42 	u32 subid;
43 	const char *name;
44 };
45 
46 #endif /* HIF_HW_VERSION_H */
47