ath10k: increase duty cycle maximum limit
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Thu, 19 Feb 2015 17:55:05 +0000 (23:25 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 7 Mar 2015 07:52:25 +0000 (09:52 +0200)
Allow user to configure the duty cycle upto 100%. Since thermal
mitigation algorithm is running in user space, remove the driver
level limitation and let the user to control the temperature.

Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/thermal.h

index bccc17ae0fde12d61a7567596a56a8900cca7749..5e87d9a8fe2500065f84c7d814630c11894eeafa 100644 (file)
@@ -19,7 +19,7 @@
 #define ATH10K_QUIET_PERIOD_DEFAULT     100
 #define ATH10K_QUIET_PERIOD_MIN         25
 #define ATH10K_QUIET_START_OFFSET       10
-#define ATH10K_QUIET_DUTY_CYCLE_MAX     70
+#define ATH10K_QUIET_DUTY_CYCLE_MAX     100
 #define ATH10K_HWMON_NAME_LEN           15
 #define ATH10K_THERMAL_SYNC_TIMEOUT_HZ (5*HZ)