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