mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove ANTENNA DIVERSITY configuration variables and dead code
These changes include the following: 1. CONFIG_SW_ANTENNA_DIVERSITY - not selected 2. CONFIG_HW_ANTENNA_DIVERSITY - selected 3. CONFIG_ANTENNA_DIVERSITY - selected Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
9ba4954378
commit
951757e916
17 changed files with 42 additions and 944 deletions
|
@ -2197,7 +2197,6 @@ _func_exit_;
|
|||
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ANTENNA_DIVERSITY
|
||||
static void antenna_select_wk_hdl(_adapter *padapter, u8 antenna)
|
||||
{
|
||||
rtw_hal_set_hwreg(padapter, HW_VAR_ANTENNA_DIVERSITY_SELECT, (u8 *)(&antenna));
|
||||
|
@ -2247,9 +2246,7 @@ _func_exit_;
|
|||
return res;
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
void power_saving_wk_hdl(_adapter *padapter, u8 *pbuf, int sz);
|
||||
void power_saving_wk_hdl(_adapter *padapter, u8 *pbuf, int sz)
|
||||
{
|
||||
rtw_ps_processor(padapter);
|
||||
|
@ -2550,11 +2547,9 @@ u8 rtw_drvextra_cmd_hdl(_adapter *padapter, unsigned char *pbuf)
|
|||
rpt_timer_setting_wk_hdl(padapter, pdrvextra_cmd->type_size);
|
||||
break;
|
||||
#endif
|
||||
#ifdef CONFIG_ANTENNA_DIVERSITY
|
||||
case ANT_SELECT_WK_CID:
|
||||
antenna_select_wk_hdl(padapter, pdrvextra_cmd->type_size);
|
||||
break;
|
||||
#endif
|
||||
#ifdef CONFIG_P2P_PS
|
||||
case P2P_PS_WK_CID:
|
||||
p2p_ps_wk_hdl(padapter, pdrvextra_cmd->type_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue