mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 05:53:06 +00:00
rtl8188eu: Remove most of the remaining parameters from autoconf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
1e96c9a1d4
commit
f55990fd29
13 changed files with 31 additions and 192 deletions
|
@ -318,14 +318,8 @@ storePwrIndexDiffRateOffset(
|
|||
#define SIC_CMD_WRITE 1
|
||||
#define SIC_CMD_READ 2
|
||||
|
||||
#if (RTL8188E_SUPPORT == 1)
|
||||
#define SIC_CMD_REG 0x1EB // 1byte
|
||||
#define SIC_ADDR_REG 0x1E8 // 1b9~1ba, 2 bytes
|
||||
#define SIC_DATA_REG 0x1EC // 1bc~1bf
|
||||
#else
|
||||
#define SIC_CMD_REG 0x1b8 // 1byte
|
||||
#define SIC_ADDR_REG 0x1b9 // 1b9~1ba, 2 bytes
|
||||
#define SIC_DATA_REG 0x1bc // 1bc~1bf
|
||||
#endif
|
||||
|
||||
#endif // __INC_HAL8192CPHYCFG_H
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
*
|
||||
******************************************************************************/
|
||||
|
||||
#if (RTL8188E_SUPPORT == 1)
|
||||
#ifndef __INC_BB_8188E_HW_IMG_H
|
||||
#define __INC_BB_8188E_HW_IMG_H
|
||||
|
||||
|
@ -52,4 +51,3 @@ ODM_ReadAndConfig_PHY_REG_PG_8188E(
|
|||
);
|
||||
|
||||
#endif
|
||||
#endif // end of HWIMG_SUPPORT
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
*
|
||||
******************************************************************************/
|
||||
|
||||
#if (RTL8188E_SUPPORT == 1)
|
||||
#ifndef __INC_FW_8188E_HW_IMG_H
|
||||
#define __INC_FW_8188E_HW_IMG_H
|
||||
|
||||
|
@ -31,6 +30,5 @@
|
|||
******************************************************************************/
|
||||
#define ArrayLength_8188E_FW_WoWLAN 15764
|
||||
extern const u8 Array_8188E_FW_WoWLAN[ArrayLength_8188E_FW_WoWLAN];
|
||||
#endif
|
||||
|
||||
#endif // end of HWIMG_SUPPORT
|
||||
#endif
|
||||
|
|
|
@ -39,16 +39,6 @@
|
|||
|
||||
#define CONFIG_BR_EXT_BRNAME "br0"
|
||||
|
||||
/*
|
||||
* Outsource Related Config
|
||||
*/
|
||||
|
||||
#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
|
||||
|
||||
/*
|
||||
* Debug Related Config
|
||||
*/
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#ifndef __INC_ODM_REGCONFIG_H_8188E
|
||||
#define __INC_ODM_REGCONFIG_H_8188E
|
||||
|
||||
#if (RTL8188E_SUPPORT == 1)
|
||||
|
||||
void odm_ConfigRFReg_8188E(struct odm_dm_struct *pDM_Odm, u4Byte Addr, u4Byte Data,
|
||||
enum ODM_RF_RADIO_PATH RF_PATH, u4Byte RegAddr);
|
||||
|
||||
|
@ -70,4 +68,3 @@ odm_ConfigBB_PHY_8188E(
|
|||
u4Byte Data
|
||||
);
|
||||
#endif
|
||||
#endif // end of SUPPORT
|
||||
|
|
|
@ -57,16 +57,8 @@
|
|||
#include "HalHWImg8188E_BB.h"
|
||||
#include "Hal8188EReg.h"
|
||||
|
||||
#if (RTL8188E_FOR_TEST_CHIP >= 1)
|
||||
#include "HalHWImg8188E_TestChip_MAC.h"
|
||||
#include "HalHWImg8188E_TestChip_RF.h"
|
||||
#include "HalHWImg8188E_TestChip_BB.h"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WOWLAN
|
||||
#if (RTL8188E_SUPPORT==1)
|
||||
#include "HalHWImg8188E_FW.h"
|
||||
#endif
|
||||
#endif //CONFIG_WOWLAN
|
||||
|
||||
#include "odm_RegConfig8188E.h"
|
||||
|
|
|
@ -1556,11 +1556,7 @@ Current IOREG MAP
|
|||
|
||||
#define EEPROM_Default_AntTxPowerDiff 0x0
|
||||
#define EEPROM_Default_TxPwDiff_CrystalCap 0x5
|
||||
#if (RTL8188ES_SUPPORT==1) //for SDIO
|
||||
#define EEPROM_Default_TxPowerLevel 0x25
|
||||
#else //for USB/PCIE
|
||||
#define EEPROM_Default_TxPowerLevel 0x2A
|
||||
#endif
|
||||
|
||||
#define EEPROM_Default_HT40_2SDiff 0x0
|
||||
#define EEPROM_Default_HT20_Diff 2 // HT20<->40 default Tx Power Index Difference
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue