diff options
author | Pradeep Kumar Chitrapu <pradeepc@codeaurora.org> | 2020-02-15 05:55:21 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-03-11 18:47:07 +0200 |
commit | 2a63bbca06b2508a8ae72956cddffbb53605e9b8 (patch) | |
tree | 16ed464feefd8f4d0e9aaa9dcbc0d0dde8a7446b /samples/bpf | |
parent | f9680c75d187f2d5b9288c02f7a432041d4447b4 (diff) |
ath11k: 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 by suspending all data tx queues by given percentage of time. The
thermal device allows user to configure duty cycle.
Throttling 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: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'samples/bpf')
0 files changed, 0 insertions, 0 deletions