Message ID | 20221214022809.32087-1-howard-yh.hsu@mediatek.com (mailing list archive) |
---|---|
Headers | show |
Series | rework thermal protection | expand |
Il 14/12/22 03:28, Howard Hsu ha scritto: > Rework thermal protection with the following changes: > 1. Send thermal fw commands only after mcu init done. > 2. Firmware expects to disable thermal protect before reconfiguring thermal protect. > 3. Send fw commands through mt7915_thermal_temp_store() to update firmware > temperature directly. > 4. Add error messages for invalid setting. > > Howard Hsu (4): > wifi: mt76: mt7915: call mt7915_mcu_set_thermal_throttling() only > after init_work > wifi: mt76: mt7915: rework mt7915_mcu_set_thermal_throttling > wifi: mt76: mt7915: rework mt7915_thermal_temp_store() > wifi: mt76: mt7915: add error message in > mt7915_thermal_set_cur_throttle_state() > > .../net/wireless/mediatek/mt76/mt7915/init.c | 32 +++++++---- > .../net/wireless/mediatek/mt76/mt7915/main.c | 11 ++++ > .../net/wireless/mediatek/mt76/mt7915/mcu.c | 54 +++++++++++-------- > .../wireless/mediatek/mt76/mt7915/mt7915.h | 6 +++ > 4 files changed, 70 insertions(+), 33 deletions(-) > For the entire series: Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>