xref: /wlan-dirver/qca-wifi-host-cmn/hif/inc/target_type.h (revision d6afad86bc009b876d2fed6077b76d65d5606d50)
1 /*
2  * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved.
3  * Copyright (c) 2021-2023 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 _TARGET_TYPE_H_
21 #define _TARGET_TYPE_H_
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif /* __cplusplus */
26 
27 /* Header files */
28 #include "bmi_msg.h"
29 
30 /* TARGET definition needs to be abstracted in fw common
31  * header files, below is the placeholder till WIN codebase
32  * moved to latest copy of fw common header files.
33  */
34 /* For Adrastea target */
35 #define TARGET_TYPE_ADRASTEA  19
36 #ifndef TARGET_TYPE_QCA8074
37 #define TARGET_TYPE_QCA8074   20
38 #endif
39 #ifndef TARGET_TYPE_QCA6290
40 #define TARGET_TYPE_QCA6290   21
41 #endif
42 #ifndef TARGET_TYPE_QCN7605
43 #define TARGET_TYPE_QCN7605   22
44 #endif
45 #ifndef TARGET_TYPE_QCA6390
46 #define TARGET_TYPE_QCA6390   23
47 #endif
48 #ifndef TARGET_TYPE_QCA8074V2
49 #define TARGET_TYPE_QCA8074V2 24
50 #endif
51 /* For Cypress */
52 #ifndef TARGET_TYPE_QCA6018
53 #define TARGET_TYPE_QCA6018      25
54 #endif
55 #ifndef TARGET_TYPE_QCN9000
56 #define TARGET_TYPE_QCN9000      26
57 #endif
58 /* HastingsPrime */
59 #ifndef TARGET_TYPE_QCA6490
60 #define TARGET_TYPE_QCA6490   27
61 #endif
62 /* Moselle */
63 #ifndef TARGET_TYPE_QCA6750
64 #define TARGET_TYPE_QCA6750 28
65 #endif
66 #ifndef TARGET_TYPE_QCA5018
67 #define TARGET_TYPE_QCA5018   29
68 #endif
69 
70 #ifndef TARGET_TYPE_QCN6122
71 #define TARGET_TYPE_QCN6122   30
72 #endif
73 
74 /* Hamilton */
75 #ifndef TARGET_TYPE_KIWI
76 #define TARGET_TYPE_KIWI 31
77 #endif
78 
79 #ifndef TARGET_TYPE_QCN9224
80 #define TARGET_TYPE_QCN9224      32
81 #endif
82 
83 /* Alder */
84 #ifndef TARGET_TYPE_QCA9574
85 #define TARGET_TYPE_QCA9574      33
86 #endif
87 
88 /* Yamuna */
89 #ifndef TARGET_TYPE_MANGO
90 #define TARGET_TYPE_MANGO 34
91 #endif
92 
93 /* Miami */
94 #ifndef TARGET_TYPE_QCA5332
95 #define TARGET_TYPE_QCA5332   35
96 #endif
97 
98 /* York */
99 #ifndef TARGET_TYPE_QCN9160
100 #define TARGET_TYPE_QCN9160    36
101 #endif
102 
103 #ifndef TARGET_TYPE_PEACH
104 #define TARGET_TYPE_PEACH    37
105 #endif
106 
107 #ifdef __cplusplus
108 }
109 #endif
110 
111 #endif /* _TARGET_TYPE_H_ */
112