wifi: rtw89: fix potential TX stuck
authorKuan-Chung Chen <damon.chen@realtek.com>
Fri, 10 Jun 2022 07:26:04 +0000 (15:26 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 21 Jun 2022 06:15:47 +0000 (09:15 +0300)
commit29363fb666bc8deee5acf27a3966f14ff63189d6
tree3f9bc7e7f1f8e752920f33684af508a8c9ac3daf
parent6a5a783a71cf47ad65ddf8904a71b43d303f2668
wifi: rtw89: fix potential TX stuck

The potential TX stuck occurs when there are lots of packets to be
transmitted and the boundary of the tx_resource is hit. Add this
patch to avoid the TX stuck when burst traffic.

Signed-off-by: Kuan-Chung Chen <damon.chen@realtek.com>
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-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c