1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
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.
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
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
19 ******************************************************************************/
20 #ifndef __HAL_IC_CFG_H__
21 #define __HAL_IC_CFG_H__
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
38 /*#if (RTL8188E_SUPPORT==1)*/
39 #define RATE_ADAPTIVE_SUPPORT 0
40 #define POWER_TRAINING_ACTIVE 0
42 #ifdef CONFIG_MULTIDRV
45 #ifdef CONFIG_RTL8188E
46 #undef RTL8188E_SUPPORT
47 #undef RATE_ADAPTIVE_SUPPORT
48 #undef POWER_TRAINING_ACTIVE
50 #define RTL8188E_SUPPORT 1
51 #define RATE_ADAPTIVE_SUPPORT 1
52 #define POWER_TRAINING_ACTIVE 1
53 #define CONFIG_GET_RAID_BY_DRV
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
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
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
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
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
94 #ifndef CONFIG_RTW_MAC_HIDDEN_RPT
95 #define CONFIG_RTW_MAC_HIDDEN_RPT
97 #ifndef CONFIG_RTW_CUSTOMER_STR
98 #define CONFIG_RTW_CUSTOMER_STR
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
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
116 #ifndef CONFIG_RTW_MAC_HIDDEN_RPT
117 #define CONFIG_RTW_MAC_HIDDEN_RPT
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
127 #ifndef CONFIG_RTW_MAC_HIDDEN_RPT
128 #define CONFIG_RTW_MAC_HIDDEN_RPT
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
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
146 #ifndef CONFIG_RTW_MAC_HIDDEN_RPT
147 #define CONFIG_RTW_MAC_HIDDEN_RPT
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
156 #endif /*__HAL_IC_CFG_H__*/