diff options
author | Po-Hao Huang <[email protected]> | 2023-04-11 20:48:31 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-04-14 15:11:23 +0300 |
commit | 6cfb6cc20a61aa17bdb5440459a3503a885ee913 (patch) | |
tree | 81776acf8d49092dd7d605fc33dc87043107a7a8 /tools/perf/scripts/python/task-analyzer.py | |
parent | a0e97ae3f3320a246a79db7372fc23a38556014e (diff) |
wifi: rtw89: add flag check for power state
Use POWER_ON flag to make sure power on/off is symmetric. Since both
remain_on_channel and hw_scan both alter the power state, this makes
sure that we don't enter/leave IPS mode twice.
Also, replace IPS related functions with inline function that does
similar logic so we can track it more easily.
Signed-off-by: Po-Hao Huang <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions