mt76_wmac: WiFi interface silently goes down on MT7628 (Xiaomi 4C) - no crash, no logs
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- c, linux
- Domain
- networking, operating-systems
Research direction
Start with the MT7628/mt76_wmac driver and its firmware support; the report does not identify a specific source file or failing test. Check whether this chipset exposes power-management parameters and whether revision 76280001 has a newer firmware blob. Done means establishing a reproducible cause or supported configuration for the silent interface failure; the reporter offers to test and provide debug output.
Written by the indexing model from the issue text.
Description
Device: Xiaomi Mi Router 4C
SoC: MT7628AN (mt76_wmac)
OpenWrt: 25.12.5 r33051-f5dae5ece4 (ramips/mt76x8)
MT76 firmware revision: 76280001 (blob dated 20151201)
What happens:
WiFi SSID randomly disappears. No kernel panic, no OOM, nothing in
the logs at all. The interface phy0-ap0 becomes unresponsive and
iw dev phy0-ap0 info fails silently. Running wifi up brings it
back. Reboot also fixes it.
When it happens:
Both under load and during idle periods. Could be hours or days
between occurrences.
What I tried:
- echo "options mt76_wmac ps_disable=1" > /etc/modules.d/mt76-wmac
but the parameter is not exposed at all,
/sys/module/mt76_wmac/parameters/ is empty - iw dev phy0-ap0 set power_save off in rc.local
- Fixed txpower at 20
- Disabled legacy_rates
Current workaround:
Cron watchdog every 3 minutes that runs wifi up if the interface
stops responding. Not ideal but keeps the network alive.
Interesting log line during recovery:
netifd: radio0: command failed: Not supported (-122)
This shows up when wifi up runs after the drop, which suggests the
driver is in a broken state rather than just the interface being down.
My question:
Is ps_disable or any power management knob actually supported for
this chipset and firmware version? Is there a newer firmware blob
available for revision 76280001? Happy to test anything and provide
more debug output if needed.
- Dominant language
- C
- Stars
- 895
- Forks
- 461
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openwrt/mt76
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
MT76xx - WLAN leds doesn't work with the testing kernelMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
mt7925: Netgear A8000 (0846:9072) reports hw_path without WF0_5G, so 5 GHz band is never registeredOpen
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 22/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
SPIDevice selects an active-high device as soon as it is createdPossibly taken @mikeysklar claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
adafruit/circuitpython#11869 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
gnif/LookingGlass#1352 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kovidgoyal/kitty#10862 ·
Maintainers usually reply within 1 day