]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: enabling tx stats support over pktlog
authorBalaji Pothunoori <bpothuno@codeaurora.org>
Mon, 13 May 2019 14:53:07 +0000 (20:23 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 12:56:13 +0000 (15:56 +0300)
commit7568157fda8d839d5b8596795c8827f937f3f365
tree5f365c927562f33e548f76234b71d600718b47f6
parentf5d4206ff0d57a33c4522717e1f46fd79b0d0965
ath10k: enabling tx stats support over pktlog

For QCA988X target, pktlog gives details of the tx bitrate
which is used in the driver for station info.

Enabling pktlog by default will cause more interrupts
in target to host CE pipe, which can impact more CPU usage
for targets ex:WCN3990 and also not required for all other
platforms (eg: WCN3990), for getting tx bitrate.

Enable pktlog only for QCA988X based on hardware params.

Tested HW : WCN3990
Tested FW : WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1

Fixes: a20c57ff623c ("ath10k: add per peer tx stats support for 10.2.4")
Signed-off-by: Balaji Pothunoori <bpothuno@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/hw.h
drivers/net/wireless/ath/ath10k/mac.c