rtw89: pci: add a separate interrupt handler for low power mode
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 21 Apr 2022 12:08:53 +0000 (20:08 +0800)
committerKalle Valo <kvalo@kernel.org>
Sun, 24 Apr 2022 11:30:34 +0000 (14:30 +0300)
commitc83dcd0508e231f909be3f52fee5ccf4844896c8
tree44fe6ae0b9e0e750f158f4590a8fd4192ce4fe6f
parent837202684657c2829bcdc057c1d25db751a6587b
rtw89: pci: add a separate interrupt handler for low power mode

In lower power mode, there are very low amount of RX, and it must process
in a separated function instead of schedule_napi(), because the existing
napi_poll does many things to optimize performance, but not all registers
can access in low power mode. The simple way is to use threadfn to process
the simple thing.

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