Skip to content

RDKBACCL-1991: Build and validate firmware feature in easymesh extender - #11

Open
ap934 wants to merge 1 commit into
rdkcentral:developfrom
ap934:firmware_upgrade_extender
Open

ap934 wants to merge 1 commit into
rdkcentral:developfrom
ap934:firmware_upgrade_extender

Conversation

@ap934

@ap934 ap934 commented Aug 10, 2026

Copy link
Copy Markdown

Reason for change: Add firmware upgrade support in extender build
Test Procedure: firmware upgrade should be successful for http and tftp in extender device after backhaul is connected
Risks: None
Priority: P1

Copilot AI lite review requested due to automatic review settings August 10, 2026 09:48
Reason for change: Add firmware upgrade support in extender build
Test Procedure: firmware upgrade should be successful for http and tftp in extender device after backhaul is connected
Risks: None
Priority: P1

Signed-off-by: ap934 <Akhil_P@comcast.com>

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 build-time support for EasyMesh extender firmware upgrade behavior by selecting a different “virtual” interface name at runtime when building for extender targets.

Changes:

  • Adds EXTENDER_ENABLED build define in configure.ac (intended to be enabled for extender builds).
  • Updates fwupgrade_hal_get_data_from_Xconf() to use brlan0 as the interface name when EXTENDER_ENABLED is set, instead of deriving WAN interface name from NVRAM/sysevent.

Reviewed changes

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

File Description
source/fwupgrade/fwupgrade_hal.c Uses brlan0 for MAC derivation on extender builds (compile-time switch).
source/fwupgrade/configure.ac Adds EXTENDER_ENABLED define to toggle extender-specific behavior.

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

Comment on lines +823 to 829
FILE *fp = NULL;
char g_virtualIfName[32] = "erouter0";
#ifdef EXTENDER_ENABLED
strcpy(g_virtualIfName, "brlan0");
#else
FILE *fp = fopen("/nvram/wan_name.txt", "r");


Comment on lines +35 to +37
if test "x$EM_EXTENDER" = "xtrue"; then
AC_DEFINE([EXTENDER_ENABLED], [1], [Enable EM Extender support])
fi
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