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