summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/thermal.h
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>2015-03-15 18:06:20 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2015-03-23 18:15:59 +0300
commit63fb32df9786733af85d243877d585ccad36490a (patch)
treec1119947c0a7ba93b112800baf8392810f4a95e2 /drivers/net/wireless/ath/ath10k/thermal.h
parent4705e34ee535a24a10dfe2d5a3eccb3245ead7e4 (diff)
downloadlinux-63fb32df9786733af85d243877d585ccad36490a.tar.xz
ath10k: add debugfs entry to configure quiet period
Add support to configure quiet period (in milliseconds) via debugfs. This is useful to experiment different quiet period values along with different throttle ratio. echo 100 > /sys/kernel/debug/ieee80211/phyX/ath10k/quiet_period Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/thermal.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/thermal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/thermal.h b/drivers/net/wireless/ath/ath10k/thermal.h
index 5e87d9a8fe25..050f41dd0398 100644
--- a/drivers/net/wireless/ath/ath10k/thermal.h
+++ b/drivers/net/wireless/ath/ath10k/thermal.h
@@ -29,6 +29,7 @@ struct ath10k_thermal {
/* protected by conf_mutex */
u32 duty_cycle;
+ u32 quiet_period;
/* temperature value in Celcius degree
* protected by data_lock
*/