openwrt / openwrt/mt76

MT76x0u: How to enable the power_save?

Open
#467 1 comment 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

I use the driver MT76x0u first, and I want to enable the power save manually, so I command in Linux: iw dev wlan0 set power_save on. But the return error: -95.
Then where should I enable the IEEE80211_HW_SUPPORTS_PS? Should I do other operations to realize it?

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 tracing the MT76x0u driver’s handling of the Linux iw dev wlan0 set power_save on request and where IEEE80211_HW_SUPPORTS_PS is configured. Check the mac80211 power-save requirements and existing MT76x0u support. Done means the command succeeds and power saving operates correctly, with validation covering the reported -95 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.