openwrt / openwrt/mt76

Still existing bug or flaw with OpenWrt version > 23.0

Open
#826 0 comments 1 reaction 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 do own two similar Xiaomi Mi Router 4A Gigabit Edition v1 and I do not know
why one of the routers both of the radios (5ac and 2.4n) works fine and the TX power could reach upto 20dbm.
But the other one regardless of which OpenWrt firmare I flash it the 5GHz radio is always limited to 3db (I have checked it with Uci and Luci) and even manual modification of the Tx power for radio1 (5GHz) on the /etc/config/wireless did not solve the issue..

This problem is so annoying that I could not connect to the router 5GHz from distances further than 2 meters.

Kindly let me know why one router is working fine and the other the issue with the radios eixsts.
Please note that I have changed the Country and channels for the faulty router and it did not fix the issue.

I am such tired of this issue that I wanted to clone the factory pariton of the working router on the faulty router (/dev/mtd3) but I
do not know how to do it since that partition is read-only
By the way I have checked the stcok firmware on both of the routers for each of the 2.4 and 5 GHz radios and everything worked fine
with both of the routers 2.4 and 5 GHz radios.
So there is no hardware flaw on the faulty router.

Kindly let me know how can I solve this issue, and how can I change the default maximum Tx power of the routers Radio without needing to build an image?
In case if there is no option than rebuilding the image which file and parameters should I change to fix the issues the transmit power of the radios?

Note that both of the routers are flahsed with the following image specs,

MediaTek MT7621 ver:1 eco:3
Target Platform ramips/mt7621
(5GHz radio)MediaTek MT76x2E
Kernel Version 5.15.127
OpenWrt 23.05.0-rc3 r23389-5deed175a5 / LuCI openwrt-23.05 branch git-23.236.53405-fc638c8

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 comparing the working and faulty routers' /etc/config/wireless settings, UCI/LuCI radio1 TX-power readings, and the stock-firmware behavior described in the report. Check how the MT76 5 GHz radio handles the reported 3 dBm limit on OpenWrt 23.05.0-rc3; done means identifying a reproducible cause and documenting a supported configuration or fix, rather than modifying /dev/mtd3 blindly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.