wifi: rtw89: pci: enlarge retry times of RX tag to 1000
Ping-Ke Shih
maintainerPATCH 1/1 wifi: rtw89: pci: enlarge retry times of RX tag to 1000
RX tag is sequence number to ensure RX DMA is complete. On platform Gigabyte X870 AORUS ELITE WIFI7, sometimes it needs longer retry times to complete RX DMA, or driver throws warnings and connection drops:
rtw89_8922ae 0000:07:00.0: failed to update 162 RXBD info: -11 rtw89_8922ae 0000:07:00.0: failed to update 163 RXBD info: -11 rtw89_8922ae 0000:07:00.0: failed to update 32 RXBD info: -11 rtw89_8922ae 0000:07:00.0: failed to release TX skbs
--- drivers/net/wireless/realtek/rtw89/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/realtek/rtw89/pci.c +1 -1
@@ -228,7 +228,7 @@ int rtw89_pci_sync_skb_for_device_and_validate_rx_info(struct rtw89_dev *rtwdev, struct sk_buff *skb) {struct rtw89_pci_rx_info *rx_info =RTW89_PCI_RX_SKB_CB (skb); -int rx_tag_retry =100 ; +int rx_tag_retry =1000 ;int ret; do {
Signature · 1 line
2.25.1
Ping-Ke Shih
maintainerQuoted 9 lines · Ping-Ke Shih
RX tag is sequence number to ensure RX DMA is complete. On platform Gigabyte X870 AORUS ELITE WIFI7, sometimes it needs longer retry times to complete RX DMA, or driver throws warnings and connection drops:
rtw89_8922ae0000:07:00.0: failed to update 162 RXBD info: -11rtw89_8922ae0000:07:00.0: failed to update 163 RXBD info: -11rtw89_8922ae0000:07:00.0: failed to update 32 RXBD info: -11rtw89_8922ae0000:07:00.0: failed to release TX skbs
Quoted 4 lines
Fixes 0bc7d1d4e63c ("wifi: rtw89: pci: validate RX tag for RXQ and RPQ")Reported-by Samuel Reyes <[email protected]>Signed-off-by Ping-Ke Shih <[email protected]>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
dda27a47c036 wifi: rtw89: pci: enlarge retry times of RX tag to 1000