Skip to content

RDKBWIFI-349: Easymesh - Enable MLO for all backhaul VAPs - #1483

Open
rakhilpe wants to merge 1 commit into
rdkcentral:developfrom
rakhilpe:enable_mlo_backhaul
Open

rakhilpe wants to merge 1 commit into
rdkcentral:developfrom
rakhilpe:enable_mlo_backhaul

Conversation

@rakhilpe

@rakhilpe rakhilpe commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

RDKBWIFI-349: Easymesh - Enable MLO for all backhaul VAPs

Reason for change: Added mld1 interface for enabling backhaul MLO. Also enabled 6GHz iot and mesh_backhaul VAPs in OpenWRT build.

  • Treat an all-zero MLD/BSSID as invalid in fill_ap_mld_info_from_vap to avoid reporting a bogus valid MAC.
  • Drop the now-unused mesh-STA/AP-MLD-info branch (and its dead ret) from translate_vap_object_to_easymesh_for_dml, superseded by translate_vap_object_to_easymesh_bss_info.

Test Procedure: Ensure BE mode enabled for backhaul vaps and extender connections works in MLO.
Risks: Medium
Priority: P1

@rakhilpe
rakhilpe requested a review from a team as a code owner October 1, 2026 09:32
Copilot AI balanced review requested due to automatic review settings October 1, 2026 09:32
@github-actions github-actions Bot added the community contribution Contributions from community. label Oct 1, 2026

@github-actions github-actions Bot 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.

clang-format suggests the formatting changes below. Use Commit suggestion to apply them.

Comment thread source/webconfig/wifi_easymesh_translator.c Outdated
Comment thread source/webconfig/wifi_easymesh_translator.c Outdated

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.

Copilot review overview

🟡 Changes recommended

DML AP-MLD updates regress, and MLD MAC generation mishandles octet overflow.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Enables MLO for Banana Pi EasyMesh backhaul VAPs and adds the required 6 GHz interfaces.

Changes:

  • Assigns mesh backhaul VAPs to MLD group 1.
  • Adds mld1, 6 GHz backhaul, and IoT interfaces.
  • Rejects zero MLD/BSSID addresses and removes duplicate translation logic.
File Description
source/​webconfig/​wifi_easymesh_translator.c Updates MLD MAC validation and translation flow.
source/​db/​wifi_db.c Enables default backhaul MLO configuration.
source/​db/​wifi_db_apis.c Mirrors backhaul MLO defaults in DB APIs.
config/​openwrt/​banana-pi/​wifi_interface_up.sh Creates and configures added interfaces.
config/​openwrt/​banana-pi/​wifi_interface_down.sh Tears down added interfaces.
config/​openwrt/​banana-pi/​InterfaceMap.json Maps backhaul links to mld1.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread config/openwrt/banana-pi/wifi_interface_up.sh
Comment thread source/webconfig/wifi_easymesh_translator.c
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

🔎 clang-tidy (advisory)

🔎 clang-tidy advisory — 1 findings

source/webconfig/wifi_easymesh_translator.c:1582:48: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression]

@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

🔨 Build summary

Commit 17a4798 · Build Check #5461

Banana Pi R4 - MLO — build success

⚠️ OneWifi warnings: 0

Raspberry Pi — build success

⚠️ OneWifi warnings: 0

Reason for change: Added mld1 interface for enabling backhaul MLO.
Also enabled 6GHz iot and mesh_backhaul VAPs in OpenWRT build.
- Treat an all-zero MLD/BSSID as invalid in fill_ap_mld_info_from_vap
  to avoid reporting a bogus valid MAC.
- Drop the now-unused mesh-STA/AP-MLD-info branch (and its dead `ret`)
  from translate_vap_object_to_easymesh_for_dml, superseded by
  translate_vap_object_to_easymesh_bss_info.

Test Procedure: Ensure BE mode enabled for backhaul vaps and extender connections works in MLO.
Risks: Medium
Priority: P1

Signed-off-by: Rakhil P E <rakhilpe001@gmail.com>
Copilot AI balanced review requested due to automatic review settings October 1, 2026 10:13
@rakhilpe
rakhilpe force-pushed the enable_mlo_backhaul branch from d72df14 to 17a4798 Compare October 1, 2026 10:13

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.

Copilot review overview

🟡 Changes recommended

Persisted configurations are not migrated, and the standard OpenWRT package replaces the updated interface map with an outdated variant.

Review effort: Balanced
Findings: 1 High severity · 1 Medium severity

Open (2)
Resolved since last review (2)

Comment thread config/openwrt/banana-pi/InterfaceMap.json
Comment thread source/db/wifi_db_apis.c
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