Howard HsuandFelix Fietkau 8e5c21fe7c wifi: mt76: mt7915: rework mt7915_mcu_set_thermal_throttling
This patch includes 2 changes:
1. Firmware expects to disable thermal protect first before
reconfiguring.
2. Separate setting thermal_protect and setting thermal_tx_duty into
different functions. These two firmware commands do not need to send
together.

Fixes: 34b877d972be ("mt76: mt7915: add thermal cooling device support")
Reviewed-by: Ryder Lee <[email protected]>
Signed-off-by: Howard Hsu <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
2023-01-23 10:32:48 +01:00
2022-12-10 13:11:04 +01:00
2021-04-14 09:12:11 +02:00
2022-12-31 08:47:20 +01:00
2022-12-10 13:11:04 +01:00
2022-12-10 13:11:04 +01:00
2022-12-10 13:11:04 +01:00
2021-04-17 11:19:58 +02:00
2022-12-10 13:11:04 +01:00
2022-12-10 13:11:04 +01:00
2020-06-16 22:05:14 +02:00
2019-08-22 09:26:30 +02:00
2022-12-10 13:11:04 +01:00
S
Description
mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
BSD-3-Clause
105 MiB
Languages
C 99.7%
Perl 0.2%
Makefile 0.1%