Skip to content

RDKB-63802: Fix CSI collection for MLO clients#1016

Open
bmilcz-comcast wants to merge 1 commit intordkcentral:developfrom
bmilcz-comcast:csi-mlo-fix
Open

RDKB-63802: Fix CSI collection for MLO clients#1016
bmilcz-comcast wants to merge 1 commit intordkcentral:developfrom
bmilcz-comcast:csi-mlo-fix

Conversation

@bmilcz-comcast
Copy link
Copy Markdown
Contributor

Reason for change: Fix CSI data collection for MLO enabled associated clients.
Test Procedure: Verify build, enable Levl app, provide client MLD MAC address via proper command, check if data is collected. Risks: None
Priority: P2

@bmilcz-comcast bmilcz-comcast requested a review from a team as a code owner March 26, 2026 15:42
@bmilcz-comcast
Copy link
Copy Markdown
Contributor Author

Requires #994

@bmilcz-comcast bmilcz-comcast force-pushed the csi-mlo-fix branch 2 times, most recently from 735ef5f to 9888cba Compare March 26, 2026 16:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 aims to fix CSI data collection for MLO (multi-link) enabled associated clients by ensuring CSI events are attributed to the correct (MLD) client MAC address.

Changes:

  • Added a helper in the controller layer to map an incoming MAC to an associated MLD MAC for MLO clients.
  • Updated CSI processing to use the mapped associated MAC when publishing CSI events.
  • Updated AP index lookup to treat MLO clients as “connected” only when the association/primary link is identified.

Reviewed changes

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

File Description
source/core/wifi_ctrl.c Adds MLD association lookup helper and refines get_ap_index_from_clientmac() logic for MLO association-link behavior.
source/apps/csi/wifi_csi.c Uses the new MLD association lookup so CSI events are emitted with the MLD MAC instead of a link MAC.

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

@bmilcz-comcast bmilcz-comcast force-pushed the csi-mlo-fix branch 3 times, most recently from d11a45c to 37c34ee Compare March 27, 2026 09:49
@bmilcz-comcast bmilcz-comcast marked this pull request as ready for review March 27, 2026 12:45
@bmilcz-comcast bmilcz-comcast marked this pull request as draft March 31, 2026 11:46
Reason for change: Fix CSI data collection for MLO enabled associated
clients.
Test Procedure: Verify build, enable Levl app, provide client MLD MAC
address via proper command, check if data is collected.
Risks: None
Priority: P2

Signed-off-by: Brayan Milczarek <brayan_milczarek@comcast.com>
@bmilcz-comcast bmilcz-comcast marked this pull request as ready for review April 1, 2026 11:38
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.

3 participants