mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-05 21:13:06 +00:00
rtl8188eu: Remove code for ENABLE_USB_DROP_INCORRECT_OUT and DISABLE_BB_RF
Neither is selected. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
6b83fa17db
commit
90575aca87
4 changed files with 3 additions and 65 deletions
|
@ -30,16 +30,9 @@
|
|||
#include <usb_hal.h>
|
||||
#include <usb_osintf.h>
|
||||
|
||||
#if DISABLE_BB_RF
|
||||
#define HAL_MAC_ENABLE 0
|
||||
#define HAL_BB_ENABLE 0
|
||||
#define HAL_RF_ENABLE 0
|
||||
#else
|
||||
#define HAL_MAC_ENABLE 1
|
||||
#define HAL_BB_ENABLE 1
|
||||
#define HAL_RF_ENABLE 1
|
||||
#endif
|
||||
|
||||
#define HAL_MAC_ENABLE 1
|
||||
#define HAL_BB_ENABLE 1
|
||||
#define HAL_RF_ENABLE 1
|
||||
|
||||
static void
|
||||
_ConfigNormalChipOutEP_8188E(
|
||||
|
@ -965,11 +958,6 @@ _InitRFType(
|
|||
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
|
||||
bool is92CU = IS_92C_SERIAL(pHalData->VersionID);
|
||||
|
||||
#if DISABLE_BB_RF
|
||||
pHalData->rf_chip = RF_PSEUDO_11N;
|
||||
return;
|
||||
#endif
|
||||
|
||||
pHalData->rf_chip = RF_6052;
|
||||
|
||||
if (false == is92CU){
|
||||
|
@ -1003,10 +991,6 @@ static void _BBTurnOnBlock(
|
|||
struct adapter * Adapter
|
||||
)
|
||||
{
|
||||
#if (DISABLE_BB_RF)
|
||||
return;
|
||||
#endif
|
||||
|
||||
PHY_SetBBReg(Adapter, rFPGA0_RFMOD, bCCKEn, 0x1);
|
||||
PHY_SetBBReg(Adapter, rFPGA0_RFMOD, bOFDMEn, 0x1);
|
||||
}
|
||||
|
@ -1313,10 +1297,6 @@ _func_enter_;
|
|||
value16 |= (MACTXEN | MACRXEN);
|
||||
rtw_write8(Adapter, REG_CR, value16);
|
||||
|
||||
#if ENABLE_USB_DROP_INCORRECT_OUT
|
||||
_InitHardwareDropIncorrectBulkOut(Adapter);
|
||||
#endif
|
||||
|
||||
if (pHalData->bRDGEnable){
|
||||
_InitRDGSetting(Adapter);
|
||||
}
|
||||
|
@ -1837,11 +1817,7 @@ _ReadRFType(
|
|||
{
|
||||
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
|
||||
|
||||
#if DISABLE_BB_RF
|
||||
pHalData->rf_chip = RF_PSEUDO_11N;
|
||||
#else
|
||||
pHalData->rf_chip = RF_6052;
|
||||
#endif
|
||||
}
|
||||
|
||||
static int _ReadAdapterInfo8188EU(struct adapter * Adapter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue