ath10k: enable debugfs provision to enable Peer Stats feature
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Wed, 16 Mar 2016 12:43:32 +0000 (18:13 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 23 Mar 2016 12:54:10 +0000 (14:54 +0200)
commitcc61a1bbbc0ebbda3cc155bcbe164f4609fd62f6
tree2c1776ab62442fc5a65cd685415a9446b61e15bc
parent3d9195ea19e4854d7daa11688b01905e244aead9
ath10k: enable debugfs provision to enable Peer Stats feature

Provide a debugfs entry to enable/ disable Peer Stats feature.
Peer Stats feature is for developers/users who are more interested
in studying in Rx/Tx stats with multiple clients connected, hence
disable this by default. Enabling this feature by default results
in unneccessary processing of Peer Stats event for every 500ms
and updating peer_stats list (allocating memory) and cleaning it up
ifexceeds the higher limit and this can be an unnecessary overhead
during long run stress testing.

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