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)
commitc4756d5de72e549fdaa32a1fab12ae776fca5be7
treedeadf962e09547dacff18f77e375cefa4b4c960f
parent9a3a593cba9a6743022ab742c01b06280e8a288a
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