]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath10k: add per peer htt tx stats support for 10.4
authorAnilkumar Kolli <akolli@qti.qualcomm.com>
Wed, 23 Nov 2016 14:58:10 +0000 (16:58 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 23 Nov 2016 19:40:02 +0000 (21:40 +0200)
commitcec17c382140a17ad54853a4b57a84588f090806
treee55f453a49817441976d84c080f0eea453c0d62e
parent3fea18d079e2f1f50bc2a37db826c9e6e8a4003e
ath10k: add per peer htt tx stats support for 10.4

Per peer tx stats are part of 'HTT_10_4_T2H_MSG_TYPE_PEER_STATS'
event, Firmware sends one HTT event for every four PPDUs.
HTT payload has success pkts/bytes, failed pkts/bytes, retry
pkts/bytes and rate info per ppdu.
Peer stats are enabled through 'WMI_SERVICE_PEER_STATS',
which are nowadays enabled by default.

Parse peer stats and update the tx rate information per STA.

tx rate, Peer stats are tested on QCA4019 with Firmware version
10.4-3.2.1-00028.

Signed-off-by: Anilkumar Kolli <akolli@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/htt.c
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/wmi.h