mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-05 21:13:06 +00:00
rtl8188eu: Remove CONFIG_TX_EARLY_MODE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
3184153e26
commit
44346186dd
7 changed files with 3 additions and 263 deletions
|
@ -1418,30 +1418,7 @@ _func_enter_;
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_TX_EARLY_MODE
|
||||
if ( pHalData->bEarlyModeEnable)
|
||||
{
|
||||
RT_TRACE(_module_hci_hal_init_c_, _drv_info_,("EarlyMode Enabled!!!\n"));
|
||||
|
||||
value8 = rtw_read8(Adapter, REG_EARLY_MODE_CONTROL);
|
||||
#if RTL8188E_EARLY_MODE_PKT_NUM_10 == 1
|
||||
value8 = value8|0x1f;
|
||||
#else
|
||||
value8 = value8|0xf;
|
||||
#endif
|
||||
rtw_write8(Adapter, REG_EARLY_MODE_CONTROL, value8);
|
||||
|
||||
rtw_write8(Adapter, REG_EARLY_MODE_CONTROL+3, 0x80);
|
||||
|
||||
value8 = rtw_read8(Adapter, REG_TCR+1);
|
||||
value8 = value8|0x40;
|
||||
rtw_write8(Adapter,REG_TCR+1, value8);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
rtw_write8(Adapter, REG_EARLY_MODE_CONTROL, 0);
|
||||
}
|
||||
rtw_write8(Adapter, REG_EARLY_MODE_CONTROL, 0);
|
||||
|
||||
#ifdef CONFIG_CHECK_AC_LIFETIME
|
||||
/* Enable lifetime check for the four ACs */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue