openwrt / openwrt/mt76

MT76x2e on Samknows Whitebox 8 - 2.4GHz radio (`radio0`) fails to start

Open
#997 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
888
Forks
436
PR merge metrics
No merged PRs in 30d

Description

Device Info
  • Model: SamKnows Whitebox 8
  • SoC: MediaTek MT7621 ver:1 eco:3
  • WiFi Chip: MT76x2e
  • OpenWrt Version: 23.05.3
  • Kernel Version: 6.6.93
Problem Description

The

openwrtlog.txt

. Kernel logs show no PHY found for the device. Changing hwmode from '11a' to '11g' in /etc/config/wireless resolves the issue.

Log Excerpt

netifd: radio0: Could not find PHY for device 'radio0'
netifd: Bug: PHY is undefined for device 'radio0'

Steps to Reproduce
  1. Flash OpenWrt 23.05.3
  2. Boot device and check wireless status
  3. Observe that 2.4GHz radio is missing
  4. Fix by editing /etc/config/wireless and changing hwmode to '11g'
Additional Notes
  • Issue seems to stem from incorrect default config
  • Similar case discussed in OpenWrt Forum

Thanks for your work on OpenWrt and mt76!

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the attached openwrtlog.txt and the /etc/config/wireless configuration on OpenWrt 23.05.3, then compare the radio0 behavior with hwmode set to '11a' and '11g'. Trace the MT76x2e radio initialization and configuration path; done means the 2.4GHz radio starts correctly without the manual hwmode change.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.