Skip to content

RDKBWIFI-278: Refactor CACR add multi-STA support and received subdoc from UWM#1166

Open
sundram0711 wants to merge 2 commits into
rdkcentral:developfrom
sundram0711:easymesh-refactor_client_assoc_multiSTA
Open

RDKBWIFI-278: Refactor CACR add multi-STA support and received subdoc from UWM#1166
sundram0711 wants to merge 2 commits into
rdkcentral:developfrom
sundram0711:easymesh-refactor_client_assoc_multiSTA

Conversation

@sundram0711
Copy link
Copy Markdown
Contributor

@sundram0711 sundram0711 commented Jun 4, 2026

  • Refactored implementation to support multiple STA entries per message (spec compliant)
  • Changed the struct to json format to carry cacr information from UWM to OneWifi.

Signed-off-by: Sundram Patel sundram.p@tataelxsi.co.in

Added a utility function to get the correct vap_index from bssid
Used that utility in the client assoc ctrl implementaiton.

Added a helper to cancel the timer if unblock request comes for the blocked stations.

Signed-off-by: Sundram Patel <sundram.p@tataelxsi.co.in>
- Refactored implementation to support multiple STA entries per message (spec compliant)
- Changed the struct to json format to carry cacr information from UWM to OneWifi.

Signed-off-by: Sundram Patel <sundram.p@tataelxsi.co.in>
@sundram0711 sundram0711 requested a review from a team as a code owner June 4, 2026 07:17
@github-actions github-actions Bot added the community contribution Contributions from community. label Jun 4, 2026
@sundram0711 sundram0711 changed the title Refactor CACR to support multi-STA per message RDKBWIFI-278: CACR add multi-STA support and received subdoc from UWM Jun 4, 2026
Comment thread source/apps/em/wifi_em.c
continue;
}

strncpy(sta_mac_list[count], mac_item->valuestring, MAC_ADDR_STR_LEN - 1);
Copy link
Copy Markdown
Contributor

@vlad-safonov vlad-safonov Jun 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
strncpy(sta_mac_list[count], mac_item->valuestring, MAC_ADDR_STR_LEN - 1);
snprintf(sta_mac_list[count], MAC_ADDR_STR_LEN, "%s", mac_item->valuestring);

More reliable and concise, and don't need add NUL in next line as it will be also added by snprintf

@sundram0711 sundram0711 changed the title RDKBWIFI-278: CACR add multi-STA support and received subdoc from UWM RDKBWIFI-278: Refactor CACR add multi-STA support and received subdoc from UWM Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community contribution Contributions from community.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants