Skip to content

RDKB-65720: CCI crash during beacon data parsing#34

Merged
gsathish86 merged 2 commits into
rdkcentral:developfrom
rranga540:beacon_crash
Jun 25, 2026
Merged

RDKB-65720: CCI crash during beacon data parsing#34
gsathish86 merged 2 commits into
rdkcentral:developfrom
rranga540:beacon_crash

Conversation

@rranga540

Copy link
Copy Markdown
Contributor

Impacted Platforms: TXB7, TXB8, VXB10, SXB10
Reason for change: Failed to parse the start_ap_data
Test Procedure: Trigger any VAP configuration test case from CCI.
Risks: Low
Priority: P2
Signed off by: RaviShankar.R_Rangaraj@comcast.com

Copilot AI review requested due to automatic review settings June 24, 2026 18:05

Copilot AI left a comment

Copy link
Copy Markdown

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 addresses a crash seen on multiple RDKB platforms during cfg80211 start_ap beacon parsing by aligning the message parsing logic with the presence of SSID data in the serialized payload.

Changes:

  • Added ssid and ssid_len fields to wlan_emu_cfg80211_start_ap_t.
  • Updated handle_cfg80211_start_ap() to parse ssid_len + ssid before reading beacon head/tail lengths.

Reviewed changes

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

File Description
src/messages/wlan_emu_msg_hdlr.cpp Parses SSID fields from the start_ap payload before parsing beacon head/tail.
inc/wlan_emu_msg_data.h Extends start_ap message data structure to store SSID and its length.

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

Comment thread src/messages/wlan_emu_msg_hdlr.cpp
Comment thread src/messages/wlan_emu_msg_hdlr.cpp
Comment thread inc/wlan_emu_msg_data.h
@gsathish86 gsathish86 merged commit 9633847 into rdkcentral:develop Jun 25, 2026
3 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 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.

4 participants