rtw89: ps: fine tune polling interval while changing low power mode
authorPing-Ke Shih <pkshih@realtek.com>
Tue, 3 May 2022 11:59:57 +0000 (19:59 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 4 May 2022 05:32:04 +0000 (08:32 +0300)
commit39a7652103ff5f052b5eff944a1ed3d607f747f7
tree34182c3f09fb974d7e2b6deeefe47d4010f44cfd
parent78af3cc673567c0978a8d4d610e5b8e88b01717c
rtw89: ps: fine tune polling interval while changing low power mode

By experiments, it spends ~45/1090~2480us to enter/leave low power mode,
so the old polling interval 1000us can waste time. Use smaller polling
interval depends on experimental results to reduce the time to transition
state.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220503120001.79272-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.c