driver: wifi: siwx91x: Add roaming configuration

- Defined Kconfig macros for Roam config
- Added set roam configuration API call
  after BGSCAN

Signed-off-by: Nitin Pandey <nitin.pandey@silabs.com>
This commit is contained in:
Nitin Pandey 2025-04-12 11:12:30 +05:30 committed by Benjamin Cabé
commit 50e36095dd
3 changed files with 59 additions and 0 deletions

View file

@ -45,6 +45,11 @@ int siwg91x_get_nwp_config(int wifi_oper_mode, sl_wifi_device_configuration_t *g
if (wifi_oper_mode == SL_SI91X_CLIENT_MODE) {
boot_config->oper_mode = SL_SI91X_CLIENT_MODE;
if (IS_ENABLED(CONFIG_WIFI_SILABS_SIWX91X_ROAMING_USE_DEAUTH)) {
boot_config->custom_feature_bit_map |=
SL_SI91X_CUSTOM_FEAT_ROAM_WITH_DEAUTH_OR_NULL_DATA;
}
if (IS_ENABLED(CONFIG_WIFI_SILABS_SIWX91X) &&
IS_ENABLED(CONFIG_BT_SILABS_SIWX91X)) {
boot_config->coex_mode = SL_SI91X_WLAN_BLE_MODE;