]> 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)
commitcc5fd91f733333bcae4a6802b50ccc110c797e56
tree024387952d878b6da2ec4ef1ee4fb577593d463d
parentbb62328918d8b03b3902fb0fe9b296f5879b4e33
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