diff options
| author | Sean Wang <[email protected]> | 2021-11-20 07:22:11 +0800 |
|---|---|---|
| committer | Felix Fietkau <[email protected]> | 2021-12-19 15:24:00 +0100 |
| commit | 5ad4faca7690a88b4529238c757b6b8ead8056ec (patch) | |
| tree | 797716d5c4374ac5ca21547e167a70dade5c5ecb /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 6906aa93eb93d54a42ce1902f00d6ea04ecb039b (diff) | |
mt76: mt7921s: fix the device cannot sleep deeply in suspend
According to the MT7921S firmware, the cmd MCU_UNI_CMD_HIF_CTRL have to
be last MCU command to execute in suspend handler and all data traffic
have to be stopped before the cmd MCU_UNI_CMD_HIF_CTRL starts as well
in order that mt7921 can successfully fall into the deep sleep mode.
Where we reuse the flag MT76_STATE_SUSPEND and avoid creating
another global flag to stop all of the traffic onto the SDIO bus.
Fixes: 48fab5bbef40 ("mt76: mt7921: introduce mt7921s support")
Reported-by: Leon Yen <[email protected]>
Signed-off-by: Sean Wang <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions