-
Notifications
You must be signed in to change notification settings - Fork 138
XF10-34: Add XF10 support #790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
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>
There was a problem hiding this 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_) || \ |
Copilot
AI
Dec 19, 2025
There was a problem hiding this comment.
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.
| defined (_SCER11BEL_PRODUCT_REQ_) || defined (_GREXT02ACTS_PRODUCT_REQ_) || defined (_GREXT02ACTS_PRODUCT_REQ_) || \ | |
| defined (_SCER11BEL_PRODUCT_REQ_) || defined (_GREXT02ACTS_PRODUCT_REQ_) || \ |
| #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_) |
Copilot
AI
Dec 19, 2025
There was a problem hiding this comment.
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.
| // defined(_SR213_PRODUCT_REQ_) || \ defined(_WNXL11BWL_PRODUCT_REQ_) || defined(_SCXF11BFL_PRODUCT_REQ_) | |
| // defined(_SR213_PRODUCT_REQ_) || defined(_WNXL11BWL_PRODUCT_REQ_) || defined(_SCXF11BFL_PRODUCT_REQ_) |
| 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:` |
Copilot
AI
Dec 19, 2025
There was a problem hiding this comment.
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.
| 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:` |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this 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.
Bringup PR - XF10-34 : Add XF10 support #526 into main branch.
Reason for change: Add XF10 changes.
Test Procedure: None
Risks: None
Priority: P2