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

Use gnbId from config.yml as first gNB's ID, Fix #48 #49

Merged
merged 1 commit into from
Dec 24, 2023
Merged

Conversation

linouxis9
Copy link
Member

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
    Fix [BUG] wrong gNB ID #48
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have read the CONTRIBUTING document.
  • Each of my commits messages include Signed-off-by: Author Name <[email protected]> to accept the DCO.

@linouxis9 linouxis9 requested a review from Raguideau December 23, 2023 15:55
@linouxis9 linouxis9 force-pushed the fix48 branch 2 times, most recently from 09d97e1 to 17c59fb Compare December 23, 2023 16:26
@linouxis9 linouxis9 mentioned this pull request Dec 23, 2023
Copy link
Contributor

@yoursunny yoursunny left a comment

Choose a reason for hiding this comment

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

Although I haven't tested, I believe this patch has fixed the bug.
I'll perform a test in next 5 days.

internal/common/tools/tools.go Outdated Show resolved Hide resolved

gnbId := base + strconv.Itoa(i)
gnbId = fmt.Sprintf("%06d", base)
Copy link
Contributor

Choose a reason for hiding this comment

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

I know the codebase currently only supports 24-bit gNB ID. This should be generalized in the future, to allow configuration length of gNB ID vs Cell ID.
https://www.techplayon.com/5g-nr-cell-global-identity-planning/

Copy link
Member Author

@linouxis9 linouxis9 Dec 24, 2023

Choose a reason for hiding this comment

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

To be implemented in #51

@linouxis9 linouxis9 mentioned this pull request Dec 24, 2023
3 tasks
@linouxis9 linouxis9 merged commit 3fe3575 into main Dec 24, 2023
11 checks passed
@linouxis9 linouxis9 deleted the fix48 branch December 25, 2023 00:17
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.

[BUG] wrong gNB ID
2 participants