Skip to content
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

fix(agw): Cherry-pick: Compensate for eNB firmware param inversion (#9967) #9982

Merged
merged 1 commit into from
Oct 30, 2021

Conversation

amarpad
Copy link
Contributor

@amarpad amarpad commented Oct 29, 2021

Summary

fix(agw): Compensate for eNB firmware param inversion

A regression was introduced into the firmware build for Sercomm where
the flag for cell reserved was inverted. Compensate for that by
setting the cell reserved bit to be True on initial connect.

At a later point when we have a software version where the issue is fixed
we can add this as a conditional check.

Signed-off-by: Amar Padmanabhan amar@freedomfi.com

fix(agw): Update tests for cell reserved

Update expectations to account for calls to Cell Reserved
Also fixes an issue where in place sort was wrongly used in assertEqual

Signed-off-by: Amar Padmanabhan amar@freedomfi.com

Co-authored-by: Amar Padmanabhan amar@freedomfi.com

Test Plan

make test

Additional Information

  • This change is backwards-breaking

* fix(agw): Compensate for eNB firmware param inversion

A regression was introduced into the firmware build for Sercomm where
the flag for cell reserved was inverted. Compensate for that by
setting the cell reserved bit to be True on initial connect.

At a later point when we have a software version where the issue is fixed
we can add this as a conditional check.


Signed-off-by: Amar Padmanabhan <amar@freedomfi.com>

* fix(agw): Update tests for cell reserved

Update expectations to account for calls to Cell Reserved
Also fixes an issue where in place sort was wrongly used in assertEqual


Signed-off-by: Amar Padmanabhan <amar@freedomfi.com>

Co-authored-by: Amar Padmanabhan <amar@freedomfi.com>
@amarpad amarpad requested review from a team and pshelar October 29, 2021 20:14
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines. label Oct 29, 2021
@amarpad amarpad requested a review from ardzoht October 29, 2021 20:14
@github-actions
Copy link
Contributor

Thanks for opening a PR! 💯 Please note that all commits must be signed off. This is enforced by the DCO check.

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

Copy link
Contributor

@ardzoht ardzoht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@ulaskozat ulaskozat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ulaskozat ulaskozat merged commit 911b16a into magma:v1.6 Oct 30, 2021
@amarpad amarpad deleted the cherry_pick branch November 1, 2021 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants