]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: add peer flush in ath10k_flush for STATION
authorWen Gong <wgong@codeaurora.org>
Mon, 8 Oct 2018 09:02:43 +0000 (17:02 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 13 Oct 2018 17:24:40 +0000 (20:24 +0300)
commit71667c91d0a3fa08d3816fbbc6274920d4079e8a
tree024387952d878b6da2ec4ef1ee4fb577593d463d
parentba84544544bb915e9bd377b6f0b3881f274ec7ec
ath10k: add peer flush in ath10k_flush for STATION

In the noisy environment, if there are packets in the queue and can't
send out, the suspend timing will be more than 5 seconds due to the wait,
flush the queue to optimize the suspend timing, and let the upper layer to
retry the packets after resume.

Tested with QCA6174 PCI with firmware
WLAN.RM.4.4.1-00109-QCARMSWPZ-1, but this will also affect QCA9377 PCI.
It's not a regression with new firmware releases.

Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c