staging: rtl8723au: Eliminate HW_VAR_BEACON_INTERVAL
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ea0cd73023
commit
477f008d55
|
@ -712,7 +712,7 @@ static void start_bss_network(struct rtw_adapter *padapter, u8 *pbuf)
|
|||
rtw_hal_set_hwreg23a(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8));
|
||||
|
||||
/* Beacon Control related register */
|
||||
rtw_hal_set_hwreg23a(padapter, HW_VAR_BEACON_INTERVAL, (u8 *)(&bcn_interval));
|
||||
rtl8723a_set_beacon_interval(padapter, bcn_interval);
|
||||
|
||||
UpdateBrateTbl23a(padapter, pnetwork->SupportedRates);
|
||||
HalSetBrateCfg23a(padapter, pnetwork->SupportedRates);
|
||||
|
|
|
@ -8722,7 +8722,7 @@ void mlmeext_joinbss_event_callback23a(struct rtw_adapter *padapter, int join_re
|
|||
HalSetBrateCfg23a(padapter, cur_network->SupportedRates);
|
||||
|
||||
/* BCN interval */
|
||||
rtw_hal_set_hwreg23a(padapter, HW_VAR_BEACON_INTERVAL, (u8 *)(&pmlmeinfo->bcn_interval));
|
||||
rtl8723a_set_beacon_interval(padapter, pmlmeinfo->bcn_interval);
|
||||
|
||||
/* udpate capability */
|
||||
update_capinfo23a(padapter, pmlmeinfo->capability);
|
||||
|
|
|
@ -3143,10 +3143,6 @@ void SetHwReg8723A(struct rtw_adapter *padapter, u8 variable, u8 *val)
|
|||
rtl8723a_set_bcn_func(padapter, *val);
|
||||
break;
|
||||
|
||||
case HW_VAR_BEACON_INTERVAL:
|
||||
rtl8723a_set_beacon_interval(padapter, *((u16 *) val));
|
||||
break;
|
||||
|
||||
case HW_VAR_SLOT_TIME:
|
||||
rtl8723a_set_slot_time(padapter, *val);
|
||||
break;
|
||||
|
|
|
@ -39,7 +39,6 @@ enum HW_VARIABLES {
|
|||
HW_VAR_INIT_RTS_RATE,
|
||||
HW_VAR_TXPAUSE,
|
||||
HW_VAR_BCN_FUNC,
|
||||
HW_VAR_BEACON_INTERVAL,
|
||||
HW_VAR_SLOT_TIME,
|
||||
HW_VAR_RESP_SIFS,
|
||||
HW_VAR_ACK_PREAMBLE,
|
||||
|
|
Loading…
Reference in a new issue