mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove __func_enter__ and __func_exit__
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
19da086afe
commit
a8e1fbf1f9
27 changed files with 691 additions and 691 deletions
|
@ -86,7 +86,7 @@ static s32 FillH2CCmd_88E(struct adapter *padapter, u8 ElementID, u32 CmdLen, u8
|
|||
u32 h2c_cmd_ex = 0;
|
||||
s32 ret = _FAIL;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
padapter = GET_PRIMARY_ADAPTER(padapter);
|
||||
pHalData = GET_HAL_DATA(padapter);
|
||||
|
@ -165,7 +165,7 @@ exit:
|
|||
|
||||
_exit_critical_mutex(&(adapter_to_dvobj(padapter)->h2c_fwcmd_mutex), NULL);
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -206,7 +206,7 @@ u8 rtl8188e_set_rssi_cmd(struct adapter*padapter, u8 *param)
|
|||
{
|
||||
u8 res=_SUCCESS;
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
if(pHalData->fw_ractrl == true){
|
||||
}else{
|
||||
|
@ -214,7 +214,7 @@ _func_enter_;
|
|||
res=_FAIL;
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
@ -224,7 +224,7 @@ u8 rtl8188e_set_raid_cmd(struct adapter*padapter, u32 mask)
|
|||
u8 buf[3];
|
||||
u8 res=_SUCCESS;
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
_func_enter_;
|
||||
;
|
||||
if(pHalData->fw_ractrl == true){
|
||||
_rtw_memset(buf, 0, 3);
|
||||
mask = cpu_to_le32( mask );
|
||||
|
@ -236,7 +236,7 @@ _func_enter_;
|
|||
res=_FAIL;
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return res;
|
||||
|
||||
|
@ -301,7 +301,7 @@ void rtl8188e_set_FwPwrMode_cmd(struct adapter *padapter, u8 Mode)
|
|||
SETPWRMODE_PARM H2CSetPwrMode;
|
||||
struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter);
|
||||
u8 RLBM = 0; // 0:Min, 1:Max , 2:User define
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
DBG_871X("%s: Mode=%d SmartPS=%d UAPSD=%d\n", __FUNCTION__,
|
||||
Mode, pwrpriv->smart_ps, padapter->registrypriv.uapsd_enable);
|
||||
|
@ -351,7 +351,7 @@ _func_enter_;
|
|||
FillH2CCmd_88E(padapter, H2C_PS_PWR_MODE, sizeof(H2CSetPwrMode), (u8 *)&H2CSetPwrMode);
|
||||
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
}
|
||||
|
||||
void rtl8188e_set_FwMediaStatus_cmd(struct adapter *padapter, u16 mstatus_rpt )
|
||||
|
@ -1018,7 +1018,7 @@ void rtl8188e_set_FwJoinBssReport_cmd(struct adapter *padapter, u8 mstatus)
|
|||
u8 DLBcnCount=0;
|
||||
u32 poll = 0;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
DBG_871X("%s mstatus(%x)\n", __FUNCTION__,mstatus);
|
||||
|
||||
|
@ -1173,7 +1173,7 @@ _func_enter_;
|
|||
DBG_871X_LEVEL(_drv_info_, "%s wowlan_mode is off\n", __func__);
|
||||
}
|
||||
#endif //CONFIG_WOWLAN
|
||||
_func_exit_;
|
||||
;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_P2P_PS
|
||||
|
@ -1185,7 +1185,7 @@ void rtl8188e_set_p2p_ps_offload_cmd(struct adapter* padapter, u8 p2p_ps_state)
|
|||
struct P2P_PS_Offload_t *p2p_ps_offload = &pHalData->p2p_ps_offload;
|
||||
u8 i;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
#if 1
|
||||
switch(p2p_ps_state)
|
||||
|
@ -1263,7 +1263,7 @@ _func_enter_;
|
|||
FillH2CCmd_88E(padapter, H2C_PS_P2P_OFFLOAD, 1, (u8 *)p2p_ps_offload);
|
||||
#endif
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
}
|
||||
#endif //CONFIG_P2P_PS
|
||||
|
@ -1278,7 +1278,7 @@ u8 rtl8188e_reset_tsf(struct adapter *padapter, u8 reset_port )
|
|||
u8 res=_SUCCESS;
|
||||
|
||||
s32 ret;
|
||||
_func_enter_;
|
||||
;
|
||||
if (IFACE_PORT0==reset_port) {
|
||||
buf[0] = 0x1; buf[1] = 0;
|
||||
} else{
|
||||
|
@ -1287,7 +1287,7 @@ _func_enter_;
|
|||
|
||||
ret = FillH2CCmd_88E(padapter, H2C_RESET_TSF, 2, buf);
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
@ -1374,7 +1374,7 @@ void rtl8188es_set_wowlan_cmd(struct adapter* padapter, u8 enable)
|
|||
u8 gpio_high_active = 0; //default low active
|
||||
#endif
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
DBG_871X_LEVEL(_drv_always_, "+%s+\n", __func__);
|
||||
|
||||
pwowlan_parm.mode =0;
|
||||
|
@ -1463,7 +1463,7 @@ _func_enter_;
|
|||
rtw_msleep_os(2);
|
||||
res = FillH2CCmd_88E(padapter, H2C_COM_REMOTE_WAKE_CTRL, 3, (u8 *)&pwowlan_parm);
|
||||
}
|
||||
_func_exit_;
|
||||
;
|
||||
DBG_871X_LEVEL(_drv_always_, "-%s res:%d-\n", __func__, res);
|
||||
return ;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue