Skip to content

Conversation

@gururaajar
Copy link
Contributor

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

…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>
@gururaajar gururaajar requested a review from a team as a code owner February 3, 2026 16:14
Copilot AI review requested due to automatic review settings February 9, 2026 21:46
Copy link
Contributor

Copilot AI left a 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.

Copilot AI review requested due to automatic review settings February 10, 2026 14:56
Copy link
Contributor

Copilot AI left a 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.

gururaajar and others added 3 commits February 10, 2026 16:19
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 11, 2026 02:26
Copy link
Contributor

Copilot AI left a 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/output strength value is not updated to reflect the clamped value. This can lead to inconsistent output/logging (and later SNR mapping uses strength), especially when RSSI is out of range. Consider assigning strength = readRssi whenever clamping occurs (similar to how noise is 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.

Copy link
Contributor

Copilot AI left a 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 readRssi to the valid range, the clamped value is not written back to the strength output parameter. This means the method can return/log an out-of-range RSSI even though SNR/quality calculations used the clamped readRssi, and the fallback path that maps invalid SNR uses the unclamped strength. Propagate the clamp result back into strength (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.

@karuna2git
Copy link
Contributor

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.

Hi Karunakaran,

This is very interesting!  The two code blocks are clearly the same, although fossid in this usage doesn't make it easy to see.  As this is your own code, you need take no action in networkmanager.  There is clearly a license violation here, because the code is used without credit, even though Apache-2 code can be sucked into GPLv3 projects.

Thanks,

@karuna2git karuna2git merged commit 08a515a into develop Feb 11, 2026
21 of 23 checks passed
@karuna2git karuna2git deleted the topic/RDKEMW-13124 branch February 11, 2026 17:31
@github-actions github-actions bot locked and limited conversation to collaborators Feb 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants