Skip to content

Fix resetting of max_eirp and antenna_gain values #6401

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

Closed
wants to merge 1 commit into from
Closed

Fix resetting of max_eirp and antenna_gain values #6401

wants to merge 1 commit into from

Conversation

kivaisan
Copy link
Contributor

Description

This is a fix for issue #6391

max_eirp and antenna_gain are floating point variables. Values of these
were incorrectly read from MIB as integer and therefore incorrect values
were set.

Pull request type

  • Fix
  • Refactor
  • New target
  • Feature
  • Breaking change

@kivaisan
Copy link
Contributor Author

@AnttiKauppila @kjbracey-arm , please review.

kjbracey
kjbracey previously approved these changes Mar 20, 2018
@0xc0170
Copy link
Contributor

0xc0170 commented Mar 20, 2018

/morph build

@AnttiKauppila
Copy link

AnttiKauppila commented Mar 20, 2018

@0xc0170 This needs to be labeled 5.8.1

This is a fix for issue #6391

max_eirp and antenna_gain are floating point variables. Values of these
were incorrectly read from MIB as integer and therefore incorrect values
were set.
@kivaisan
Copy link
Contributor Author

Updated commit description with "Lora:" prefix

@mbed-ci
Copy link

mbed-ci commented Mar 20, 2018

Build : SUCCESS

Build number : 1489
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/6401/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Mar 20, 2018

@cmonr
Copy link
Contributor

cmonr commented Mar 20, 2018

The updated commit after the last morph build command caused the completed status to be lost.

Restarting build: /morph build

@mbed-ci
Copy link

mbed-ci commented Mar 20, 2018

Build : SUCCESS

Build number : 1498
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/6401/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Mar 20, 2018

@mbed-ci
Copy link

mbed-ci commented Mar 21, 2018

@cmonr
Copy link
Contributor

cmonr commented Mar 21, 2018

sigh
And now it looks like we need a rebase.

@studavekar Could you have a look at the test failures? A whole bunch of Timing Drift failures just happened, and they don't appear to be PR related.

@studavekar
Copy link
Contributor

studavekar commented Mar 21, 2018

@studavekar Could you have a look at the test failures? A whole bunch of Timing Drift failures just happened, and they don't appear to be PR related.

This was merged recently #5106 , few observation when working on the PR #5106 (comment) .

not sure if it was well tested before merging we should make sure any changes to tests are tested well. If not we will end up in tests that fail inconsistently(time drift tests would depend on load on the system which may cause transport delay ).

@cmonr we should be careful about merging changes to tests!

@kivaisan
Copy link
Contributor Author

kivaisan commented Mar 21, 2018

#6279 was merged and it refactors this code so this fix is no longer valid. But this #6279 is going to mbed-os 5.9 release.

@cmonr @0xc0170 This fix PR is still needed for mbed-os 5.8.x, so do I need rebase this to some other branch?

@kjbracey
Copy link
Contributor

kjbracey commented Mar 21, 2018

If #6279 avoids the problem in a different way, as I think it does, then resubmit this as a PR to the mbed-os-5.8 branch. Make very clear in the PR / commit message that the problem no longer occurs on master due to #6279 / master commit id. (All patch fixes or their equivalent have to be already present on master).

@kivaisan
Copy link
Contributor Author

This PR can be closed. I just created a new PR for 5.8 branch: #6414.

@0xc0170 0xc0170 closed this Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants