public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Samuel Reyes <zohrlaffz@gmail.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: RTL8922AE driver issues
Date: Mon, 5 May 2025 08:51:34 +0000	[thread overview]
Message-ID: <0cf9bd4b99864f428175e34a2f2e014b@realtek.com> (raw)
In-Reply-To: <CAD+XiyEJo0m8L6PbmBD=NPPa0E_wX3kk4ezn1qZ0d8JGXsS1qQ@mail.gmail.com>

Samuel Reyes <zohrlaffz@gmail.com> 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




  reply	other threads:[~2025-05-05  8:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-05  3:50 RTL8922AE driver issues Samuel Reyes
2025-05-05  8:51 ` Ping-Ke Shih [this message]
2025-05-05 17:12   ` Samuel Reyes
2025-05-06  2:11     ` Ping-Ke Shih
     [not found]       ` <CAD+XiyEQPt9HGngt0XBB7Hf=0tDHHcU+3=E20vhPnC3VL1Y+vg@mail.gmail.com>
     [not found]         ` <31b6571789b34b95aca2bca73dca2d62@realtek.com>
2025-05-08 20:34           ` Samuel Reyes
2025-05-09  0:38             ` Ping-Ke Shih
2025-05-09  6:17               ` Samuel Reyes
2025-05-09  7:00                 ` Ping-Ke Shih
2025-05-09 16:49                   ` Samuel Reyes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0cf9bd4b99864f428175e34a2f2e014b@realtek.com \
    --to=pkshih@realtek.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=zohrlaffz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox