Skip to content

XF10-34: Add XF10 support#790

Open
vysakhav wants to merge 7 commits intordkcentral:mainfrom
vysakhav:main
Open

XF10-34: Add XF10 support#790
vysakhav wants to merge 7 commits intordkcentral:mainfrom
vysakhav:main

Conversation

@vysakhav
Copy link
Contributor

Bringup PR - XF10-34 : Add XF10 support #526 into main branch.

Reason for change: Add XF10 changes.
Test Procedure: None
Risks: None
Priority: P2

jonathanwu-csv and others added 3 commits December 18, 2025 16:29
Reason for change: Add XF10 changes.
Test Procedure: None
Risks: None
Priority: P0

Signed-off-by: Jonathan Wu <Jonathan_Wu@comcast.com>
Test Procedure: Resolve merge conflicts

Priority:P2
Signed-off-by: vysakhav <vysakhav@protonmail.com>
Copilot AI review requested due to automatic review settings December 19, 2025 11:42
Copy link

Copilot AI left a comment

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 support for the XF10 product (model SCXF11BFL) by including the _SCXF11BFL_PRODUCT_REQ_ preprocessor macro and "SCXF11BFL" model number checks across the codebase. The changes enable the XF10 device to use the same configuration and behavior patterns as similar Sky Hub products like SCER11BEL.

Key changes:

  • Added _SCXF11BFL_PRODUCT_REQ_ macro to conditional compilation blocks across C source files
  • Updated shell scripts to include "SCXF11BFL" model number checks
  • Reordered some existing macro definitions for consistency (SR213 before WNXL11BWL)

Reviewed changes

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

Show a summary per file
File Description
source/webconfig/wifi_ovsdb_translator.c Added XF10 macro to cloud VIF mapping and hostap management frame control conditionals
source/utils/wifi_util.c Added XF10 macro to radio hardware type detection
source/dml/tr_181/ml/cosa_wifi_dml.c Added XF10 macro to BCM platform include conditionals
source/db/wifi_db_apis.c Added XF10 macro to WPA3 RFC, hostap frame control, and VAP configuration conditionals
source/db/wifi_db.c Added XF10 macro to default VAP configuration for XHS disablement
source/core/wifi_ctrl.c Added XF10 macro to Wi-Fi service initialization for credential validation
scripts/mesh_setip.sh Added "SCXF11BFL" model checks for bridge utilities and mesh interface configuration
scripts/OneWiFi_Selfheal.sh Added "SCXF11BFL" model checks for eco mode and radio status handling

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


#if defined (_PP203X_PRODUCT_REQ_) || defined (_XER5_PRODUCT_REQ_) || defined (_XB10_PRODUCT_REQ_) || defined (_SCER11BEL_PRODUCT_REQ_) || defined (_GREXT02ACTS_PRODUCT_REQ_) || defined (_GREXT02ACTS_PRODUCT_REQ_)
#if defined (_PP203X_PRODUCT_REQ_) || defined (_XER5_PRODUCT_REQ_) || defined (_XB10_PRODUCT_REQ_) || \
defined (_SCER11BEL_PRODUCT_REQ_) || defined (_GREXT02ACTS_PRODUCT_REQ_) || defined (_GREXT02ACTS_PRODUCT_REQ_) || \
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The macro _GREXT02ACTS_PRODUCT_REQ_ is defined twice in this preprocessor condition. Remove one of the duplicate occurrences.

Suggested change
defined (_SCER11BEL_PRODUCT_REQ_) || defined (_GREXT02ACTS_PRODUCT_REQ_) || defined (_GREXT02ACTS_PRODUCT_REQ_) || \
defined (_SCER11BEL_PRODUCT_REQ_) || defined (_GREXT02ACTS_PRODUCT_REQ_) || \

Copilot uses AI. Check for mistakes.
#endif // defined(_XB7_PRODUCT_REQ_) || defined(_XB8_PRODUCT_REQ_) || defined(_XB10_PRODUCT_REQ_) ||
// defined(_SCER11BEL_PRODUCT_REQ_) || defined(_CBR2_PRODUCT_REQ_) ||
// defined(_WNXL11BWL_PRODUCT_REQ_) || defined(_SR213_PRODUCT_REQ_)
// defined(_SR213_PRODUCT_REQ_) || \ defined(_WNXL11BWL_PRODUCT_REQ_) || defined(_SCXF11BFL_PRODUCT_REQ_)
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The line continuation backslash is incorrectly placed in the middle of the comment instead of at the end of the line, and there's an extra space before "defined". The comment should have the backslash at the end of line 7299 if line continuation is needed, or remove it if the comment is meant to span multiple lines naturally.

Suggested change
// defined(_SR213_PRODUCT_REQ_) || \ defined(_WNXL11BWL_PRODUCT_REQ_) || defined(_SCXF11BFL_PRODUCT_REQ_)
// defined(_SR213_PRODUCT_REQ_) || defined(_WNXL11BWL_PRODUCT_REQ_) || defined(_SCXF11BFL_PRODUCT_REQ_)

Copilot uses AI. Check for mistakes.
eco_mode_2g=`dmcli eRT getv Device.WiFi.Radio.$radio_2g_instance.X_RDK_EcoPowerDown | grep "value:" | cut -f2- -d:| cut -f2- -d:`
eco_mode_6g="false"
elif [ "$MODEL_NUM" == "SCER11BEL" ] || [ "$MODEL_NUM" == "SCXF11BFL" ]; then
eco_mode_2g=`dmcli eRT getv Device.WiFi.Radio.$radio_2g_instance.X_RDK_EcoPowerDown | grep "value:" | cut -f2- -d:| cut -f2- -d:`
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is trailing whitespace at the end of this line. Remove the trailing space for consistency with coding standards.

Suggested change
eco_mode_2g=`dmcli eRT getv Device.WiFi.Radio.$radio_2g_instance.X_RDK_EcoPowerDown | grep "value:" | cut -f2- -d:| cut -f2- -d:`
eco_mode_2g=`dmcli eRT getv Device.WiFi.Radio.$radio_2g_instance.X_RDK_EcoPowerDown | grep "value:" | cut -f2- -d:| cut -f2- -d:`

Copilot uses AI. Check for mistakes.
vysakhav and others added 2 commits December 19, 2025 16:20
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings December 23, 2025 10:39
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

4 participants