rtw88: raise LPS threshold to 50, for less power consumption
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Fri, 1 Nov 2019 05:19:42 +0000 (13:19 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 6 Nov 2019 17:55:37 +0000 (19:55 +0200)
commitbf9840ccf8efbdac755772501bd05f6662e1d799
tree21e8a2cf09676b915c5c4e37aed2ae457d592c2b
parentea7ad5f12ca2e1b067d6177ee0141a96ae8f1c53
rtw88: raise LPS threshold to 50, for less power consumption

The LPS threshold was set to 2, means driver will leave LPS
mode if there is more than 2 frames TX/RX for every 2 seconds.
This makes driver enter/leave LPS frequently even if we just
"ping -i1" to the others.

Apparently we do not want to leave LPS mode if there is only
some background traffics or web surfing. By experiment, set
this to 50 is a more reasonable value to lower the over all
power consumption.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/ps.h