Skip to content

RDKCOM-5598: RDKBDEV-3451, RDKBACCL-1834 Security mode shows WPAWPA2-PSK (TKIP/AES) on Web-UI upon changing to WPA3-Enterprise via dmcli#131

Open
ksaipr036 wants to merge 1 commit into
rdkcentral:developfrom
ksaipr036:RDKBACCL-1834
Open

RDKCOM-5598: RDKBDEV-3451, RDKBACCL-1834 Security mode shows WPAWPA2-PSK (TKIP/AES) on Web-UI upon changing to WPA3-Enterprise via dmcli#131
ksaipr036 wants to merge 1 commit into
rdkcentral:developfrom
ksaipr036:RDKBACCL-1834

Conversation

@ksaipr036

Copy link
Copy Markdown
Contributor

Reason for Change: Added WPA3-Enterprise option in the encrypt_map() function to ensure the WebUI displays the correct security mode instead of the default(WPAWPA2-PSK) value.
Test Procedure: Configure Device.WiFi.AccessPoint.*.Security.ModeEnabled to WPA3-Enterprise via DMCLI and verify the same from WebUI for 2G, 5G and 6G.
Risks: Low.

Copilot AI review requested due to automatic review settings June 9, 2026 11:16
@ksaipr036 ksaipr036 requested review from a team as code owners June 9, 2026 11:16

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 WebUI security-mode display mapping so that when Device.WiFi.AccessPoint.*.Security.ModeEnabled is set to WPA3-Enterprise via DMCLI, the UI shows WPA3-Enterprise instead of falling back to the default WPAWPA2-PSK (TKIP/AES) label.

Changes:

  • Add WPA3-Enterprise handling in encrypt_map() to return the correct display string.

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

Comment thread source/Styles/xb3/jst/includes/utility.jst
@ksaipr036 ksaipr036 marked this pull request as draft June 10, 2026 05:28
@ksaipr036 ksaipr036 marked this pull request as ready for review June 10, 2026 05:29
@ksaipr036 ksaipr036 marked this pull request as draft June 10, 2026 12:58
@ksaipr036 ksaipr036 marked this pull request as ready for review June 11, 2026 06:48
Copilot AI review requested due to automatic review settings June 11, 2026 06:48

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

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

Comment thread source/Styles/xb6/jst/wireless_network_configuration_edit_onewifi.jst Outdated
@manigandanj

Copy link
Copy Markdown
Contributor

Looks okay to me. But someone needs to review it once.

Copilot AI review requested due to automatic review settings June 11, 2026 13:12

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

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

Comment on lines +1203 to +1209
}else if($WPA3_enable == "true" && $encrypt_mode == "WPA3-Enterprise"){
?>
<option value="WPA3-Personal Transition" <?% if ("WPA3-Personal Transition"==$security) echo( "selected");?> >WPA3-Personal Transition (Recommended)</option>
<option value="WPA3-Personal Only" <?% if ("WPA3-Personal Only"==$security) echo( "selected");?> >WPA3-Personal Only</option>
<option value="WPA3-Enterprise" <?% if ("WPA3-Enterprise"==$security) echo( "selected");?> >WPA3-Enterprise</option>
<option value="WPA2_PSK_AES" id="secmode4" title="WPA requires an 8-63 ASCII character password or a 64 hex character password. Hex means only the following characters can be used: ABCDEF0123456789." <?% if ("WPA2_PSK_AES"==$security) echo( "selected");?> >WPA2-PSK (AES)</option>
<?%
Comment thread source/Styles/xb3/jst/includes/utility.jst
@ksaipr036 ksaipr036 changed the title RDKBACCL-1834: Security mode shows WPAWPA2-PSK (TKIP/AES) on Web-UI upon changing to WPA3-Enterprise via dmcli RDKBDEV-3451, RDKBACCL-1834: Security mode shows WPAWPA2-PSK (TKIP/AES) on Web-UI upon changing to WPA3-Enterprise via dmcli Jun 17, 2026
@pradeeptakdas pradeeptakdas changed the title RDKBDEV-3451, RDKBACCL-1834: Security mode shows WPAWPA2-PSK (TKIP/AES) on Web-UI upon changing to WPA3-Enterprise via dmcli RDKCOM-5598: RDKBDEV-3451, RDKBACCL-1834 Security mode shows WPAWPA2-PSK (TKIP/AES) on Web-UI upon changing to WPA3-Enterprise via dmcli Jun 23, 2026
@AkhilaReddyK7 AkhilaReddyK7 added the community-contribution Contribution from community label Jun 30, 2026
…pon changing to WPA3-Enterprise via dmcli

Reason for Change: Added WPA3-Enterprise in the encrypt_map() function to ensure the WebUI displays the correct security mode instead of the default(WPAWPA2-PSK) value.
Test Procedure: Configure Device.WiFi.AccessPoint.*.Security.ModeEnabled to WPA3-Enterprise via DMCLI and verify the same from WebUI.
Risks: Low.

Signed-off-by: ksaipr036 <kosika_saipriya@comcast.com>
Copilot AI review requested due to automatic review settings July 1, 2026 09:16

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

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

Comment on lines +1176 to +1180
}else if($WPA3_enable == "true" && $encrypt_mode == "WPA3-Enterprise"){
?>
<option value="WPA3-Personal Only" id="secmode4" title="WPA requires an 8-63 ASCII character password or a 64 hex character password. Hex means only the following characters can be used: ABCDEF0123456789." <?% if ("WPA3-Personal Only"==$security) echo( "selected");?> >WPA3-Personal Only</option>
<option value="WPA3-Enterprise" <?% if ("WPA3-Enterprise"==$security) echo( "selected");?> >WPA3-Enterprise</option>
<?%
Comment on lines +1203 to +1208
}else if($WPA3_enable == "true" && $encrypt_mode == "WPA3-Enterprise"){
?>
<option value="WPA3-Personal Transition" <?% if ("WPA3-Personal Transition"==$security) echo( "selected");?> >WPA3-Personal Transition (Recommended)</option>
<option value="WPA3-Personal Only" <?% if ("WPA3-Personal Only"==$security) echo( "selected");?> >WPA3-Personal Only</option>
<option value="WPA3-Enterprise" <?% if ("WPA3-Enterprise"==$security) echo( "selected");?> >WPA3-Enterprise</option>
<option value="WPA2_PSK_AES" id="secmode4" title="WPA requires an 8-63 ASCII character password or a 64 hex character password. Hex means only the following characters can be used: ABCDEF0123456789." <?% if ("WPA2_PSK_AES"==$security) echo( "selected");?> >WPA2-PSK (AES)</option>
Comment on lines +1178 to +1179
<option value="WPA3-Personal Only" id="secmode4" title="WPA requires an 8-63 ASCII character password or a 64 hex character password. Hex means only the following characters can be used: ABCDEF0123456789." <?% if ("WPA3-Personal Only"==$security) echo( "selected");?> >WPA3-Personal Only</option>
<option value="WPA3-Enterprise" <?% if ("WPA3-Enterprise"==$security) echo( "selected");?> >WPA3-Enterprise</option>
Comment on lines +173 to +175
else if ("WPA3-Enterprise" == $encrypt_mode){
$security = "WPA3-Enterprise";
}
@tinaelizabeth84

Copy link
Copy Markdown

@ksaipr036 please let us know once you have resolved all comments from copilot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contribution from community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants