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