Skip to content

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

muahmed-silabs
Copy link

  • 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>
Copy link
Collaborator

@jerome-pouiller jerome-pouiller left a 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.
Copy link
Collaborator

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,
Copy link
Collaborator

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,

Copy link
Member

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),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants