-
Notifications
You must be signed in to change notification settings - Fork 3k
Lora: Fix max tx power check #6740
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
Conversation
In LoRa TX power value 0 means the maximum allowed TX power and values >0 are limiting the allowed TX power to lower. tx_config was incorrectly checking the power level and causing the maximum TX power to be always used. Lora gateway can request node to use lower TX power with LinkAdrReq MAC command.
@hasnainvirk @AnttiKauppila @kjbracey-arm please review. |
/morph build |
Build : SUCCESSBuild number : 1857 Triggering tests/morph test |
Exporter Build : FAILUREBuild number : 1502 |
Test : FAILUREBuild number : 1665 |
@0xc0170 could you restart the tests? I don't see these fails to relate this PR. |
/morph test |
Exporter Build : SUCCESSBuild number : 1508 |
Test : FAILUREBuild number : 1671 |
/morph test |
@marcuschangarm Has anything changed in tickers that could cause this failure? |
That test is supposed to be disabled - see 9f63013. But that has But shouldn't that be |
Yes, there is a fix here now #6756 (as noted previous macro was wrong which was a good thing and did not disable the test but rather to find a fix) |
Test : SUCCESSBuild number : 1683 |
@adbridge Why does it need work ? It's all set to go in master. |
Reviewed, ready for merge |
I marked it as needs work as there are unanswered questions raised by Kevin on this PR. |
I had no issues - my comments were about the unrelated test failures. |
Description
In LoRa TX power value 0 means the maximum allowed TX power and values >0
are limiting the allowed TX power to lower.
tx_config was incorrectly checking the power level and causing the maximum
TX power to be always used. Lora gateway can request node to use lower TX
power with LinkAdrReq MAC command.
This fix proposal has been tested with our internal LoRa tests.
Pull request type