Are there any plans to add MT7987 WED hardware path support?

Open
#1,177 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
c
Domain
embedded-iot

Research direction

Read the linked pull request and inspect the MT7987 WED attach path in the mt76 driver. Start by tracing why the boot log reports “failed to attach wed device” when wed_enable is set. Determine what hardware support is needed and whether it can be added; done means WED attaches successfully on MT7987 and the driver behavior is verified on that hardware.

Written by the indexing model from the issue text.

Description

Currently, WED cannot be enabled on MT7987, as described in this pr:
https://github.com/Telecominfraproject/wlan-ap/pull/1339/changes

Tenda BE12 Pro MT7987 bootlog:

[   10.307868] Backport generated by backports.git v5.15.58-1-198-g2580fa90cb79
[   10.396313] mt7996e 0000:01:00.0: assign IRQ: got 72
[   10.401300] mt7996e 0000:01:00.0: enabling device (0000 -> 0002)
[   10.407336] mt7996e 0000:01:00.0: enabling bus mastering
[   10.473547] mt7996e 0000:01:00.0: attaching wed device 0 version 3
[   10.497033] platform 15010000.wed: failed to attach wed device
[   10.544368] mtk-pcie-gen3 11280000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11280c00 data 1
[   10.594046] mt7996e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20260720170351a
[   10.594046]
[   10.771540] mt7996e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20260720165749
[   10.802438] mt7996e 0000:01:00.0: DSP Firmware Version: ____000000, Build Time: 20260720165616
[   10.861390] mt7996e 0000:01:00.0: WA Firmware Version: ____000000, Build Time: 20260720165649
[   11.081406] mt7996e 0000:01:00.0: registering led 'mt76-phy0'

/etc/modules.conf:

options mt7996e wed_enable=Y
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.