-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MT7612 - TX Power Issue + Solution #172
Comments
May we know which target it is you are testing? |
MT7621. Particularly ZBT-WE1326 and ZBT-WG3526 |
I tried now with dir-860l b1 and xiaomi 3g and it works correctly. |
@nbd168 |
Is this a related problem? If not, please let me know so I can open a new issue. I am using a Dir-860l. When I double-check whether my regulatory domain is correctly set to The Netherlands, we can see that this is correct:
I can see that on channels 100-140 I should be able to use up to 27 dBm:
However, setting anything higher than 20 dBm still shows only 20 dBm in Luci:
Setting the tx power to something lower than 20 does correctly work, so it's not the setting of power itself that seems bugged:
|
I have the same problem with my DIR-860L @ OpenWRT 18.06rc1.
So first of all it should be 27dBm @ channel 100-140 in my country and i'm using channel 100 right now but the Tx Power is still @20dBm and a manuel change doesn't work either.... It's really weird ! |
Has this been incorporated ? |
this half-assed solution should not be incorporated anywhere. mt76 chip max output is 23.5dBm and even at full power you need hell of a calibration and offload routines that this driver don't provide. this could help in a case your device has ext RF components which the mentioned devices do not have at least according to logs and wiki images of the board (so the bug is somewhere else) but even in such a case that is not a proper way of setting output power to these chips and can only result in further performance degradation |
We initially introduced it as a "hack". However, the power, range, and
throughput all dramatically go up when we ad this patch. I am all ears on
how to do this.
Spencer
…On Sun, Jul 8, 2018 at 3:04 PM psyborg55 ***@***.***> wrote:
this half-assed solution should not be incorporated anywhere. mt76 chip
max output is 23.5dBm and even at full power you need hell of a calibration
and offload routines that this driver don't provide. this could help in a
case your device has ext RF components which the mentioned devices do not
have at least according to logs and wiki images of the board (so the bug is
somewhere else) but even in such a case that is not a proper way of setting
output power to these chips and can only result in further performance
degradation
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#172 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB0TcrCqWCHnI3OGY2P90owGkHEJVkbkks5uEoHUgaJpZM4UCHHX>
.
|
then you have dramatically buggy board as i've said and need to look elsewhere (you did check eeprom?). on average boards this would cause problems. |
From what I can see, the vendor driver also has some code to allow boosting the tx power beyond the EEPROM values. However, I think simply exposing this via debugfs is too risky. In my opinion, an acceptable solution would be to allow adding a power offset or overriding the target power via device tree |
overriding the target power via device tree would be better solution |
I am not sure I am following. So the fact "iw list" shows 27 dBm on some channels, but unable being able to set anything higher than 20 dBm is not a bug? Or am I misunderstanding things? |
With an older 17.01 snapshot build i saw 24dBm @5ghz at LUCI.
|
is this also related to 2,4GHZ ? |
This patch (hack) is just for the mt7612 (5g)
…On Mon, Jul 9, 2018, 7:41 PM camelcamro ***@***.***> wrote:
is this also related to 2,4GHZ ?
and is there the same situation, that it is not supported to setup TX
power ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#172 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB0TcjyxNDltv0VqMNSGZb9l2nZRu9zFks5uFBRDgaJpZM4UCHHX>
.
|
any progress on this issue? |
@slthomason do you think I'm having the same issue (#199) described here? |
Please try the latest version, it should work better now |
Hi, Could this issue cause this kind of problem?
|
We have had TX power issues on the 7612 for ages - and no amount of goofing with the wireless config helped. Setting a TX value anywhere between 11 - 30dBm made no difference to the actual observed signal strength.
Here are some examples of what we tried:
Setting various values for "option txpower"
Trying all of the available htmodes
Trying different country codes
Trying various channels (using "iw list" as a reference)
We are on 73edb2
So we (myself and @slthomason) had a contractor write this patch for us:
002-debugfs-api-for-target-power.txt
We recognize that it's a bit of a hack, but it works, and has been for sometime. When we include that patch in our build, we see a ~9dBm improvement in observed signal strength. (-63 vs -72dBm @ 15m)
Also, without our tx patch in place, iwconfig shows this:
wlan1 IEEE 802.11 Mode:Master Tx-Power=9 dBm
RTS thr:off Fragment thr:off
Power Management:off
So it appears to be hitting some kind of wall around 9 - 11dBm in stock form.
We were hoping to see this issue fixed correctly, so that we don't have to use a band-aid.
The text was updated successfully, but these errors were encountered: