Skip to content

XB10-2440 : No "nop_started" state in Wifi_Radio_State table after a …#946

Merged
gsathish86 merged 3 commits intordkcentral:developfrom
Raju-krish:develop
Mar 6, 2026
Merged

XB10-2440 : No "nop_started" state in Wifi_Radio_State table after a …#946
gsathish86 merged 3 commits intordkcentral:developfrom
Raju-krish:develop

Conversation

@Raju-krish
Copy link
Contributor

XB10-2440 : No "nop_started" state in Wifi_Radio_State table after a radar detection

Reason for change : Pre CAC expired event passed in after nop_start event, which changed the old state.

Test Proceedure : 1) Set a DFS channel and trigger a radar event. The channel should switch to a non-DFS channel, and the previous DFS channel should enter the nop_started state.
2) After 30 minutes the state should change to nop_finished.
3) After switching to a non-DFS channel, attempt to set the same DFS channel again. This operation should fail.
4) Set DFS channel 100 and verify that its state becomes cac_completed. Then switch to channel 124. After the switch, channel 100 and its subset channels should transition to the nop_finished state.

Priority: P1
Risks: Low

…radar detection

Reason for change : Pre CAC expired event passed in after nop_start event, which changed the old state.

Test Proceedure : 1) Set a DFS channel and trigger a radar event. The channel should switch to a non-DFS channel, and the previous DFS channel should enter the nop_started state.
                  2) After 30 minutes the state should change to nop_finished.
                  3) After switching to a non-DFS channel, attempt to set the same DFS channel again. This operation should fail.
                  4) Set DFS channel 100 and verify that its state becomes cac_completed. Then switch to channel 124. After the switch, channel 100 and its subset channels should transition to the nop_finished state.

Priority: P1
Risks: Low

Signed-off-by: Rajagopalaswamy M <mrajagopalaswamy@gmail.com>
@Raju-krish Raju-krish requested a review from a team as a code owner March 5, 2026 14:03
Copilot AI review requested due to automatic review settings March 5, 2026 14:03
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

Fixes DFS radar/NOP channel-state tracking so nop_started isn’t overwritten by a later pre_cac_expired sub-event, ensuring Wifi_Radio_State reflects the correct NOP lifecycle after radar detection.

Changes:

  • Prevents channel state transitions away from CHAN_STATE_DFS_NOP_START unless the sub-event is WIFI_EVENT_RADAR_NOP_FINISHED.
  • Adds logging when an out-of-order sub-event attempts to change state while already in NOP_START.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings March 6, 2026 06:47
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 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gsathish86 gsathish86 merged commit 7c8fcda into rdkcentral:develop Mar 6, 2026
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 6, 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.

3 participants