summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/Makefile
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>2014-12-17 12:22:07 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2014-12-23 17:18:27 +0200
commitfe6f36d62152ba85a8928e46fc2cbb919538c51d (patch)
treebd2bdba90078f7af4b53b54a7eda3ff8a8a4bb42 /drivers/net/wireless/ath/ath10k/Makefile
parentffdd738d90f0d9d609e3d790059ab4d351a75963 (diff)
downloadblackbird-op-linux-fe6f36d62152ba85a8928e46fc2cbb919538c51d.tar.gz
blackbird-op-linux-fe6f36d62152ba85a8928e46fc2cbb919538c51d.zip
ath10k: add thermal cooling device support
Thermal cooling device support is added to control the temperature by throttling the data transmission for the given duration. Throttling is done using hw MAC quiet time setting. Period, duration and offset from TBTT can be set up to quiet the MAC transmits for the required duty cycle (% of quiet duration). The thermal device allows user to configure duty cycle. The quiet params are derived as follows. period = max(25TU, beacon interval / number of bss) duration = period * duty cycle / 100 Quiet mode can be disabled by setting the duty cycle to 0. The cooling device can be found under /sys/class/thermal/cooling_deviceX/. Corresponding soft link to this device can be found under phy folder. /sys/class/ieee80211/phy*/device/cooling_device. To set duty cycle as 40%, echo 40 >/sys/class/ieee80211/phy*/device/cooling_device/cur_state 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/Makefile')
-rw-r--r--drivers/net/wireless/ath/ath10k/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/Makefile b/drivers/net/wireless/ath/ath10k/Makefile
index 8abb66ceb99c..ffa3b1a8745f 100644
--- a/drivers/net/wireless/ath/ath10k/Makefile
+++ b/drivers/net/wireless/ath/ath10k/Makefile
@@ -14,6 +14,7 @@ ath10k_core-y += mac.o \
ath10k_core-$(CONFIG_ATH10K_DEBUGFS) += spectral.o
ath10k_core-$(CONFIG_NL80211_TESTMODE) += testmode.o
ath10k_core-$(CONFIG_ATH10K_TRACING) += trace.o
+ath10k_core-$(CONFIG_THERMAL) += thermal.o
obj-$(CONFIG_ATH10K_PCI) += ath10k_pci.o
ath10k_pci-y += pci.o \
OpenPOWER on IntegriCloud