mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove CONFIG_XMIT_ACK and CONFIG_XMIT_ACK_POLLING
The first one was always selected. The second was not selected. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
99db2615c8
commit
5ded2b3ded
10 changed files with 1 additions and 103 deletions
|
@ -24,7 +24,6 @@
|
|||
#include <drv_types.h>
|
||||
#include <rtl8188e_hal.h>
|
||||
|
||||
#ifdef CONFIG_XMIT_ACK
|
||||
void dump_txrpt_ccx_88e(void *buf)
|
||||
{
|
||||
struct txrpt_ccx_88e *txrpt_ccx = (struct txrpt_ccx_88e *)buf;
|
||||
|
@ -61,7 +60,6 @@ void handle_txrpt_ccx_88e(struct adapter *adapter, u8 *buf)
|
|||
rtw_ack_tx_done(&adapter->xmitpriv, RTW_SCTX_DONE_CCX_PKT_FAIL);
|
||||
}
|
||||
}
|
||||
#endif /* CONFIG_XMIT_ACK */
|
||||
|
||||
void _dbg_dump_tx_info(struct adapter *padapter,int frame_tag,struct tx_desc *ptxdesc)
|
||||
{
|
||||
|
|
|
@ -414,7 +414,6 @@ if (padapter->registrypriv.mp_mode == 0)
|
|||
/* fill_txdesc_sectype(pattrib, ptxdesc); */
|
||||
|
||||
/* offset 8 */
|
||||
#ifdef CONFIG_XMIT_ACK
|
||||
/* CCX-TXRPT ack for xmit mgmt frames. */
|
||||
if (pxmitframe->ack_report) {
|
||||
#ifdef DBG_CCX
|
||||
|
@ -425,7 +424,6 @@ if (padapter->registrypriv.mp_mode == 0)
|
|||
#endif
|
||||
ptxdesc->txdw2 |= cpu_to_le32(BIT(19));
|
||||
}
|
||||
#endif /* CONFIG_XMIT_ACK */
|
||||
|
||||
/* offset 12 */
|
||||
ptxdesc->txdw3 |= cpu_to_le32((pattrib->seqnum<<SEQ_SHT)&0x0FFF0000);
|
||||
|
|
|
@ -1693,10 +1693,8 @@ HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_LCK);
|
|||
/* _InitPABias(Adapter); */
|
||||
rtw_write8(Adapter, REG_USB_HRPWM, 0);
|
||||
|
||||
#ifdef CONFIG_XMIT_ACK
|
||||
/* ack for xmit mgmt frames. */
|
||||
rtw_write32(Adapter, REG_FWHW_TXQ_CTRL, rtw_read32(Adapter, REG_FWHW_TXQ_CTRL)|BIT(12));
|
||||
#endif /* CONFIG_XMIT_ACK */
|
||||
|
||||
exit:
|
||||
HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_END);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue