]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath10k: add accounting for the extended peer statistics
authorChristian Lamparter <chunkeey@googlemail.com>
Mon, 5 Dec 2016 21:52:45 +0000 (22:52 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 13 Jan 2017 13:27:37 +0000 (15:27 +0200)
commitc1e3330f22bc3c53e6a2c4282dd5a1dc6e6bcca1
treea4ee55a017923974f9597bc99f2bd244b9228b4d
parentbc1efd739b610a9cda31b82971b7a1e64a6144d1
ath10k: add accounting for the extended peer statistics

The 10.4 firmware adds extended peer information to the
firmware's statistics payload. This additional info is
stored as a separate data field and the elements are
stored in their own "peers_extd" list.

These elements can pile up in the same way as the peer
information elements. This is because the
ath10k_wmi_10_4_op_pull_fw_stats() function tries to
pull the same amount (num_peer_stats) for every statistic
data unit.

Fixes: 4a49ae94a448faa ("ath10k: fix 10.4 extended peer stats update")
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c