Skip to content

RDKB-66345 Disable 160MHz if DFS at boot up is false - #149

Open
pavankumar464 wants to merge 1 commit into
developfrom
bug/RDKB-66345-DFS
Open

RDKB-66345 Disable 160MHz if DFS at boot up is false#149
pavankumar464 wants to merge 1 commit into
developfrom
bug/RDKB-66345-DFS

Conversation

@pavankumar464

Copy link
Copy Markdown
Contributor

is triggered by User Story RDKB-12829

@pavankumar464
pavankumar464 requested review from a team as code owners August 3, 2026 17:23
Copilot AI review requested due to automatic review settings August 3, 2026 17:23
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

📋 PR Format Reminder

  • Title: RDKB-66345 Disable 160MHz if DFS at boot up is false — expected TICKET-123 : description
    (Multiple tickets OK: RDKCOM-5492 RDKBDEV-3336 : ... | Include US ticket + subtask for user-stories)
  • Description missing:
    • Reason for change
    • Test Procedure
    • Risks (Low / Medium / High)
    • Priority (P0 / P1 / P2)

Expected:

TICKET-123 : brief description

Reason for change: why
Test Procedure: how to verify
Risks: Low / Medium / High
Priority: P0 / P1 / P2

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the XB6 wireless configuration UI logic to ensure the 160MHz channel bandwidth option remains disabled when DFS-at-boot is false, even after users change channels in the UI.

Changes:

  • Move $dfsBoot initialization earlier so it’s available to channel change handlers.
  • When the user changes the channel away from 165, re-enable bandwidth options while preserving the DFS-at-boot restriction for 160MHz.
  • Minor indentation/flow cleanup in existing DFS-at-boot gating logic.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
source/Styles/xb6/jst/wireless_network_configuration.jst Preserve DFS-at-boot 160MHz disable behavior when channel selection changes.
source/Styles/xb6/jst/wireless_network_configuration_onewifi.jst Same DFS-at-boot 160MHz restriction preservation for OneWiFi variant.
source/Styles/xb6/jst/wireless_network_configuration_edit.jst Apply the same runtime channel-change restriction logic in the edit page.
source/Styles/xb6/jst/wireless_network_configuration_edit_onewifi.jst Apply the same runtime channel-change restriction logic in the OneWiFi edit page.

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

Comment on lines +1054 to +1056
if ($dfsBoot == "false") {
$("#channel_bandwidth3").prop("disabled", true);
}
Comment on lines +1073 to +1075
if ($dfsBoot == "false") {
$("#channel_bandwidth3").prop("disabled", true);
}
Comment on lines +625 to +627
if ($dfsBoot == "false") {
$("#channel_bandwidth3").prop("disabled", true);
}
Comment on lines +650 to +652
if ($dfsBoot == "false") {
$("#channel_bandwidth3").prop("disabled", true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants