]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: provision to support periodic peer stats update
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Wed, 13 Jan 2016 15:46:32 +0000 (21:16 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 26 Jan 2016 14:47:37 +0000 (16:47 +0200)
commit6a3c2e74ec2e14167ed344870911579b7c1767e6
treeb1b6884fa16dd14486f8bc356e44a352f262c3ba
parenteea8ca1cd2e3ccc247bb17b12f6f3520a84c7e85
ath10k: provision to support periodic peer stats update

Enable support for periodic peer stats update when peer stats
service is enabled. The host to update the peer stats received
from the firmware periodically, since firmware will reset this to zero
after sometime (due to memory constraints)

While enabling periodic peer / vdev stats cleanup the existing
list in debugfs if max limit is reached, so that the new stats is
updated.

Ideally speaking based on 'Michal Kazior's' suggestion
we need to completely move to periodic update of all the stats making
the 'ping - pong' method obselete. This requires a bit of re-work and
some testing as well, also confirmation regarding backward comptability
for various firmware and chipsets. Hence allow periodic update only
for peer_stats.

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c