Skip to content

RDKBACCL-1485: Verify configurable wan interface in BPI R4#65

Open
anatar818 wants to merge 12 commits into
developfrom
anatar818-patch-2
Open

RDKBACCL-1485: Verify configurable wan interface in BPI R4#65
anatar818 wants to merge 12 commits into
developfrom
anatar818-patch-2

Conversation

@anatar818

Copy link
Copy Markdown
Contributor

Reason for change: Verify configurable wan interface in BPI R4 (ethagent functionality)
Test Procedure: Build and flash the image ,Validate wan functionality for the customized interface name
Risks: None

Reason for change: Verify configurable wan interface in BPI R4 (ethagent functionality)
Test Procedure: Build and flash the image ,Validate wan functionality for the customized interface name
Risks: None
@anatar818 anatar818 requested review from a team as code owners May 22, 2026 11:09
@anatar818 anatar818 marked this pull request as draft May 22, 2026 11:10
@anatar818 anatar818 marked this pull request as ready for review June 19, 2026 10:24
Copilot AI review requested due to automatic review settings June 19, 2026 10:24

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 updates Ethernet agent initialization for BPI R4 (and related platforms) to support a configurable WAN interface name via syscfg (wan_physical_ifname) during CosaDmlEthInit.

Changes:

  • Adds a _PLATFORM_RASPBERRYPI_ / _PLATFORM_TURRIS_ / _PLATFORM_BANANAPI_R4_ code path to create a WAN bridge interface named from wan_physical_ifname (defaulting to erouter0).
  • Sets a MAC address on the created bridge and enslaves ETHWAN_DEF_INTF_NAME under it (when VLAN Manager is not enabled).

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

Comment thread source/TR-181/board_sbapi/cosa_ethernet_apis.c Outdated
Comment thread source/TR-181/board_sbapi/cosa_ethernet_apis.c
Comment thread source/TR-181/board_sbapi/cosa_ethernet_apis.c
Comment thread source/TR-181/board_sbapi/cosa_ethernet_apis.c Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 19, 2026 10:28

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

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

Comment thread source/TR-181/board_sbapi/cosa_ethernet_apis.c
Comment thread source/TR-181/board_sbapi/cosa_ethernet_apis.c Outdated
Comment thread source/TR-181/board_sbapi/cosa_ethernet_apis.c
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 19, 2026 10:32

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

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

Comment thread source/TR-181/board_sbapi/cosa_ethernet_apis.c
Comment thread source/TR-181/board_sbapi/cosa_ethernet_apis.c
Comment thread source/TR-181/board_sbapi/cosa_ethernet_apis.c
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.

2 participants