openwrt / openwrt/mt76

mt7615 support 5/10M bandwidth

Open
#613 3 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

1.mt7615/debugfs.c
debugfs_create_u16("chan_bw", 0600, dir, &dev->mt76.chan_bw);

2.mt7615/mcu.c
width = chandef->width;

    switch (dev->mt76.chan_bw) {
            case 5:
                    width = NL80211_CHAN_WIDTH_5;
                    break;
            case 10:
                    width = NL80211_CHAN_WIDTH_10;
                    break;
            default:
                    break;
    }

    if (width >= ARRAY_SIZE(width_to_bw))
            return 0;

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 by reading mt7615/debugfs.c around chan_bw and mt7615/mcu.c around width selection. Trace how the 5 and 10 MHz values are passed to the driver and verify that existing bandwidth handling remains unchanged. Done means mt7615 supports both requested bandwidths without invalid-width handling failures.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.