Search Linux Wireless

MT7922: Frequent disconnects and a failure to bring up on boot

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

 



Hi all.

I have this device, in NixOS 25.05, on a Framework 16 laptop:

01:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
        Subsystem: MEDIATEK Corp. Device [14c3:e616]
Flags: bus master, fast devsel, latency 0, IRQ 131, IOMMU group 13
        Memory at 7810900000 (64-bit, prefetchable) [size=1M]
        Memory at 90b00000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: [80] Express Endpoint, IntMsgNum 0
        Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+
        Capabilities: [f8] Power Management version 3
Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?>
        Capabilities: [108] Latency Tolerance Reporting
        Capabilities: [110] L1 PM Substates
        Capabilities: [200] Advanced Error Reporting
        Kernel driver in use: mt7921e
        Kernel modules: mt7921e

Unless I disable power management on the card, it pretty frequently
randomly disconnects from the AP. Sometimes it runs for half a day,
sometimes it disconnects every 10-20 minutes. This is pretty consistent
across kernel versions (6.6.93 up to 6.15.3 at least) and firmware
revisions back to Feb 2024. Disabling power management ("iw dev wlp1s0
set power_save off") seems to make the connections stable. My usual
setup is an environment with a few different APs with the same SSID,
some with good signals and some others with very weak signals, but that
may not matter; I've also seen the dropouts when it's connected to just
a single AP (even just when tethering to my phone which is sitting on
the table right next to the machine.)

I started running 6.15.5 to test, don't really have much to say yet
in terms of whether it shows the disconnects also, but I just saw it
completely fail to bring up the card on boot:

[ 2.360745] usb 1-5: new high-speed USB device number 7 using xhci_hcd [ 2.512351] usb 1-5: New USB device found, idVendor=0e8d, idProduct=e616, bcdDevice= 1.00 [ 2.513874] usb 1-5: New USB device strings: Mfr=5, Product=6, SerialNumber=7
[    2.515263] usb 1-5: Product: Wireless_Device
[    2.516510] usb 1-5: Manufacturer: MediaTek Inc.
[    2.517681] usb 1-5: SerialNumber: 000000000

... and nothing else about the wireless card in the log; no messages
about mt7921e, the string "mt7" doesn't even appear in the kernel log.
The mt7921e driver module doesn't load and the wifi interface doesn't
come up. This is, I guess, a combo Bluetooth / Wifi card with both USB
and PCIe interfaces? I'm honestly not sure. It's a Framework 16 laptop
with the built in wireless module.

This is the first time I've seen this failure-to-come-up behavior, I've
only seen it once. The frequent disconnects have been consistent with
this machine across kernel versions in NixOS, although I haven't been
able to get them to happen with a couple of days of testing on Ubuntu
24.04 LTS.

Happy to post any logs or etc, or other information. Cheers.




[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