Commit 04a041c9 authored by Wen Gong's avatar Wen Gong Committed by chrome-bot
Browse files

UPSTREAM: ath10k: add waiting htt tx complete before wow enable



If there are some tx packets pending in firmware, and then system
enters suspend, firmware will fail for wow enable. This will trigger
mac80211 to stop ath10k and download firmware again, then it is
non-wow suspend.

After add the waiting htt tx complete, then firmware will have some
time window to send or flush the pending tx packets.

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: default avatarWen Gong <wgong@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>

(cherry picked from commit 828853ac)

BUG=b:113962643
TEST=Test with tx traffic and do wow suspend success.

Change-Id: I00fd2d0ac52045c9a0ac6308074be0f41640035c
Signed-off-by: default avatarWen Gong <wgong@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/1205676


Commit-Ready: Brian Norris <briannorris@chromium.org>
Tested-by: default avatarBrian Norris <briannorris@chromium.org>
Reviewed-by: default avatarBrian Norris <briannorris@chromium.org>
parent fb19733a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment