@@ -35,8 +35,14 @@ int siwg91x_get_nwp_config(int wifi_oper_mode, sl_wifi_device_configuration_t *g
35
35
.boot_config = {
36
36
.feature_bit_map = SL_SI91X_FEAT_SECURITY_OPEN | SL_SI91X_FEAT_WPS_DISABLE ,
37
37
.tcp_ip_feature_bit_map = SL_SI91X_TCP_IP_FEAT_EXTENSION_VALID ,
38
- .custom_feature_bit_map = SL_SI91X_CUSTOM_FEAT_EXTENSION_VALID ,
39
- .ext_custom_feature_bit_map = SL_SI91X_EXT_FEAT_XTAL_CLK ,
38
+ .custom_feature_bit_map = SL_SI91X_CUSTOM_FEAT_EXTENSION_VALID |
39
+ SL_SI91X_CUSTOM_FEAT_RTC_FROM_HOST ,
40
+ .ext_custom_feature_bit_map =
41
+ SL_SI91X_EXT_FEAT_XTAL_CLK | SL_SI91X_EXT_FEAT_1P8V_SUPPORT |
42
+ SL_SI91X_EXT_FEAT_DISABLE_XTAL_CORRECTION |
43
+ SL_SI91X_EXT_FEAT_NWP_QSPI_80MHZ_CLK_ENABLE |
44
+ SL_SI91X_EXT_FEAT_FRONT_END_SWITCH_PINS_ULP_GPIO_4_5_0 |
45
+ SL_SI91X_EXT_FEAT_FRONT_END_INTERNAL_SWITCH ,
40
46
}
41
47
};
42
48
sl_si91x_boot_configuration_t * boot_config = & default_config .boot_config ;
@@ -78,9 +84,7 @@ int siwg91x_get_nwp_config(int wifi_oper_mode, sl_wifi_device_configuration_t *g
78
84
#ifdef CONFIG_WIFI_SILABS_SIWX91X
79
85
boot_config -> ext_tcp_ip_feature_bit_map = SL_SI91X_CONFIG_FEAT_EXTENSION_VALID ;
80
86
boot_config -> config_feature_bit_map = SL_SI91X_ENABLE_ENHANCED_MAX_PSP ;
81
- boot_config -> ext_custom_feature_bit_map |=
82
- SL_SI91X_EXT_FEAT_IEEE_80211W |
83
- SL_SI91X_EXT_FEAT_FRONT_END_SWITCH_PINS_ULP_GPIO_4_5_0 ;
87
+ boot_config -> ext_custom_feature_bit_map |= SL_SI91X_EXT_FEAT_IEEE_80211W ;
84
88
#endif
85
89
86
90
#ifdef CONFIG_BT_SILABS_SIWX91X
@@ -111,14 +115,19 @@ int siwg91x_get_nwp_config(int wifi_oper_mode, sl_wifi_device_configuration_t *g
111
115
}
112
116
113
117
if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_LIMIT_PACKET_BUF_PER_STA )) {
114
- boot_config -> custom_feature_bit_map |= SL_SI91X_CUSTOM_FEAT_LIMIT_PACKETS_PER_STA ;
118
+ boot_config -> custom_feature_bit_map |=
119
+ SL_SI91X_CUSTOM_FEAT_LIMIT_PACKETS_PER_STA ;
115
120
}
116
121
117
122
} else {
118
123
return - EINVAL ;
119
124
}
120
125
121
126
#ifdef CONFIG_WIFI_SILABS_SIWX91X
127
+ if (!IS_ENABLED (CONFIG_PM )) {
128
+ boot_config -> custom_feature_bit_map |= SL_SI91X_CUSTOM_FEAT_SOC_CLK_CONFIG_160MHZ ;
129
+ }
130
+
122
131
if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_NET_STACK_OFFLOAD )) {
123
132
boot_config -> tcp_ip_feature_bit_map |= SL_SI91X_TCP_IP_FEAT_ICMP ;
124
133
boot_config -> ext_tcp_ip_feature_bit_map |= SL_SI91X_EXT_TCP_IP_WINDOW_SCALING ;
0 commit comments