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)
commit4fa42adebe5b77215e50eaad701663c8702d3c88
tree5f365c927562f33e548f76234b71d600718b47f6
parentef9cc0c443944fcf9dc7cdf2cfdf3975848bedc4
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: e8123bb74c4e ("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