openwrt / openwrt/mt76

Alfa AWUS036ACHM (MT7610U) incorrect txpower (set, displayed, and what's settable)

Open
#787 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

There are a number of issues with this adapter. Some related discussion can be found at

Please understand that while I have development experience, I'm not super familiar with hacking on OpenWRT yet.

Issues visible on SNAPSHOT as of this writing:

  1. txpower may be set too low, see also above discussion
  2. txpower may also be reported too low as reported above
  3. the maximum txpower one can set in Luci is 14dBm
  4. the dongle is detected as a "Sabrent NTWLAC 802.11ac/b/g/n"

I believe some of the issues come from the fact that the Alfa AWUS036ACHM has a separate RF amplifier, so max settable txpower and displayed txpower are not being properly scaled somehow.

The very low maximum txpower which may be observed in e.g. 2.4GHz band is likely related to the above-mentioned issues. I have tried hex editing mt76x0-common.ko as described at this comment but it did not improve issues for me.

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

Begin with MT7610U support and the mt76x0-common.ko path mentioned in the report, then review the linked mt76#633 discussion and reproduce the behavior on an OpenWrt SNAPSHOT with the Alfa adapter. Done means txpower is correctly set and reported, the valid maximum is exposed in LuCI, and the adapter is identified correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.