wifi: rtw88: Skip high queue in hci_flush
authorPo-Hao Huang <phhuang@realtek.com>
Fri, 16 Jun 2023 12:55:37 +0000 (20:55 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 21 Jun 2023 09:41:45 +0000 (12:41 +0300)
commit9e09fbc5e90247fc6e77fb6ba72dcbf8088cf59a
treec027b4dcae23928988a2cbd73a4285a3ba678b33
parent076f786a0ae14a81f40314b96a2d815e264bc213
wifi: rtw88: Skip high queue in hci_flush

The flush period may not always intersect with DTIM and when that
happens, an error log "timed out to flush pci TX ring[6]" is shown.
Bypass this since hardware will do proper transmission on the next
DTIM period for broadcast/multicast packets in high queue.

Signed-off-by: Po-Hao Huang <phhuang@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/20230616125540.36877-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/pci.c