]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: start a timer to update TCL HP
authorCarl Huang <cjhuang@codeaurora.org>
Thu, 1 Oct 2020 09:34:46 +0000 (12:34 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 1 Oct 2020 19:33:09 +0000 (22:33 +0300)
commitc8dd6ac903a12991af68a9bff71d4d2c20c7b274
treed149fdc77e843a9b6e3a482bcdb2114becfcaa68
parent53480ff823db36906b632d92ea36ea46f2817643
ath11k: start a timer to update TCL HP

The timer is to check if TCL HP isn't updated to target.
The timer will postpone itself if there are TX operations
during the interval, otherwise the timer handler updates
the HP again so the index value in HP register will be
forwarded to target register, and the timer stops afterwards.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Carl Huang <cjhuang@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1601544890-13450-5-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/dp.c
drivers/net/wireless/ath/ath11k/dp.h
drivers/net/wireless/ath/ath11k/dp_tx.c
drivers/net/wireless/ath/ath11k/hal.c
drivers/net/wireless/ath/ath11k/hal.h