]> git.baikalelectronics.ru Git - kernel.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)
commiteee91e9dffc19130ba7cf855be44abbe3a5cfa56
treee55f453a49817441976d84c080f0eea453c0d62e
parent87eb0e1e41ddfecf74edb93f9208dcb1f7c4df45
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