]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: pci: enlarge retry times of RX tag to 1000
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 9 May 2025 01:34:33 +0000 (09:34 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 16 May 2025 00:31:54 +0000 (08:31 +0800)
commitdda27a47c036d981ec664ac57e044a21035ffe12
tree1576ffaae4dd947f08c1710554ccedc0eebd7513
parentd105652b33245162867ac769bea336976e67efb8
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

Fixes: 0bc7d1d4e63c ("wifi: rtw89: pci: validate RX tag for RXQ and RPQ")
Reported-by: Samuel Reyes <zohrlaffz@gmail.com>
Closes: https://lore.kernel.org/linux-wireless/f4355539f3ac46bbaf9c586d059a8cbb@realtek.com/T/#t
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250509013433.7573-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/pci.c