mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: FRemove dead code for other than USB
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
5a2939fa9e
commit
2d60bad9ad
66 changed files with 229 additions and 4045 deletions
|
@ -195,12 +195,8 @@ static void update_BCNTIM(struct adapter *padapter)
|
|||
}
|
||||
|
||||
#ifndef CONFIG_INTERRUPT_BASED_TXBCN
|
||||
#if defined(CONFIG_USB_HCI) || defined(CONFIG_SDIO_HCI) || defined(CONFIG_GSPI_HCI)
|
||||
set_tx_beacon_cmd(padapter);
|
||||
#endif
|
||||
#endif //!CONFIG_INTERRUPT_BASED_TXBCN
|
||||
|
||||
|
||||
}
|
||||
|
||||
void rtw_add_bcn_ie(struct adapter *padapter, WLAN_BSSID_EX *pnetwork, u8 index, u8 *data, u8 len)
|
||||
|
@ -1355,13 +1351,9 @@ static void start_bss_network(struct adapter *padapter, u8 *pbuf)
|
|||
update_beacon(padapter, _TIM_IE_, NULL, _FALSE);
|
||||
|
||||
#ifndef CONFIG_INTERRUPT_BASED_TXBCN //other case will tx beacon when bcn interrupt coming in.
|
||||
#if defined(CONFIG_USB_HCI) || defined(CONFIG_SDIO_HCI) || defined(CONFIG_GSPI_HCI)
|
||||
//issue beacon frame
|
||||
if(send_beacon(padapter)==_FAIL)
|
||||
{
|
||||
DBG_871X("issue_beacon, fail!\n");
|
||||
}
|
||||
#endif
|
||||
#endif //!CONFIG_INTERRUPT_BASED_TXBCN
|
||||
|
||||
}
|
||||
|
@ -2146,17 +2138,10 @@ void update_beacon(struct adapter *padapter, u8 ie_id, u8 *oui, u8 tx)
|
|||
_exit_critical_bh(&pmlmepriv->bcn_update_lock, &irqL);
|
||||
|
||||
#ifndef CONFIG_INTERRUPT_BASED_TXBCN
|
||||
#if defined(CONFIG_USB_HCI) || defined(CONFIG_SDIO_HCI) || defined(CONFIG_GSPI_HCI)
|
||||
if(tx)
|
||||
{
|
||||
if(tx) {
|
||||
//send_beacon(padapter);//send_beacon must execute on TSR level
|
||||
set_tx_beacon_cmd(padapter);
|
||||
}
|
||||
#else
|
||||
{
|
||||
//PCI will issue beacon when BCN interrupt occurs.
|
||||
}
|
||||
#endif
|
||||
#endif //!CONFIG_INTERRUPT_BASED_TXBCN
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue