Skip to content

RDKCOM-5544: RDKBWIFI-322 Wifi 6/7 Radio capabilities - AP Capabiliti…#1216

Open
tinaelizabeth84 wants to merge 1 commit into
rdkcentral:mainfrom
tinaelizabeth84:RDKCOM-5544
Open

RDKCOM-5544: RDKBWIFI-322 Wifi 6/7 Radio capabilities - AP Capabiliti…#1216
tinaelizabeth84 wants to merge 1 commit into
rdkcentral:mainfrom
tinaelizabeth84:RDKCOM-5544

Conversation

@tinaelizabeth84

Copy link
Copy Markdown

…es (#934)

  • Changes for Wifi Radio Capability data to be populated in OneWifi

Reason for change: The OneWifi/Easymesh needs Radio Capabilities data which is missing. Hence implemented the method to pull the caps from Driver(Hostap) to OneWifi.

Signed-off-by:sriraaman-c <sriraaman33@gmail.com

…es (rdkcentral#934)

* Changes for Wifi Radio Capability data to be populated in OneWifi

Reason for change: The OneWifi/Easymesh needs Radio Capabilities
data which is missing. Hence implemented the method to pull the
caps from Driver(Hostap) to OneWifi.

Co-authored-by: sriraaman-c <sriraaman33@gmail.com>
Copilot AI review requested due to automatic review settings June 22, 2026 15:07

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 adds WiFi 6 (802.11ax/HE) and WiFi 7 (802.11be/EHT) radio capability propagation through the webconfig radiocap subdoc and translates those capabilities into EasyMesh radio capability structures, enabling OneWifi/EasyMesh consumers to access driver-reported radio capabilities.

Changes:

  • Extend radiocap JSON encoding/decoding to distinguish PhyIndex vs RadioIndex and to carry WiFi6/7 capability fields/arrays.
  • Add an EasyMesh translator helper to map OneWifi HE/EHT capabilities into em_radio_cap_info_t.
  • Extend the external EasyMesh proto interface (webconfig_external_easymesh_t) to provide a get_radio_cap callback.

Reviewed changes

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

Show a summary per file
File Description
source/webconfig/wifi_encoder.c Encodes PhyIndex + RadioIndex and adds WiFi6/7 capability fields into the radiocap JSON.
source/webconfig/wifi_decoder.c Decodes the new index fields and WiFi6/7 capability fields from radiocap JSON.
source/webconfig/wifi_easymesh_translator.c Translates OneWifi radiocap HE/EHT data into EasyMesh radio capability structures and wires new callback in proto init.
include/wifi_base.h Adds HE capability bit position constants used during translation.
include/webconfig_external_proto_easymesh.h Adds get_radio_cap callback type/member and extends init signature to accept it.

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

Comment on lines +4915 to +4918
decode_param_bool(object, "WiFi6Supported", value_object);
if (value_object != NULL) {
radio_cap->wifi6_supported = (value_object->type & cJSON_True) ? true : false;
}
Comment on lines +4983 to +4986
decode_param_bool(object, "WiFi7Supported", value_object);
if (value_object != NULL) {
radio_cap->wifi7_supported = (value_object->type & cJSON_True) ? true : false;
}
@@ -506,6 +623,19 @@ webconfig_error_t translate_radio_object_to_easymesh_for_dml(webconfig_subdoc_da
em_radio_info->associated_sta_link_mterics_inclusion_policy = 0;
strncpy (em_radio_info->chip_vendor, wifi_prop->manufacturer, strlen(em_radio_info->chip_vendor));
Comment on lines +626 to +630
em_radio_cap_info_t *radio_cap = proto->get_radio_cap(proto->data_model, wifi_prop->radiocap[index].rdk_radio_index);
if (radio_cap == NULL) {
wifi_util_error_print(WIFI_WEBCONFIG, "%s:%d: radio_cap not found\n", __func__, __LINE__);
return webconfig_error_translate_to_easymesh;
}
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.

4 participants