Search Linux Wireless

MT7921U USB WiFi instability on OpenWRT (mt76 driver) – deauth after ~24h, phy2-sta0 netdevice lockup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm encountering a reproducible stability issue with the*MediaTek MT7921U USB WiFi adapter*under*OpenWRT*(tested with both 23.05.5 and 24.10.2 builds), using the upstream*mt76*driver.

https://forum.openwrt.org/t/beryl-ax-mt7921u-usb-phy-sta0-wedged-after-24hrs


     Problem Summary:

After ~24 hours of continuous use in client mode (|phy2-sta0|,|wlan2|), the adapter:

 *

   disconnects from the AP with a*deauthentication*

 *

   triggers a kernel log:

   |unregister_netdevice: waiting for phy2-sta0 to become free. Usage
   count = 1 |

 *

   does not recover without a full reboot

 *

   continues to be visible via|iw|or|ip|commands, but cannot rejoin
   networks or reset


     System Details:

 *

   *Hardware*: MT7921U USB WiFi adapter (based on MediaTek chipset)

 *

   *Driver*:|mt76-usb|from mainline (OpenWRT kernel 5.15 and 6.1 tested)

 *

   *Platform*: OpenWRT x86_64 and ARM routers

 *

   *Mode*: STA (client) mode only, acting as WAN uplink

 *

   *Interface*:|phy2-sta0|


     Logs:

Example|iw dev phy2-sta0 link|and|station dump|show healthy connection before failure, followed by:

 *

   sudden drop in traffic

 *

   deauth

 *

   log spam with netdevice not freeing

(Full dmesg trace and debug logs available on request)


     Attempts to resolve:

 *

   Disabled power saving and powersave quirks

 *

   Reloading|mt76|modules: not sufficient to recover

 *

   Trying OpenWRT snapshots with newer kernel and latest firmware

 * Problem is seen with 2.4GHz or 5GHz

 * OIR of the module did not help

 * The USB stick is not HW broken as I am not able to reproduce the
   issue in my home-network with the same settings for days



     Request:

Could you please help investigate or point to what additional logs or patches I could test?


Let me know if I can assist with logs, traces, or testing patches.


Thanks,

Richard





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux