rtw88: 8723de: adjust the LTR setting
authorChin-Yen Lee <timlee@realtek.com>
Wed, 13 Jan 2021 01:43:42 +0000 (09:43 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 25 Jan 2021 14:41:10 +0000 (16:41 +0200)
commit6598f32d9dfe2c5324c9dfd7046929104d390c74
treead22e20dde7d48c318b7bf0d9312ba242a0414dd
parent9264cabc12040dacc50f517e872d26d6e3a8a531
rtw88: 8723de: adjust the LTR setting

The LTR mechanism enables PCIE Endpoints to report the service latency
requirements and CPU will enter appropriate sleep state to save power
based on the LTR value.

8723de provides two registers to config the LTR, and the original setting
is too short for CPU to ente sleep state. The patch adjust the LTR setting.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210113014342.3615-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8723d.c