Skip to content

BCOMB-3480: Client connectivity drop due to Gateway blocking Unencrypted frames#1245

Open
Raju-krish wants to merge 1 commit into
rdkcentral:release/v8.5_p1b_patchfrom
Raju-krish:release/v8.5_p1b_patch
Open

BCOMB-3480: Client connectivity drop due to Gateway blocking Unencrypted frames#1245
Raju-krish wants to merge 1 commit into
rdkcentral:release/v8.5_p1b_patchfrom
Raju-krish:release/v8.5_p1b_patch

Conversation

@Raju-krish

Copy link
Copy Markdown
Contributor

Reason for change : DHCP discover gets dropped because STA sends it without encryption.
Proposed Fix : Disassociate the client if it doesn't have IP
Test Proceedure : 1) If STA sends unprotected frame without having IP should disassociate.
Priority: P0
Risks: Low

…ted frames

Reason for change : DHCP discover gets dropped because STA sends it without encryption.
Proposed Fix : Disassociate the client if it doesn't have IP
Test Proceedure : 1) If STA sends unprotected frame without having IP should disassociate.
Priority: P0
Risks: Low

Signed-off-by: Rajagopalaswamy M <mrajagopalaswamy@gmail.com>
Copilot AI review requested due to automatic review settings July 3, 2026 10:30

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

Fixes a client connectivity issue where unencrypted frames (notably DHCP Discover) are dropped by triggering a client disassociation when the client has not yet obtained an IP address, allowing the client to reconnect and retry DHCP successfully.

Changes:

  • Added a new Wi-Fi HAL callback handler for “frame dropped due to being unencrypted”.
  • Implemented logic to disassociate a client when an unencrypted frame is dropped and the client has no IP.
  • Registered the new HAL callback during Wi-Fi monitor initialization.

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

mac_address_t sta_mac;
char cli_ip_str[IP_STR_LEN] = { 0 };
char cli_interface_str[IFNAMSIZ] = { 0 };
const int reason = 2;
Comment on lines +3388 to +3396
/* Only force a disassoc when the STA has no IPv4 yet, where the
* unprotected frames are blocking DHCP from ever succeeding. */
if (csi_getClientIpAddress(src_mac, cli_ip_str, cli_interface_str, 1) == 0 &&
cli_ip_str[0] != '\0') {
wifi_util_info_print(WIFI_MON,
"%s:%d: [FC_WEP] client[%s] has IPv4 %s on %s - no action\n",
__func__, __LINE__, src_mac, cli_ip_str, cli_interface_str);
return 0;
}
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