RDKBWIFI-446 Controller initiated Steering using Rbus Method#1145
RDKBWIFI-446 Controller initiated Steering using Rbus Method#1145anandhkr-plume wants to merge 1 commit into
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
There was a problem hiding this comment.
Pull request overview
This PR adds a new EasyMesh/EM bus entry point to support controller-initiated steering by allowing an agent/controller to request client disassociation via an RBUS-exposed method, including a helper to map BSSID → VAP index for the HAL call.
Changes:
- Added
Device.WiFi.EM.DisassocClientbus method constant and registration. - Introduced
disassoc_params_tpayload struct for disassociation requests sent over the bus. - Implemented BSSID→VAP lookup and a bus handler that triggers
wifi_hal_disassoc()(or no-ops for “silent” requests).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| source/apps/em/wifi_em.h | Adds a new EM bus method namespace for disassociating a client. |
| source/apps/em/wifi_em.c | Adds BSSID→VAP lookup and a DisassocClient bus handler; registers the new method. |
| include/wifi_base.h | Adds disassoc_params_t struct for bus payload used by the new handler. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I have read the CLA Document and I hereby sign the CLA |
fbb4f34 to
45295a6
Compare
| { WIFI_EM_FAILED_CONNECTION, bus_element_type_event, | ||
| { NULL, NULL, NULL, NULL, NULL, NULL }, slow_speed, ZERO_TABLE, | ||
| { bus_data_type_string, false, 0, 0, 0, NULL } } | ||
| { bus_data_type_bytes, true, 0, 0, 0, NULL } }, | ||
| { WIFI_EM_DISASSOC_CLIENT, bus_element_type_method, | ||
| { NULL, easymesh_disassoc_client_handler, NULL, NULL, NULL, NULL }, slow_speed, ZERO_TABLE, | ||
| { bus_data_type_bytes, false, 0, 0, 0, NULL } } |
| // Disassociation parameters sent from em_agent to OneWifi via bus | ||
| // Must match em_disassoc_params_t in em_base.h |
Implemented code changes needed for controller initiated steering. Includes Steering Mandate and Steering Opportunity for both 11v and non 11v Clients.
Test Procedure: Trigger Client Steering using Rbus Method, and check Client is steered across Band/Device
rbuscli method_values Device.WiFi.DataElements.Network.Device.{i}.Radio.{i}.BSS.{i}.STA.{i}.ClientSteer
Signed-off-by: Amalesh Nandh K R <anandhkr@plume.com>
45295a6 to
f8583ef
Compare
|
Hi @anandhkr-plume , |
Implemented code changes needed for controller initiated steering. Includes Steering Mandate and Steering Opportunity for both 11v and non 11v Clients.
Test Procedure: Trigger Client Steering using Rbus Method, and check Client is steered across Band/Device
rbuscli method_values Device.WiFi.DataElements.Network.Device.{i}.Radio.{i}.BSS.{i}.STA.{i}.ClientSteer
Signed-off-by: Amalesh Nandh K R anandhkr@plume.com