net: wireless: rockchip_wlan: add rtl8723ds support
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rockchip_wlan / rtl8723ds / include / hal_ic_cfg.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU General Public License along with
15  * this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17  *
18  *
19  ******************************************************************************/
20 #ifndef __HAL_IC_CFG_H__
21 #define __HAL_IC_CFG_H__
22
23 #define RTL8188E_SUPPORT                                0
24 #define RTL8812A_SUPPORT                                0
25 #define RTL8821A_SUPPORT                                0
26 #define RTL8723B_SUPPORT                                0
27 #define RTL8723D_SUPPORT                                0
28 #define RTL8192E_SUPPORT                                0
29 #define RTL8814A_SUPPORT                                0
30 #define RTL8195A_SUPPORT                                0
31 #define RTL8197F_SUPPORT                                0
32 #define RTL8703B_SUPPORT                                0
33 #define RTL8188F_SUPPORT                                0
34 #define RTL8822B_SUPPORT                                0
35 #define RTL8821B_SUPPORT                                0
36 #define RTL8821C_SUPPORT                                0
37
38 /*#if (RTL8188E_SUPPORT==1)*/
39 #define RATE_ADAPTIVE_SUPPORT                   0
40 #define POWER_TRAINING_ACTIVE                   0
41
42 #ifdef CONFIG_MULTIDRV
43 #endif
44
45 #ifdef CONFIG_RTL8188E
46         #undef RTL8188E_SUPPORT
47         #undef RATE_ADAPTIVE_SUPPORT
48         #undef POWER_TRAINING_ACTIVE
49
50         #define RTL8188E_SUPPORT                                1
51         #define RATE_ADAPTIVE_SUPPORT                   1
52         #define POWER_TRAINING_ACTIVE                   1
53         #define CONFIG_GET_RAID_BY_DRV
54 #endif
55
56 #ifdef CONFIG_RTL8812A
57         #undef RTL8812A_SUPPORT
58         #define RTL8812A_SUPPORT                                1
59         #ifndef CONFIG_FW_C2H_PKT
60                 #define CONFIG_FW_C2H_PKT
61         #endif
62 #endif
63
64 #ifdef CONFIG_RTL8821A
65         #undef RTL8821A_SUPPORT
66         #define RTL8821A_SUPPORT                                1
67         #ifndef CONFIG_FW_C2H_PKT
68                 #define CONFIG_FW_C2H_PKT
69         #endif
70 #endif
71
72 #ifdef CONFIG_RTL8192E
73         #undef RTL8192E_SUPPORT
74         #define RTL8192E_SUPPORT                                1
75         #ifndef CONFIG_FW_C2H_PKT
76                 #define CONFIG_FW_C2H_PKT
77         #endif
78 #endif
79
80 #ifdef CONFIG_RTL8723B
81         #undef RTL8723B_SUPPORT
82         #define RTL8723B_SUPPORT                                1
83         #ifndef CONFIG_FW_C2H_PKT
84                 #define CONFIG_FW_C2H_PKT
85         #endif
86 #endif
87
88 #ifdef CONFIG_RTL8723D
89         #undef RTL8723D_SUPPORT
90         #define RTL8723D_SUPPORT                                1
91         #ifndef CONFIG_FW_C2H_PKT
92                 #define CONFIG_FW_C2H_PKT
93         #endif
94         #ifndef CONFIG_RTW_MAC_HIDDEN_RPT
95                 #define CONFIG_RTW_MAC_HIDDEN_RPT
96         #endif
97         #ifndef CONFIG_RTW_CUSTOMER_STR
98                 #define CONFIG_RTW_CUSTOMER_STR
99         #endif
100 #endif
101
102 #ifdef CONFIG_RTL8814A
103         #undef RTL8814A_SUPPORT
104         #define RTL8814A_SUPPORT                                1
105         #ifndef CONFIG_FW_C2H_PKT
106                 #define CONFIG_FW_C2H_PKT
107         #endif
108 #endif
109
110 #ifdef CONFIG_RTL8703B
111         #undef RTL8703B_SUPPORT
112         #define RTL8703B_SUPPORT                                1
113         #ifndef CONFIG_FW_C2H_PKT
114                 #define CONFIG_FW_C2H_PKT
115         #endif
116         #ifndef CONFIG_RTW_MAC_HIDDEN_RPT
117                 #define CONFIG_RTW_MAC_HIDDEN_RPT
118         #endif
119 #endif
120
121 #ifdef CONFIG_RTL8188F
122         #undef RTL8188F_SUPPORT
123         #define RTL8188F_SUPPORT                                1
124         #ifndef CONFIG_FW_C2H_PKT
125                 #define CONFIG_FW_C2H_PKT
126         #endif
127         #ifndef CONFIG_RTW_MAC_HIDDEN_RPT
128                 #define CONFIG_RTW_MAC_HIDDEN_RPT
129         #endif
130 #endif
131
132 #ifdef CONFIG_RTL8822B
133         #undef RTL8822B_SUPPORT
134         #define RTL8822B_SUPPORT                                1
135         #ifndef CONFIG_FW_C2H_PKT
136                 #define CONFIG_FW_C2H_PKT
137         #endif
138 #endif
139
140 #ifdef CONFIG_RTL8821C
141         #undef RTL8821C_SUPPORT
142         #define RTL8821C_SUPPORT                                1
143         #ifndef CONFIG_FW_C2H_PKT
144                 #define CONFIG_FW_C2H_PKT
145         #endif
146         #ifndef CONFIG_RTW_MAC_HIDDEN_RPT
147                 #define CONFIG_RTW_MAC_HIDDEN_RPT
148         #endif
149         #define LOAD_FW_HEADER_FROM_DRIVER
150         #define CONFIG_PHY_CAPABILITY_QUERY
151         #ifdef CONFIG_CONCURRENT_MODE
152         #define CONFIG_SUPPORT_FW_MULTI_PORT
153         #endif
154 #endif
155
156 #endif /*__HAL_IC_CFG_H__*/