-
Notifications
You must be signed in to change notification settings - Fork 10
RDKEMW-13122: Wi‑Fi networks in the picker are not ordered by signal strength #271
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
…strength Reason for change: Updated the onAvailableSSID to return strength and frequency as numbers so that the UI will do the sorting. Test Procedure: Check the onAvailableSSID returns strength and frequency as numbers Priority:P1 Risks: Medium Signed-off-by: Gururaaja ESR<Gururaja_ErodeSriranganRamlingham@comcast.com>
…strength Reason for change: Updated the onAvailableSSID to return strength and frequency as numbers so that the UI will do the sorting. Test Procedure: Check the onAvailableSSID returns strength and frequency as numbers Priority:P1 Risks: Medium Signed-off-by: Gururaaja ESR<Gururaja_ErodeSriranganRamlingham@comcast.com>
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 23 out of 23 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 23 out of 23 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 23 out of 23 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
plugin/NetworkManagerImplementation.cpp:942
- RSSI clamping updates
readRssi, but the exported/outputstrengthvalue is not updated to reflect the clamped value. This can lead to inconsistent output/logging (and later SNR mapping usesstrength), especially when RSSI is out of range. Consider assigningstrength = readRssiwhenever clamping occurs (similar to hownoiseis updated).
/* Check the RSSI is within range between -10 and -100 dbm*/
if (readRssi >= 0 || readRssi < -100) {
NMLOG_WARNING("Received RSSI (%d dBm) is out of valid range (-10 to -100 dBm); Resetting to default", readRssi);
if (readRssi >= 0) {
readRssi = -10;
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
…ager into topic/RDKEMW-13124
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 23 out of 23 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
plugin/NetworkManagerImplementation.cpp:947
- After clamping
readRssito the valid range, the clamped value is not written back to thestrengthoutput parameter. This means the method can return/log an out-of-range RSSI even though SNR/quality calculations used the clampedreadRssi, and the fallback path that maps invalid SNR uses the unclampedstrength. Propagate the clamp result back intostrength(and use the clamped value for the invalid-SNR fallback) so outputs remain consistent with the calculations.
/* Check the RSSI is within range between -10 and -100 dbm*/
if (readRssi >= 0 || readRssi < -100) {
NMLOG_WARNING("Received RSSI (%d dBm) is out of valid range (-10 to -100 dBm); Resetting to default", readRssi);
if (readRssi >= 0) {
readRssi = -10;
}
else if (readRssi < -100) {
readRssi = -100;
}
}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Based on the discussion with RDKCentral compliance team the fossid failure on this PR is something can go ahead as we own the code. The other team which uses our code will be requested to give credit to us. Thanks, |
Reason for change: Updated the onAvailableSSID to return strength and frequency as numbers so that the UI will do the sorting.
Test Procedure: Check the onAvailableSSID returns strength and frequency as numbers
Priority:P1
Risks: Medium
Signed-off-by: Gururaaja ESRGururaja_ErodeSriranganRamlingham@comcast.com