mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-10 15:39:38 +00:00
rtl8188eu: Remove CONFIG_DISABLE_ODM
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
bef55d3a6c
commit
8fd80041bf
1 changed files with 3 additions and 18 deletions
|
@ -173,19 +173,12 @@ static void Init_ODM_ComInfo_88E(struct adapter *Adapter)
|
||||||
|
|
||||||
ODM_CmnInfoInit(pDM_Odm, ODM_CMNINFO_RF_ANTENNA_TYPE, pHalData->TRxAntDivType);
|
ODM_CmnInfoInit(pDM_Odm, ODM_CMNINFO_RF_ANTENNA_TYPE, pHalData->TRxAntDivType);
|
||||||
|
|
||||||
#ifdef CONFIG_DISABLE_ODM
|
|
||||||
pdmpriv->InitODMFlag = 0;
|
|
||||||
#else
|
|
||||||
pdmpriv->InitODMFlag = ODM_RF_CALIBRATION |
|
pdmpriv->InitODMFlag = ODM_RF_CALIBRATION |
|
||||||
ODM_RF_TX_PWR_TRACK /* */
|
ODM_RF_TX_PWR_TRACK ;
|
||||||
;
|
|
||||||
/* if(pHalData->AntDivCfg) */
|
|
||||||
/* pdmpriv->InitODMFlag |= ODM_BB_ANT_DIV; */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ODM_CmnInfoUpdate(pDM_Odm,ODM_CMNINFO_ABILITY,pdmpriv->InitODMFlag);
|
ODM_CmnInfoUpdate(pDM_Odm,ODM_CMNINFO_ABILITY,pdmpriv->InitODMFlag);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Update_ODM_ComInfo_88E(struct adapter *Adapter)
|
static void Update_ODM_ComInfo_88E(struct adapter *Adapter)
|
||||||
{
|
{
|
||||||
struct mlme_ext_priv *pmlmeext = &Adapter->mlmeextpriv;
|
struct mlme_ext_priv *pmlmeext = &Adapter->mlmeextpriv;
|
||||||
|
@ -223,10 +216,6 @@ static void Update_ODM_ComInfo_88E(struct adapter *Adapter)
|
||||||
}
|
}
|
||||||
#endif/* MP_DRIVER==1) */
|
#endif/* MP_DRIVER==1) */
|
||||||
|
|
||||||
#ifdef CONFIG_DISABLE_ODM
|
|
||||||
pdmpriv->InitODMFlag = 0;
|
|
||||||
#endif/* CONFIG_DISABLE_ODM */
|
|
||||||
|
|
||||||
ODM_CmnInfoUpdate(pDM_Odm,ODM_CMNINFO_ABILITY,pdmpriv->InitODMFlag);
|
ODM_CmnInfoUpdate(pDM_Odm,ODM_CMNINFO_ABILITY,pdmpriv->InitODMFlag);
|
||||||
|
|
||||||
ODM_CmnInfoHook(pDM_Odm,ODM_CMNINFO_TX_UNI,&(Adapter->xmitpriv.tx_bytes));
|
ODM_CmnInfoHook(pDM_Odm,ODM_CMNINFO_TX_UNI,&(Adapter->xmitpriv.tx_bytes));
|
||||||
|
@ -319,10 +308,6 @@ rtl8188e_HalDmWatchDog(
|
||||||
u8 bLinked=false;
|
u8 bLinked=false;
|
||||||
u8 bsta_state = false;
|
u8 bsta_state = false;
|
||||||
|
|
||||||
#ifdef CONFIG_DISABLE_ODM
|
|
||||||
pHalData->odmpriv.SupportAbility = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if(rtw_linked_check(Adapter))
|
if(rtw_linked_check(Adapter))
|
||||||
bLinked = true;
|
bLinked = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue