1 /******************************************************************************
\r
3 * Copyright(c) 2010 - 2012 Realtek Corporation. All rights reserved.
\r
5 * This program is free software; you can redistribute it and/or modify it
\r
6 * under the terms of version 2 of the GNU General Public License as
\r
7 * published by the Free Software Foundation.
\r
9 * This program is distributed in the hope that it will be useful, but WITHOUT
\r
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
\r
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
\r
14 * You should have received a copy of the GNU General Public License along with
\r
15 * this program; if not, write to the Free Software Foundation, Inc.,
\r
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
\r
19 ******************************************************************************/
\r
21 * Automatically generated C config: don't edit
\r
23 //***** temporarily flag *******
\r
24 #define CONFIG_SINGLE_IMG
\r
26 //***** temporarily flag *******
\r
28 //***** temporarily flag *******
\r
31 #define AUTOCONF_INCLUDED
\r
32 #define RTL871X_MODULE_NAME "8189ES"
\r
33 #define DRV_NAME "rtl8189es"
\r
34 #define EFUSE_MAP_PATH "/system/etc/wifi/wifi_efuse_8189e.map"
\r
35 #define WIFIMAC_PATH "/data/wifimac.txt"
\r
37 #define CONFIG_SDIO_HCI
\r
38 #define PLATFORM_LINUX
\r
40 //#define CONFIG_IOCTL_CFG80211
\r
42 #ifdef CONFIG_IOCTL_CFG80211
\r
43 //#define RTW_USE_CFG80211_STA_EVENT /* Indecate new sta asoc through cfg80211_new_sta */
\r
44 #define CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER
\r
45 //#define CONFIG_DEBUG_CFG80211
\r
46 #define CONFIG_SET_SCAN_DENY_TIMER
\r
49 #define CONFIG_EMBEDDED_FWIMG
\r
50 //#define CONFIG_FILE_FWIMG
\r
52 #define CONFIG_XMIT_ACK
\r
53 #ifdef CONFIG_XMIT_ACK
\r
54 #define CONFIG_ACTIVE_KEEP_ALIVE_CHECK
\r
56 #define CONFIG_80211N_HT
\r
57 #define CONFIG_RECV_REORDERING_CTRL
\r
59 //#define CONFIG_CONCURRENT_MODE
\r
60 #ifdef CONFIG_CONCURRENT_MODE
\r
61 #define CONFIG_TSF_RESET_OFFLOAD // For 2 PORT TSF SYNC.
\r
62 //#define CONFIG_HWPORT_SWAP //Port0->Sec , Port1 -> Pri
\r
63 #define CONFIG_RUNTIME_PORT_SWITCH
\r
64 //#define DBG_RUNTIME_PORT_SWITCH
\r
65 #define CONFIG_STA_MODE_SCAN_UNDER_AP_MODE
\r
68 #define CONFIG_AP_MODE
\r
69 #ifdef CONFIG_AP_MODE
\r
71 #define CONFIG_INTERRUPT_BASED_TXBCN // Tx Beacon when driver early interrupt occurs
\r
72 #if defined(CONFIG_CONCURRENT_MODE) && defined(CONFIG_INTERRUPT_BASED_TXBCN)
\r
73 #undef CONFIG_INTERRUPT_BASED_TXBCN
\r
75 #ifdef CONFIG_INTERRUPT_BASED_TXBCN
\r
76 //#define CONFIG_INTERRUPT_BASED_TXBCN_EARLY_INT
\r
77 #define CONFIG_INTERRUPT_BASED_TXBCN_BCN_OK_ERR
\r
80 #define CONFIG_NATIVEAP_MLME
\r
81 #ifndef CONFIG_NATIVEAP_MLME
\r
82 #define CONFIG_HOSTAPD_MLME
\r
84 #define CONFIG_FIND_BEST_CHANNEL
\r
85 //#define CONFIG_NO_WIRELESS_HANDLERS
\r
88 #define CONFIG_TX_MCAST2UNI // Support IP multicast->unicast
\r
89 //#define CONFIG_CHECK_AC_LIFETIME // Check packet lifetime of 4 ACs.
\r
93 //The CONFIG_WFD is for supporting the Wi-Fi display
\r
96 #ifndef CONFIG_WIFI_TEST
\r
97 #define CONFIG_P2P_REMOVE_GROUP_INFO
\r
99 //#define CONFIG_DBG_P2P
\r
101 #define CONFIG_P2P_PS
\r
102 //#define CONFIG_P2P_IPS
\r
103 #define CONFIG_P2P_OP_CHK_SOCIAL_CH
\r
104 #define CONFIG_CFG80211_ONECHANNEL_UNDER_CONCURRENT //replace CONFIG_P2P_CHK_INVITE_CH_LIST flag
\r
105 #define CONFIG_P2P_INVITE_IOT
\r
108 // Added by Kurt 20110511
\r
109 //#define CONFIG_TDLS
\r
111 // #ifndef CONFIG_WFD
\r
112 // #define CONFIG_WFD
\r
114 // #define CONFIG_TDLS_AUTOSETUP
\r
115 // #define CONFIG_TDLS_AUTOCHECKALIVE
\r
118 #define CONFIG_SKB_COPY //for amsdu
\r
120 #define CONFIG_LAYER2_ROAMING
\r
121 #define CONFIG_LAYER2_ROAMING_RESUME
\r
123 #define CONFIG_LONG_DELAY_ISSUE
\r
124 #define CONFIG_NEW_SIGNAL_STAT_PROCESS
\r
125 #define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */
\r
126 #define CONFIG_DEAUTH_BEFORE_CONNECT
\r
129 * Hardware Related Config
\r
132 //#define SUPPORT_HW_RFOFF_DETECTED
\r
134 //#define CONFIG_SW_LED
\r
137 * Interface Related Config
\r
139 #define CONFIG_TX_AGGREGATION
\r
140 //#define CONFIG_SDIO_TX_TASKLET
\r
141 #define CONFIG_SDIO_RX_COPY
\r
142 #define CONFIG_SDIO_TX_ENABLE_AVAL_INT
\r
147 //#define CONFIG_MAC_LOOPBACK_DRIVER
\r
151 * Auto Config Section
\r
153 #if defined(CONFIG_RTL8188E) && defined(CONFIG_SDIO_HCI)
\r
154 #define CONFIG_RTL8188E_SDIO
\r
155 #define CONFIG_XMIT_THREAD_MODE
\r
160 #if defined(CONFIG_LPS) && defined(CONFIG_SDIO_HCI)
\r
161 #define CONFIG_LPS_LCLK
\r
163 #ifdef CONFIG_LPS_LCLK
\r
164 #define LPS_RPWM_WAIT_MS 300
\r
166 //#define CONFIG_DETECT_CPWM_BY_POLLING
\r
167 //#define CONFIG_LPS_RPWM_TIMER
\r
169 #if defined(CONFIG_LPS_RPWM_TIMER) || defined(CONFIG_DETECT_CPWM_BY_POLLING)
\r
170 #define LPS_RPWM_WAIT_MS 300
\r
172 //#define CONFIG_LPS_LCLK_WD_TIMER // Watch Dog timer in LPS LCLK
\r
177 #ifdef CONFIG_MAC_LOOPBACK_DRIVER
\r
178 #undef CONFIG_AP_MODE
\r
179 #undef CONFIG_NATIVEAP_MLME
\r
180 #undef CONFIG_POWER_SAVING
\r
181 #undef SUPPORT_HW_RFOFF_DETECTED
\r
184 #ifdef CONFIG_MP_INCLUDED
\r
186 #define MP_DRIVER 1
\r
187 #define CONFIG_MP_IWPRIV_SUPPORT
\r
189 // disable unnecessary functions for MP
\r
190 //#undef CONFIG_IPS
\r
191 //#undef CONFIG_LPS
\r
192 //#undef CONFIG_LPS_LCLK
\r
193 //#undef SUPPORT_HW_RFOFF_DETECTED
\r
195 #else// #ifdef CONFIG_MP_INCLUDED
\r
197 #define MP_DRIVER 0
\r
199 #endif // #ifdef CONFIG_MP_INCLUDED
\r
203 #define CONFIG_IOL_NEW_GENERATION
\r
204 #define CONFIG_IOL_READ_EFUSE_MAP
\r
205 //#define DBG_IOL_READ_EFUSE_MAP
\r
206 //#define CONFIG_IOL_LLT
\r
207 #define CONFIG_IOL_EFUSE_PATCH
\r
208 //#define CONFIG_IOL_IOREG_CFG
\r
209 //#define CONFIG_IOL_IOREG_CFG_DBG
\r
213 #ifdef CONFIG_PLATFORM_ACTIONS_ATV5201
\r
214 #define CONFIG_SDIO_DISABLE_RXFIFO_POLLING_LOOP
\r
218 * Outsource Related Config
\r
221 #define RTL8192CE_SUPPORT 0
\r
222 #define RTL8192CU_SUPPORT 0
\r
223 #define RTL8192C_SUPPORT (RTL8192CE_SUPPORT|RTL8192CU_SUPPORT)
\r
225 #define RTL8192DE_SUPPORT 0
\r
226 #define RTL8192DU_SUPPORT 0
\r
227 #define RTL8192D_SUPPORT (RTL8192DE_SUPPORT|RTL8192DU_SUPPORT)
\r
229 #define RTL8723_FPGA_VERIFICATION 0
\r
230 #define RTL8723AU_SUPPORT 0
\r
231 #define RTL8723AS_SUPPORT 0
\r
232 #define RTL8723AE_SUPPORT 0
\r
233 #define RTL8723A_SUPPORT (RTL8723AU_SUPPORT|RTL8723AS_SUPPORT|RTL8723AE_SUPPORT)
\r
235 #define RTL8188EE_SUPPORT 0
\r
236 #define RTL8188EU_SUPPORT 0
\r
237 #define RTL8188ES_SUPPORT 1
\r
238 #define RTL8188E_SUPPORT (RTL8188EE_SUPPORT|RTL8188EU_SUPPORT|RTL8188ES_SUPPORT)
\r
239 #define TESTCHIP_SUPPORT 0
\r
241 #define RTL8812E_SUPPORT 0
\r
242 #define RTL8812AU_SUPPORT 0
\r
243 #define RTL8812A_SUPPORT (RTL8812E_SUPPORT|RTL8812AU_SUPPORT)
\r
245 #define RTL8821A_SUPPORT 0
\r
247 #define RTL8723B_SUPPORT 0
\r
249 #define RTL8192E_SUPPORT 0
\r
251 #define RTL8813A_SUPPORT 0
\r
253 //#if (RTL8188E_SUPPORT==1)
\r
254 #define RATE_ADAPTIVE_SUPPORT 1
\r
255 #define POWER_TRAINING_ACTIVE 1
\r
256 //#define CONFIG_TX_EARLY_MODE
\r
258 #ifdef CONFIG_TX_EARLY_MODE
\r
259 #define RTL8188E_EARLY_MODE_PKT_NUM_10 0
\r
263 #define CONFIG_ATTEMPT_TO_FIX_AP_BEACON_ERROR
\r
265 #ifdef CONFIG_GPIO_WAKEUP
\r
266 #define WAKEUP_GPIO_IDX 7
\r
269 #define CONFIG_GPIO_API
\r
271 * HAL Related Config
\r
274 //for FPGA VERIFICATION config
\r
275 #define RTL8188E_FPGA_TRUE_PHY_VERIFICATION 0
\r
277 #define DISABLE_BB_RF 0
\r
279 #define CONFIG_RF_GAIN_OFFSET
\r
280 #define CONFIG_80211D
\r
282 #define CONFIG_ARP_KEEP_ALIVE
\r
285 * Debug Related Config
\r
289 #define CONFIG_DEBUG /* DBG_871X, etc... */
\r
290 //#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */
\r
292 #define CONFIG_PROC_DEBUG
\r
294 #define DBG_CONFIG_ERROR_DETECT
\r
295 #define DBG_CONFIG_ERROR_RESET
\r
297 //#define CONFIG_DISABLE_ODM
\r
300 //#define DBG_DELAY_OS
\r
301 //#define DBG_MEM_ALLOC
\r
302 //#define DBG_IOCTL
\r
305 //#define DBG_XMIT_BUF
\r
306 //#define DBG_XMIT_BUF_EXT
\r
307 //#define DBG_TX_DROP_FRAME
\r
309 //#define DBG_RX_DROP_FRAME
\r
310 //#define DBG_RX_SEQ
\r
311 //#define DBG_RX_SIGNAL_DISPLAY_PROCESSING
\r
312 //#define DBG_RX_SIGNAL_DISPLAY_SSID_MONITORED "jeff-ap"
\r
315 //#define HAL_8195A_USB 0
\r
317 //#define RTL8188E_FOR_MP_TEST 1
\r
319 //#define DOWNLOAD_FW_TO_TXPKT_BUF 0
\r
321 //#define DBG_HAL_INIT_PROFILING
\r