mt76_wmac: WiFi interface silently goes down on MT7628 (Xiaomi 4C) - no crash, no logs

Open
#1,151 1 comment 0 reactions 0 assignees View on GitHub

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openwrt/mt76

All issues in openwrt/mt76

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.