linux/drivers/net/wireless/ath/ath10k
Rajkumar Manoharan fe6f36d621 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>
2014-12-23 17:18:27 +02:00
..
bmi.c ath10k: improve logging to include dev id 2014-08-26 19:04:48 +03:00
bmi.h ath10k: fix use of multiple blank lines 2014-09-18 10:45:20 +03:00
ce.c ath10k: implement wmi-tlv backend 2014-12-08 17:39:29 +02:00
ce.h ath10k: split ce pipe init/alloc further 2014-10-23 16:41:32 +03:00
core.c ath10k: add thermal cooling device support 2014-12-23 17:18:27 +02:00
core.h ath10k: add thermal cooling device support 2014-12-23 17:18:27 +02:00
debug.c ath10k: print ath10k wmi op version 2014-12-23 17:18:03 +02:00
debug.h ath10k: make wmi service bitmap non-debug 2014-12-01 09:09:28 +02:00
hif.h ath10k: remove transfer_id from ath10k_hif_cb::tx_completion 2014-12-01 09:13:36 +02:00
htc.c ath10k: remove transfer_id from ath10k_hif_cb::tx_completion 2014-12-01 09:13:36 +02:00
htc.h ath10k: fix use of multiple blank lines 2014-09-18 10:45:20 +03:00
htt.c ath10k: fix checkpatch warnings about parenthesis alignment 2014-09-18 10:41:18 +03:00
htt.h ath10k: simplify rx ring size/fill calculation 2014-12-01 09:29:27 +02:00
htt_rx.c ath10k: simplify rx ring size/fill calculation 2014-12-01 09:29:27 +02:00
htt_tx.c ath10k: set max_num_pending_tx in ath10k_core_init_firmware_features() 2014-12-08 17:38:44 +02:00
hw.h ath10k: add 10.2.4 firmware support 2014-12-23 17:18:12 +02:00
Kconfig ath10k: ATH10K_DEBUGFS depends on DEBUG_FS 2014-09-10 14:17:45 +03:00
mac.c ath10k: add 10.2.4 firmware support 2014-12-23 17:18:12 +02:00
mac.h ath10k: fix shared WEP 2014-11-26 08:37:08 +02:00
Makefile ath10k: add thermal cooling device support 2014-12-23 17:18:27 +02:00
pci.c ath10k: create a chip revision whitelist 2014-12-08 17:34:13 +02:00
pci.h ath10k: create a chip revision whitelist 2014-12-08 17:34:13 +02:00
rx_desc.h ath10k: fix use of multiple blank lines 2014-09-18 10:45:20 +03:00
spectral.c ath10k: introduce wmi ops 2014-12-08 17:39:08 +02:00
spectral.h ath10k: clean up phyerr code 2014-09-23 12:31:54 +03:00
targaddrs.h ath10k: fix use of multiple blank lines 2014-09-18 10:45:20 +03:00
testmode.c ath10k: introduce wmi ops 2014-12-08 17:39:08 +02:00
testmode.h ath10k: add testmode 2014-09-11 23:42:36 +03:00
testmode_i.h ath10k: add testmode 2014-09-11 23:42:36 +03:00
thermal.c ath10k: add thermal cooling device support 2014-12-23 17:18:27 +02:00
thermal.h ath10k: add thermal cooling device support 2014-12-23 17:18:27 +02:00
trace.c
trace.h ath10k: add pointer constness to traces 2014-12-01 09:05:26 +02:00
txrx.c ath10k: speed up hw recovery 2014-10-31 02:32:28 +02:00
txrx.h ath10k: fix Rx aggregation reordering 2014-07-25 11:15:39 +03:00
wmi-ops.h ath10k: add wmi support for pdev_set_quiet_mode 2014-12-23 17:18:21 +02:00
wmi-tlv.c ath10k: add wmi support for pdev_set_quiet_mode 2014-12-23 17:18:21 +02:00
wmi-tlv.h ath10k: implement wmi-tlv backend 2014-12-08 17:39:29 +02:00
wmi.c ath10k: add wmi support for pdev_set_quiet_mode 2014-12-23 17:18:21 +02:00
wmi.h ath10k: add 10.2.4 firmware support 2014-12-23 17:18:12 +02:00