]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: rtw89: fix long RX latency in low power mode
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 10 Jun 2022 07:26:08 +0000 (15:26 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 21 Jun 2022 06:15:48 +0000 (09:15 +0300)
commit3eed6647243b5ad27179b254a268e3b760e544a4
treedeadf962e09547dacff18f77e375cefa4b4c960f
parent76a6949066ff662c0796e77a5a9f7cf61b345963
wifi: rtw89: fix long RX latency in low power mode

In low power mode, regular IO is power off, so we don't schedule napi to
poll RX and TX completion. Therefore, calling ieee80211_rx_napi() with
napi instance causes long RX latency. To fix this, use NULL as argument,
and then it can use netif_receive_skb_list() to receive.

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