diff options
| author | Po-Hao Huang <phhuang@realtek.com> | 2023-04-11 20:48:31 +0800 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2023-04-14 15:11:23 +0300 |
| commit | 6cfb6cc20a61aa17bdb5440459a3503a885ee913 (patch) | |
| tree | 81776acf8d49092dd7d605fc33dc87043107a7a8 /tools/perf/scripts/python/export-to-sqlite.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 <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230411124832.14965-5-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
