Skip to content

RDKB-64090 : Hotspot gre tunnels not created though Hotspot SSID are up impacting hotspot client connectivity#46

Merged
apattu200 merged 3 commits intodevelopfrom
bug/RDKB-64090
Mar 25, 2026
Merged

RDKB-64090 : Hotspot gre tunnels not created though Hotspot SSID are up impacting hotspot client connectivity#46
apattu200 merged 3 commits intodevelopfrom
bug/RDKB-64090

Conversation

@bunnam988
Copy link
Copy Markdown
Contributor

RDKB-64090: Upon WAN restore gretaps not created

Reason for change: SSIDs are not updated before WAN failover.
Test Procedure: Remove the RF feed to trigger the WFO and connect back.
Risks: High
Priority: P0
Signed-off-by: BalajiChowdary_Unnam@comcast.com

…r recovery

When current_wan_ifname transitions back to erouter0, wanfailover_handleTunnel(true)
already fully creates gretap0 and all VLAN sub-interfaces/bridges via
jansson_rollback_tunnel_info(). However gbFirstPrimarySignal and gTunnelIsUp were
left in the state set during the brRWAN transition (true/false), causing the
keep-alive ping thread to fire sysevent kHotspotfd_tunnelEP on the next successful
ping. This triggered the GRE EP script to destroy and recreate gretap0, which
removes all VLAN sub-interfaces from their bridges, leaving brlan3-5, bropen6g and
brsecure6g without gretap interfaces.

Fix: add else branch in hotspot_check_wan_failover_status to set gTunnelIsUp=true
and gbFirstPrimarySignal=false immediately after the tunnel is restored by
wanfailover_handleTunnel(true), so the ping thread does not trigger a redundant
tunnel recreate.
Copilot AI review requested due to automatic review settings March 25, 2026 05:48
@bunnam988 bunnam988 requested review from a team as code owners March 25, 2026 05:48
Copy link
Copy Markdown

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

Ensures hotspot SSID enable-state handling runs during WAN failover/restore so GRE tap tunnels can be recreated correctly after WAN restoration (addressing RDKB-64090).

Changes:

  • Removed #if !defined(RDK_ONEWIFI) guards so SSID validation/update logic runs for RDK_ONEWIFI builds as well during tunnel status transitions.
  • Always calls get_validate_ssid() before marking tunnels down on remote-WAN, and set_validatessid() before marking tunnels up on primary-WAN.

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

@apattu200 apattu200 merged commit f529b31 into develop Mar 25, 2026
14 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 25, 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