Skip to content

CBR2-2336 Gate 2.4GHz ax mode options by Device.WiFi.2G80211axEnable#73

Open
pavankumar464 wants to merge 1 commit into
developfrom
bug/CBR2-2336
Open

CBR2-2336 Gate 2.4GHz ax mode options by Device.WiFi.2G80211axEnable#73
pavankumar464 wants to merge 1 commit into
developfrom
bug/CBR2-2336

Conversation

@pavankumar464

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 17, 2026 04:39
@pavankumar464
pavankumar464 requested review from a team as code owners July 17, 2026 04:39
@github-actions

Copy link
Copy Markdown

📋 PR Format Reminder

  • Title: CBR2-2336 Gate 2.4GHz ax mode options by Device.WiFi.2G80211axEnable — 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

Updates the 2.4GHz “Mode” UI so that 802.11ax options are shown only when Device.WiFi.2G80211axEnable indicates ax is enabled, aligning the UI with device capability/feature gating.

Changes:

  • Reads Device.WiFi.2G80211axEnable in the 2.4GHz wireless configuration page.
  • Gates the 2.4GHz mode dropdown to hide the g,n,ax option when ax is disabled.
  • Applies the same gating logic in the wireless configuration edit page.

Reviewed changes

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

File Description
source/Styles/xb3/jst/wireless_network_configuration.jst Gates 2.4GHz mode options based on 2G80211axEnable.
source/Styles/xb3/jst/wireless_network_configuration_edit.jst Applies the same 2.4GHz ax gating in the edit flow.

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

Comment on lines +1430 to 1435
<?% if ((strstr($support_mode, "ax")) && ($axEnable == "true")){ ?>
<option value="g,n" <?% if ("g,n" == $wireless_mode) echo( 'selected="selected"');?> >802.11 g/n</option>
<option value="g,n,ax" <?% if ("g,n,ax" == $wireless_mode) echo( 'selected="selected"');?> >802.11 g/n/ax</option>
<?% } else if ((strstr($support_mode, "ax")) && ($axEnable == "false")){ ?>
<option value="g,n" <?% if ("g,n" == $wireless_mode) echo( 'selected="selected"');?> >802.11 g/n</option>
<?% }
Comment on lines +931 to +938
if ((strstr($support_mode_2g, "ax")) && ($axEnable == "true")){
echo( '<option value="g,n" '); echo( ( "g,n"==$wireless_mode)? 'selected':''); echo('>802.11 g/n</option>');
echo( '<option value="g,n,ax" '); echo( ("g,n,ax"==$wireless_mode)? 'selected':''); echo('>802.11 g/n/ax</option>');
}
else if ((strstr($support_mode_2g, "ax")) && ($axEnable == "false"))
{
echo( '<option value="g,n" '); echo( ( "g,n"==$wireless_mode)? 'selected':''); echo('>802.11 g/n</option>');
}
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