Skip to content

RDKB-62572 : [SKY-VL-QE][Sprint]: LED status is not changing on WAN cable disconnect.#178

Merged
LakshminarayananShenbagaraj merged 7 commits into
mainfrom
RDKB-62572-Test
Dec 23, 2025
Merged

RDKB-62572 : [SKY-VL-QE][Sprint]: LED status is not changing on WAN cable disconnect.#178
LakshminarayananShenbagaraj merged 7 commits into
mainfrom
RDKB-62572-Test

Conversation

@LakshminarayananShenbagaraj
Copy link
Copy Markdown
Contributor

@LakshminarayananShenbagaraj LakshminarayananShenbagaraj commented Dec 20, 2025

Pull request overview

This PR fixes a regression in LED status behavior introduced by RDKB-59763, where the LED status was not updating correctly when a WAN cable is disconnected. The root cause was a change in the interface state machine (ISM) flow, which now starts before the physical link is UP, affecting the LED update logic.

Key Changes:

  • Restructured the LED status update logic to prioritize physical link status checks before state machine status
  • Added separate handling for when PHY is UP vs DOWN, with appropriate LED state updates for each scenario
  • Updated the order of state tracking to reflect PHY state changes first, then state machine state changes
Screenshot 2025-12-21 at 20 34 52

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

…able disconnect.

Reason for change:
This issue is a regression due to RDKB-59763 US changes. Where interface state machine used to start after physical status Up event only but now we have changed the flow where interface state machine starts before Phy up and wait for Up. So LED status behavior also changed accordingly so corrected this behavior now.

Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Copilot AI review requested due to automatic review settings December 20, 2025 23:42
@LakshminarayananShenbagaraj LakshminarayananShenbagaraj added the bug Something isn't working label Dec 20, 2025
@LakshminarayananShenbagaraj LakshminarayananShenbagaraj requested a review from a team as a code owner December 20, 2025 23:42
Copy link
Copy Markdown
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

This PR fixes a regression in LED status behavior introduced by RDKB-59763, where the LED status was not updating correctly when a WAN cable is disconnected. The root cause was a change in the interface state machine (ISM) flow, which now starts before the physical link is UP, affecting the LED update logic.

Key Changes:

  • Restructured the LED status update logic to prioritize physical link status checks before state machine status
  • Added separate handling for when PHY is UP vs DOWN, with appropriate LED state updates for each scenario
  • Updated the order of state tracking to reflect PHY state changes first, then state machine state changes

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

Comment thread source/WanManager/wanmgr_wan_failover.c Outdated
Comment thread source/WanManager/wanmgr_wan_failover.c Outdated
…able disconnect.

Reason for change:
This issue is a regression due to RDKB-59763 US changes. Where interface state machine used to start after physical status Up event only but now we have changed the flow where interface state machine starts before Phy up and wait for Up. So LED status behavior also changed accordingly so corrected this behavior now.

Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
…able disconnect.

Reason for change:
This issue is a regression due to RDKB-59763 US changes. Where interface state machine used to start after physical status Up event only but now we have changed the flow where interface state machine starts before Phy up and wait for Up. So LED status behavior also changed accordingly so corrected this behavior now.

Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Copilot AI review requested due to automatic review settings December 22, 2025 15:27
Copy link
Copy Markdown
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 2 out of 2 changed files in this pull request and generated 3 comments.


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

Comment thread source/WanManager/wanmgr_wan_failover.c Outdated
Comment thread source/WanManager/wanmgr_wan_failover.c Outdated
Comment thread source/WanManager/wanmgr_wan_failover.c Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings December 22, 2025 16:00
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
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 2 out of 2 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.

@LakshminarayananShenbagaraj LakshminarayananShenbagaraj merged commit 07e8296 into main Dec 23, 2025
7 checks passed
@LakshminarayananShenbagaraj LakshminarayananShenbagaraj deleted the RDKB-62572-Test branch December 23, 2025 11:51
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants