2013-05-08 21:45:39 +00:00
|
|
|
/******************************************************************************
|
|
|
|
*
|
|
|
|
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
2014-12-19 06:59:46 +00:00
|
|
|
*
|
2013-05-08 21:45:39 +00:00
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of version 2 of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with
|
|
|
|
* this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
|
|
|
|
*
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
2014-12-11 21:15:04 +00:00
|
|
|
|
2013-05-08 21:45:39 +00:00
|
|
|
/*
|
|
|
|
* Public General Config
|
|
|
|
*/
|
|
|
|
#define RTL871X_MODULE_NAME "88EU"
|
|
|
|
#define DRV_NAME "rtl8188eu"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Internal General Config
|
|
|
|
*/
|
|
|
|
|
2014-12-19 06:59:46 +00:00
|
|
|
#define CONFIG_EMBEDDED_FWIMG
|
2014-12-11 21:15:04 +00:00
|
|
|
|
|
|
|
#define CONFIG_SUPPORT_USB_INT
|
|
|
|
|
|
|
|
#define CONFIG_IOL
|
2013-05-08 21:45:39 +00:00
|
|
|
|
2014-12-19 06:59:46 +00:00
|
|
|
#define CONFIG_AP_MODE
|
2014-12-11 21:15:04 +00:00
|
|
|
#ifdef CONFIG_AP_MODE
|
2014-12-19 06:59:46 +00:00
|
|
|
#define CONFIG_FIND_BEST_CHANNEL
|
2014-12-11 21:15:04 +00:00
|
|
|
#endif
|
|
|
|
|
2014-12-19 06:59:46 +00:00
|
|
|
#define CONFIG_P2P
|
2014-12-11 21:15:04 +00:00
|
|
|
#ifdef CONFIG_P2P
|
|
|
|
//The CONFIG_WFD is for supporting the Wi-Fi display
|
|
|
|
#define CONFIG_WFD
|
2014-12-19 06:59:46 +00:00
|
|
|
|
2014-12-11 21:15:04 +00:00
|
|
|
#ifndef CONFIG_WIFI_TEST
|
|
|
|
#define CONFIG_P2P_REMOVE_GROUP_INFO
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define CONFIG_P2P_PS
|
|
|
|
#define P2P_OP_CHECK_SOCIAL_CH
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define CONFIG_SKB_COPY //for amsdu
|
|
|
|
|
|
|
|
//#define CONFIG_LED
|
|
|
|
#ifdef CONFIG_LED
|
|
|
|
#define CONFIG_SW_LED
|
|
|
|
#endif // CONFIG_LED
|
|
|
|
|
|
|
|
#ifdef CONFIG_IOL
|
|
|
|
#define CONFIG_IOL_NEW_GENERATION
|
|
|
|
#define CONFIG_IOL_READ_EFUSE_MAP
|
2014-12-19 06:59:46 +00:00
|
|
|
#define CONFIG_IOL_EFUSE_PATCH
|
2014-12-11 21:15:04 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#define USB_INTERFERENCE_ISSUE // this should be checked in all usb interface
|
|
|
|
#define CONFIG_GLOBAL_UI_PID
|
|
|
|
|
|
|
|
#define CONFIG_LAYER2_ROAMING
|
|
|
|
#define CONFIG_LAYER2_ROAMING_RESUME
|
|
|
|
#define CONFIG_LONG_DELAY_ISSUE
|
|
|
|
#define CONFIG_NEW_SIGNAL_STAT_PROCESS
|
2013-05-08 21:45:39 +00:00
|
|
|
#define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */
|
2014-12-11 21:15:04 +00:00
|
|
|
#define CONFIG_DEAUTH_BEFORE_CONNECT
|
2013-05-08 21:45:39 +00:00
|
|
|
|
2014-12-11 21:15:04 +00:00
|
|
|
#define CONFIG_BR_EXT // Enable NAT2.5 support for STA mode interface with a L2 Bridge
|
|
|
|
#ifdef CONFIG_BR_EXT
|
2013-05-08 21:45:39 +00:00
|
|
|
#define CONFIG_BR_EXT_BRNAME "br0"
|
2014-12-11 21:15:04 +00:00
|
|
|
#endif // CONFIG_BR_EXT
|
|
|
|
|
2014-12-19 06:59:46 +00:00
|
|
|
/*
|
|
|
|
* Interface Related Config
|
2014-12-11 21:15:04 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CONFIG_MINIMAL_MEMORY_USAGE
|
2014-12-19 06:59:46 +00:00
|
|
|
#define CONFIG_USB_TX_AGGREGATION
|
|
|
|
#define CONFIG_USB_RX_AGGREGATION
|
2014-12-11 21:15:04 +00:00
|
|
|
#endif
|
|
|
|
|
2014-12-19 06:59:46 +00:00
|
|
|
#define CONFIG_PREALLOC_RECV_SKB
|
2014-12-11 21:15:04 +00:00
|
|
|
|
2014-12-19 06:59:46 +00:00
|
|
|
/*
|
2014-12-11 21:15:04 +00:00
|
|
|
* USB VENDOR REQ BUFFER ALLOCATION METHOD
|
|
|
|
* if not set we'll use function local variable (stack memory)
|
|
|
|
*/
|
|
|
|
#define CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC
|
|
|
|
|
|
|
|
/*
|
|
|
|
* HAL Related Config
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define RTL8188E_RX_PACKET_INCLUDE_CRC 0
|
|
|
|
|
|
|
|
#define SUPPORTED_BLOCK_IO
|
|
|
|
#define CONFIG_REGULATORY_CTRL
|
|
|
|
|
|
|
|
#define CONFIG_OUT_EP_WIFI_MODE 0
|
|
|
|
|
|
|
|
#define ENABLE_USB_DROP_INCORRECT_OUT
|
|
|
|
|
|
|
|
#define DISABLE_BB_RF 0
|
|
|
|
|
2015-02-21 02:07:27 +00:00
|
|
|
#define MP_DRIVER 0
|
2014-12-11 21:15:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Outsource Related Config
|
|
|
|
*/
|
|
|
|
|
2014-12-19 06:59:46 +00:00
|
|
|
#define RTL8192CE_SUPPORT 0
|
|
|
|
#define RTL8192CU_SUPPORT 0
|
|
|
|
#define RTL8192C_SUPPORT (RTL8192CE_SUPPORT|RTL8192CU_SUPPORT)
|
2014-12-11 21:15:04 +00:00
|
|
|
|
2014-12-19 06:59:46 +00:00
|
|
|
#define RTL8192DE_SUPPORT 0
|
|
|
|
#define RTL8192DU_SUPPORT 0
|
|
|
|
#define RTL8192D_SUPPORT (RTL8192DE_SUPPORT|RTL8192DU_SUPPORT)
|
2014-12-11 21:15:04 +00:00
|
|
|
|
2014-12-19 06:59:46 +00:00
|
|
|
#define RTL8723AU_SUPPORT 0
|
|
|
|
#define RTL8723AS_SUPPORT 0
|
|
|
|
#define RTL8723AE_SUPPORT 0
|
|
|
|
#define RTL8723A_SUPPORT (RTL8723AU_SUPPORT|RTL8723AS_SUPPORT|RTL8723AE_SUPPORT)
|
2014-12-11 21:15:04 +00:00
|
|
|
|
2014-12-19 06:59:46 +00:00
|
|
|
#define RTL8723_FPGA_VERIFICATION 0
|
2014-12-11 21:15:04 +00:00
|
|
|
|
|
|
|
#define RTL8188EE_SUPPORT 0
|
|
|
|
#define RTL8188EU_SUPPORT 1
|
|
|
|
#define RTL8188ES_SUPPORT 0
|
|
|
|
#define RTL8188E_SUPPORT (RTL8188EE_SUPPORT|RTL8188EU_SUPPORT|RTL8188ES_SUPPORT)
|
|
|
|
#define RTL8188E_FOR_TEST_CHIP 0
|
|
|
|
//#if (RTL8188E_SUPPORT==1)
|
2014-12-19 06:59:46 +00:00
|
|
|
#define RATE_ADAPTIVE_SUPPORT 1
|
2014-12-11 21:15:04 +00:00
|
|
|
#define POWER_TRAINING_ACTIVE 1
|
|
|
|
|
|
|
|
//#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_USB_TX_AGGREGATION
|
2014-12-19 06:59:46 +00:00
|
|
|
//#define CONFIG_TX_EARLY_MODE
|
2014-12-11 21:15:04 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_TX_EARLY_MODE
|
|
|
|
#define RTL8188E_EARLY_MODE_PKT_NUM_10 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define CONFIG_80211D
|
|
|
|
|
|
|
|
#define CONFIG_ATTEMPT_TO_FIX_AP_BEACON_ERROR
|
2013-05-08 21:45:39 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Debug Related Config
|
|
|
|
*/
|
|
|
|
#define DBG 1
|
2014-12-11 21:15:04 +00:00
|
|
|
|
|
|
|
#define CONFIG_PROC_DEBUG
|
|
|
|
|
|
|
|
#define DBG_CONFIG_ERROR_DETECT
|
|
|
|
#define DBG_CONFIG_ERROR_RESET
|