mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-28 15:13:39 +00:00
rtl8188eu: Remove CONFIG_LONG_DELAY_ISSUE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
0db3ae417e
commit
927e984c73
4 changed files with 0 additions and 30 deletions
|
@ -1081,12 +1081,7 @@ u32 mp_query_psd(PADAPTER pAdapter, u8 *data)
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_LONG_DELAY_ISSUE
|
|
||||||
rtw_msleep_os(100);
|
rtw_msleep_os(100);
|
||||||
#else
|
|
||||||
rtw_mdelay_os(100);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return strlen(data)+1;
|
return strlen(data)+1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,11 +33,7 @@ odm_ConfigRFReg_8188E(
|
||||||
{
|
{
|
||||||
if (Addr == 0xffe)
|
if (Addr == 0xffe)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_LONG_DELAY_ISSUE
|
|
||||||
ODM_sleep_ms(50);
|
ODM_sleep_ms(50);
|
||||||
#else
|
|
||||||
ODM_delay_ms(50);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else if (Addr == 0xfd)
|
else if (Addr == 0xfd)
|
||||||
{
|
{
|
||||||
|
@ -134,11 +130,7 @@ odm_ConfigBB_PHY_REG_PG_8188E(
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (Addr == 0xfe){
|
if (Addr == 0xfe){
|
||||||
#ifdef CONFIG_LONG_DELAY_ISSUE
|
|
||||||
ODM_sleep_ms(50);
|
ODM_sleep_ms(50);
|
||||||
#else
|
|
||||||
ODM_delay_ms(50);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else if (Addr == 0xfd){
|
else if (Addr == 0xfd){
|
||||||
ODM_delay_ms(5);
|
ODM_delay_ms(5);
|
||||||
|
@ -174,11 +166,7 @@ odm_ConfigBB_PHY_8188E(
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (Addr == 0xfe){
|
if (Addr == 0xfe){
|
||||||
#ifdef CONFIG_LONG_DELAY_ISSUE
|
|
||||||
ODM_sleep_ms(50);
|
ODM_sleep_ms(50);
|
||||||
#else
|
|
||||||
ODM_delay_ms(50);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else if (Addr == 0xfd){
|
else if (Addr == 0xfd){
|
||||||
ODM_delay_ms(5);
|
ODM_delay_ms(5);
|
||||||
|
|
|
@ -951,11 +951,7 @@ phy_ConfigBBWithHeaderFile(
|
||||||
for (i=0;i<PHY_REGArrayLen;i=i+2)
|
for (i=0;i<PHY_REGArrayLen;i=i+2)
|
||||||
{
|
{
|
||||||
if (Rtl819XPHY_REGArray_Table[i] == 0xfe){
|
if (Rtl819XPHY_REGArray_Table[i] == 0xfe){
|
||||||
#ifdef CONFIG_LONG_DELAY_ISSUE
|
|
||||||
rtw_msleep_os(50);
|
rtw_msleep_os(50);
|
||||||
#else
|
|
||||||
rtw_mdelay_os(50);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else if (Rtl819XPHY_REGArray_Table[i] == 0xfd)
|
else if (Rtl819XPHY_REGArray_Table[i] == 0xfd)
|
||||||
rtw_mdelay_os(5);
|
rtw_mdelay_os(5);
|
||||||
|
@ -1434,11 +1430,7 @@ rtl8188e_PHY_ConfigRFWithHeaderFile(
|
||||||
for (i = 0;i<RadioA_ArrayLen; i=i+2)
|
for (i = 0;i<RadioA_ArrayLen; i=i+2)
|
||||||
{
|
{
|
||||||
if (Rtl819XRadioA_Array_Table[i] == 0xfe) {
|
if (Rtl819XRadioA_Array_Table[i] == 0xfe) {
|
||||||
#ifdef CONFIG_LONG_DELAY_ISSUE
|
|
||||||
rtw_msleep_os(50);
|
rtw_msleep_os(50);
|
||||||
#else
|
|
||||||
rtw_mdelay_os(50);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else if (Rtl819XRadioA_Array_Table[i] == 0xfd)
|
else if (Rtl819XRadioA_Array_Table[i] == 0xfd)
|
||||||
rtw_mdelay_os(5);
|
rtw_mdelay_os(5);
|
||||||
|
@ -1502,11 +1494,7 @@ rtl8188e_PHY_ConfigRFWithHeaderFile(
|
||||||
{
|
{
|
||||||
if (Rtl819XRadioB_Array_Table[i] == 0xfe)
|
if (Rtl819XRadioB_Array_Table[i] == 0xfe)
|
||||||
{ /* Delay specific ms. Only RF configuration require delay. */
|
{ /* Delay specific ms. Only RF configuration require delay. */
|
||||||
#ifdef CONFIG_LONG_DELAY_ISSUE
|
|
||||||
rtw_msleep_os(50);
|
rtw_msleep_os(50);
|
||||||
#else
|
|
||||||
rtw_mdelay_os(50);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else if (Rtl819XRadioB_Array_Table[i] == 0xfd)
|
else if (Rtl819XRadioB_Array_Table[i] == 0xfd)
|
||||||
rtw_mdelay_os(5);
|
rtw_mdelay_os(5);
|
||||||
|
|
|
@ -127,7 +127,6 @@
|
||||||
#define USB_INTERFERENCE_ISSUE // this should be checked in all usb interface
|
#define USB_INTERFERENCE_ISSUE // this should be checked in all usb interface
|
||||||
#define CONFIG_GLOBAL_UI_PID
|
#define CONFIG_GLOBAL_UI_PID
|
||||||
|
|
||||||
#define CONFIG_LONG_DELAY_ISSUE
|
|
||||||
#define CONFIG_NEW_SIGNAL_STAT_PROCESS
|
#define CONFIG_NEW_SIGNAL_STAT_PROCESS
|
||||||
#define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */
|
#define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue