xref: /wlan-dirver/qca-wifi-host-cmn/hif/src/hif_hw_version.h (revision 4865edfd190c086bbe2c69aae12a8226f877b91e)
1 /*
2  * Copyright (c) 2012-2016 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 
38 struct qwlan_hw {
39 	u32 id;
40 	u32 subid;
41 	const char *name;
42 };
43 
44 #endif /* HIF_HW_VERSION_H */
45