]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: pci: enable LTR based on pcie control register
authorDian-Syuan Yang <dian_syuan0116@realtek.com>
Fri, 15 May 2026 01:44:24 +0000 (09:44 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 25 May 2026 05:55:58 +0000 (13:55 +0800)
commit779bbe1902f29d0ef131249ddd42a8dfbe21d0fb
tree83b99db8ee9f9a009e2765714018b16f94a49495
parent125fd4514fa8ca355a6b8e45bf4ff319c483a77b
wifi: rtw89: pci: enable LTR based on pcie control register

Originally, driver always transmits LTR (Latency Tolerance Reporting) to
pcie host, but it may cause pcie link down on some platforms because
LTR is not supported. As a result, driver will check the control
register of LTR setting to decide whether to enable LTR feature.

This applies to Wi-Fi 6 chips only. For Wi-Fi 7 chips, although the
driver still issues LTR, the hardware has its own internal logic
to determine whether to actually transmit it to pcie host.

Signed-off-by: Dian-Syuan Yang <dian_syuan0116@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260515014433.16168-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/pci.c