xref: /wlan-driver/qca-wifi-host-cmn/hif/src/hif_hw_version.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2012-2018, 2020-2021 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
4*5113495bSYour Name  *
5*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for
6*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
7*5113495bSYour Name  * above copyright notice and this permission notice appear in all
8*5113495bSYour Name  * copies.
9*5113495bSYour Name  *
10*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
18*5113495bSYour Name  */
19*5113495bSYour Name 
20*5113495bSYour Name #ifndef HIF_HW_VERSION_H
21*5113495bSYour Name #define HIF_HW_VERSION_H
22*5113495bSYour Name 
23*5113495bSYour Name #define AR6004_VERSION_REV1_3           0x31c8088a
24*5113495bSYour Name #define AR9888_REV2_VERSION             0x4100016c
25*5113495bSYour Name #define AR9887_REV1_VERSION             0x4100016d
26*5113495bSYour Name #define AR6320_REV1_VERSION             0x5000000
27*5113495bSYour Name #define AR6320_REV1_1_VERSION           0x5000001
28*5113495bSYour Name #define AR6320_REV1_3_VERSION           0x5000003
29*5113495bSYour Name #define AR6320_REV2_1_VERSION           0x5010000
30*5113495bSYour Name #define AR6320_REV3_VERSION             0x5020000
31*5113495bSYour Name #define AR6320_REV3_2_VERSION           0x5030000
32*5113495bSYour Name #define QCA9379_REV1_VERSION            0x5040000
33*5113495bSYour Name #define AR6320_DEV_VERSION              0x1000000
34*5113495bSYour Name #define QCA9377_REV1_1_VERSION          0x5020001
35*5113495bSYour Name #define QCA6390_V1                      0x50040000
36*5113495bSYour Name #define QCA6490_V1                      0x50060000
37*5113495bSYour Name #define WCN3990_v1                      0x40000000
38*5113495bSYour Name #define WCN3990_v2                      0x40010000
39*5113495bSYour Name #define WCN3990_v2_1                    0x40010002
40*5113495bSYour Name #define WCN3998                         0x40030001
41*5113495bSYour Name #define AR900B_REV_2                    0x1
42*5113495bSYour Name #define MANGO_V1                        0xDEADBEEF	// TODO Define this
43*5113495bSYour Name #define PEACH_V1                        0x40210100
44*5113495bSYour Name #define KIWI_V1                         0x40170100
45*5113495bSYour Name #define KIWI_V2                         0x40170200
46*5113495bSYour Name #define QCA6490_v2_1                    0x400c1211
47*5113495bSYour Name #define QCA6490_v2                      0x400c0200
48*5113495bSYour Name #define WCN6750_V1                      0x40140110
49*5113495bSYour Name #define WCN6750_V2                      0x40140120
50*5113495bSYour Name #define WCN6450_V1			0x40200100
51*5113495bSYour Name #define WCN3990_TALOS                   0x40670000
52*5113495bSYour Name #define WCN3990_MOOREA                  0x40090000
53*5113495bSYour Name #define WCN3990_SAIPAN                  0x400B0000
54*5113495bSYour Name #define WCN3990_RENNELL                 0x400C0000
55*5113495bSYour Name #define WCN3990_BITRA                   0x400D0000
56*5113495bSYour Name #define WCN3990_DIVAR                   0x40690000
57*5113495bSYour Name #define WCN3990_ATHERTON                0x40680000
58*5113495bSYour Name #define WCN3990_STRAIT                  0x400E0000
59*5113495bSYour Name #define WCN3990_NETRANI                 0x400F0000
60*5113495bSYour Name #define WCN3990_CLARENCE                0x406A0000
61*5113495bSYour Name 
62*5113495bSYour Name struct qwlan_hw {
63*5113495bSYour Name 	u32 id;
64*5113495bSYour Name 	u32 subid;
65*5113495bSYour Name 	const char *name;
66*5113495bSYour Name };
67*5113495bSYour Name 
68*5113495bSYour Name #endif /* HIF_HW_VERSION_H */
69