Big update, I updated my motherboard to the newest BIOS (vF4) and it has helped dramatically with the amount of errors in dmesg. But the issue with the connection dropping after some time remains. I added amd_iommu=off to my kernel parameters and ran sudo iw wlan0 set power_save off. I did NOT apply the kernel patch you included yet. I ran dmesg when my connection dropped and saw a bunch of 'failed to update XX RXBD info: -11' errors again. I managed to capture the connection drop in a recording so you can see what it looks like on my end. My connection will remain 'broken' indefinitely until I toggle airplane mode. Video: https://youtu.be/BbVlTU8K9Hg Thanks for your help! Samuel Reyes On Mon, May 5, 2025 at 2:51 AM Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > > Samuel Reyes <zohrlaffz@xxxxxxxxx> wrote: > > > > Hello, > > > > My WiFi has intermittent connection issues on Arch. My motherboard is > > a Gigabyte X870 AORUS ELITE WIFI7. > > > > Even when installing Arch my connection was unstable, dmesg -T is > > littered with entries like this: > > 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 > > Could you help to enlarge retry count? or even larger. > > --- a/drivers/net/wireless/realtek/rtw89/pci.c > +++ b/drivers/net/wireless/realtek/rtw89/pci.c > @@ -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 { > > > Since this motherboard is AMD platform, please also try to turn off IOMMU > via kernel command line amd_iommu=off to see it can help. > > > > > My connection can remain active for a long time but will occasionally > > disconnect. Toggling Airplane Mode fixes the issue. Prolonged > > downloads, such as a large video game, causes the connection to drop > > several times. Toggling Airplane Mode lets the game begin download > > each time. > > Not very sure if disconnection is related to above messages. Try to > disable power save to see if it becomes stable by > > sudo iw wlan0 set power_save off > > >