Skip to content

RDKB-66065: RFC MLO Enable - #1315

Open
bmilcz-comcast wants to merge 1 commit into
rdkcentral:developfrom
bmilcz-comcast:rdkb-66065
Open

RDKB-66065: RFC MLO Enable#1315
bmilcz-comcast wants to merge 1 commit into
rdkcentral:developfrom
bmilcz-comcast:rdkb-66065

Conversation

@bmilcz-comcast

Copy link
Copy Markdown
Contributor

Reason for change: Send notification to telemetry whenever MLO is completely disabled on device.
Test Procedure: Enable/disable MLO, check if appropriate messages are being sent.
Risks: Low
Priority: P1

Reason for change: Send notification to telemetry whenever MLO is
completely disabled on device.
Test Procedure: Enable/disable MLO, check if appropriate messages are
being sent.
Risks: Low
Priority: P1

Co-authored-by: Brayan Milczarek <brayan.milczarek@comcast.com>
Signed-off-by: Brayan Milczarek <brayan_milczarek@comcast.com>
Copilot AI review requested due to automatic review settings July 31, 2026 15:59
@bmilcz-comcast
bmilcz-comcast requested a review from a team as a code owner July 31, 2026 15:59
@bmilcz-comcast

Copy link
Copy Markdown
Contributor Author

Dependant on #1297

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 a mechanism to notify telemetry (via bus-set TR-181 report parameters) whenever the device’s effective MLO/RFC enable state changes, with retry handling to tolerate transient bus failures.

Changes:

  • Track last-known MLO RFC enable state and notification retry/pending status in wifi_ctrl_t.
  • Compute whether MLO is effectively enabled by scanning VAP MLD configuration and schedule bus updates (with retries) at boot and after relevant webconfig updates.
  • Introduce TR-181 parameter name macros for the two telemetry/report paths being updated.

Reviewed changes

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

File Description
source/core/wifi_ctrl.h Adds fields to track last MLO RFC state and notification retry/pending bookkeeping.
source/core/wifi_ctrl.c Implements MLO RFC state evaluation and bus notification scheduling/retry logic; triggers on boot and after MLD group updates.
include/wifi_base.h Adds TR-181 parameter string macros used for telemetry notifications.

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

Comment thread source/core/wifi_ctrl.c

int set_bus_bool_param(bus_handle_t *handle, const char *paramNames, bool data_value);
#if defined(CONFIG_IEEE80211BE) && !defined(CONFIG_GENERIC_MLO)
static void update_rfc_mlo_enable(bool force_update);
Comment thread source/core/wifi_ctrl.c
Comment on lines +3411 to +3420
if (wifi_mgr->ctrl.last_mlo_rfc_enable_notify_status_pending) {
if (scheduler_cancel_timer_task(wifi_mgr->ctrl.sched,
wifi_mgr->ctrl.last_mlo_rfc_notify_task_id) != RETURN_OK) {
wifi_util_error_print(WIFI_CTRL,
"%s:%d: Failed to cancel previous MLO RFC notify task\n", __FUNCTION__,
__LINE__);
wifi_mgr->ctrl.last_mlo_rfc_enable_notify_status_pending = false;
return;
}
}
Comment thread source/core/wifi_ctrl.c
Comment on lines +3385 to +3388
wifi_vap_info_t *vap = &wifi_mgr->radio_config[i].vaps.vap_map.vap_array[j];
if (vap == NULL) {
continue;
}
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