-
Notifications
You must be signed in to change notification settings - Fork 7.3k
drivers: wifi: siwx91x: Add features to opermode (boot config) #89614
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?
drivers: wifi: siwx91x: Add features to opermode (boot config) #89614
Conversation
muahmed-silabs
commented
May 7, 2025
- Added certain features to boot_config
- Added WIFI_SILABS_SIWX91X_LIMIT_PACKET_BUF_PER_STA to Kconfig
- Enabled roaming by default
- Added certain features to boot_config - Added WIFI_SILABS_SIWX91X_LIMIT_PACKET_BUF_PER_STA to Kconfig - Enabled roaming by default Signed-off-by: Muzaffar Ahmed <muzaffar.ahmed@silabs.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.
Only cosmetics.
Note that, theoretically, this the commit should have been split in three parts:
- Enable roaming by default
- Introduce
WIFI_SILABS_SIWX91X_LIMIT_PACKET_BUF_PER_STA
- Fix boot_config
(don't bother with that for the current PR)
help | ||
In AP mode, if the bit is set, only two packets per Station (STA) | ||
would be buffered when the STA is in Power Save (PS) mode. | ||
This helps manage buffer usage and ensures efficient packet handling. |
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 help message should be indented with one tab + 2 spaces.
SL_SI91X_EXT_FEAT_DISABLE_XTAL_CORRECTION | | ||
SL_SI91X_EXT_FEAT_NWP_QSPI_80MHZ_CLK_ENABLE | | ||
SL_SI91X_EXT_FEAT_FRONT_END_SWITCH_PINS_ULP_GPIO_4_5_0 | | ||
SL_SI91X_EXT_FEAT_FRONT_END_INTERNAL_SWITCH, |
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.
You can align the values. Either:
.custom_feature_bit_map = SL_SI91X_CUSTOM_FEAT_EXTENSION_VALID |
SL_SI91X_CUSTOM_FEAT_RTC_FROM_HOST,
or:
.custom_feature_bit_map =
SL_SI91X_CUSTOM_FEAT_EXTENSION_VALID |
SL_SI91X_CUSTOM_FEAT_RTC_FROM_HOST,
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.
One thing that might help some editors to auto-align this, is to put the value inside parentheses, i.e.:
.ext_custom_feature_bit_map = (SL_SI91X_EXT_FEAT_XTAL_CLK |
SL_SI91X_EXT_FEAT_1P8V_SUPPORT |
...
SL_SI91X_EXT_FEAT_FRONT_END_INTERNAL_SWITCH),