mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-06 13:33:06 +00:00
rtl8188eu: Remove CONFIG_P2P_PS and CONFIG_P2P_REMOVE_GROUP_INFO
Both are defined whenever CONFIG_P2P is defined. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
f004d23436
commit
7333ca4047
12 changed files with 12 additions and 54 deletions
|
@ -800,7 +800,6 @@ _func_enter_;
|
|||
_func_exit_;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_P2P_PS
|
||||
void rtl8188e_set_p2p_ps_offload_cmd(_adapter* padapter, u8 p2p_ps_state)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
|
@ -811,7 +810,6 @@ void rtl8188e_set_p2p_ps_offload_cmd(_adapter* padapter, u8 p2p_ps_state)
|
|||
|
||||
_func_enter_;
|
||||
|
||||
#if 1
|
||||
switch (p2p_ps_state)
|
||||
{
|
||||
case P2P_PS_DISABLE:
|
||||
|
@ -878,12 +876,10 @@ _func_enter_;
|
|||
}
|
||||
|
||||
FillH2CCmd_88E(padapter, H2C_PS_P2P_OFFLOAD, 1, (u8 *)p2p_ps_offload);
|
||||
#endif
|
||||
|
||||
_func_exit_;
|
||||
|
||||
}
|
||||
#endif /* CONFIG_P2P_PS */
|
||||
|
||||
#ifdef CONFIG_TSF_RESET_OFFLOAD
|
||||
/*
|
||||
|
|
|
@ -277,12 +277,10 @@ rtl8188e_HalDmWatchDog(
|
|||
bFwCurrentInPSMode = Adapter->pwrctrlpriv.bFwCurrentInPSMode;
|
||||
rtw_hal_get_hwreg(Adapter, HW_VAR_FWLPS_RF_ON, (u8 *)(&bFwPSAwake));
|
||||
|
||||
#ifdef CONFIG_P2P_PS
|
||||
/* Fw is under p2p powersaving mode, driver should stop dynamic mechanism. */
|
||||
/* modifed by thomas. 2011.06.11. */
|
||||
if (Adapter->wdinfo.p2p_ps_mode)
|
||||
bFwPSAwake = false;
|
||||
#endif /* CONFIG_P2P_PS */
|
||||
|
||||
if ( (hw_init_completed == true)
|
||||
&& ((!bFwCurrentInPSMode) && bFwPSAwake))
|
||||
|
|
|
@ -2844,14 +2844,12 @@ _func_enter_;
|
|||
rtl8188e_set_FwJoinBssReport_cmd(Adapter, mstatus);
|
||||
}
|
||||
break;
|
||||
#ifdef CONFIG_P2P_PS
|
||||
case HW_VAR_H2C_FW_P2P_PS_OFFLOAD:
|
||||
{
|
||||
u8 p2p_ps_state = (*(u8 *)val);
|
||||
rtl8188e_set_p2p_ps_offload_cmd(Adapter, p2p_ps_state);
|
||||
}
|
||||
break;
|
||||
#endif /* CONFIG_P2P_PS */
|
||||
case HW_VAR_INITIAL_GAIN:
|
||||
{
|
||||
DIG_T *pDigTable = &podmpriv->DM_DigTable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue