Pradeep Kumar Chitrapu <pradeepc@xxxxxxxxxxxxxx> writes: > 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@xxxxxxxxxxxxxx> [...] > +++ b/drivers/net/wireless/ath/ath11k/thermal.h > @@ -0,0 +1,40 @@ > +// SPDX-License-Identifier: BSD-3-Clause-Clear This had a warning: drivers/net/wireless/ath/ath11k/thermal.h:1: Improper SPDX comment style for 'drivers/net/wireless/ath/ath11k/thermal.h', please use '/*' instead drivers/net/wireless/ath/ath11k/thermal.h:1: Missing or malformed SPDX-License-Identifier tag in line 1 I fixed that in the pending branch. -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches