Skip to content

Commit f226c12

Browse files
committed
drivers: wifi: siwx91x: To improve SiWx91x performance
To enhance throughput performance on the SiWx91x series, Added some Siwx91x configurations by deafult. Signed-off-by: Rahul Gurram <[email protected]>
1 parent a3aa513 commit f226c12

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

dts/arm/silabs/siwg917.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
* Less memory is allocated to Zephyr, more memory is allocated
6565
* to NWP, better are the WiFi and BLE performances.
6666
*/
67-
reg = <0x00000400 DT_SIZE_K(255)>;
67+
reg = <0x00000400 DT_SIZE_K(319)>;
6868
};
6969

7070
sram_dma1: memory-dma@24061c00 {

soc/silabs/silabs_siwx91x/siwg917/siwx91x_nwp.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,8 @@ static int siwx91x_get_nwp_config(const struct device *dev,
322322
.tcp_ip_feature_bit_map = SL_SI91X_TCP_IP_FEAT_EXTENSION_VALID,
323323
.custom_feature_bit_map = SL_SI91X_CUSTOM_FEAT_EXTENSION_VALID |
324324
SL_SI91X_CUSTOM_FEAT_ASYNC_CONNECTION_STATUS |
325-
SL_SI91X_CUSTOM_FEAT_RTC_FROM_HOST,
325+
SL_SI91X_CUSTOM_FEAT_RTC_FROM_HOST |
326+
SL_SI91X_CUSTOM_FEAT_SOC_CLK_CONFIG_120MHZ,
326327
.ext_custom_feature_bit_map =
327328
SL_SI91X_EXT_FEAT_XTAL_CLK | SL_SI91X_EXT_FEAT_1P8V_SUPPORT |
328329
SL_SI91X_EXT_FEAT_DISABLE_XTAL_CORRECTION |
@@ -331,6 +332,9 @@ static int siwx91x_get_nwp_config(const struct device *dev,
331332
SL_SI91X_EXT_FEAT_FRONT_END_INTERNAL_SWITCH |
332333
SL_SI91X_EXT_FEAT_XTAL_CLK,
333334
}
335+
.ta_pool = {.tx_ratio_in_buffer_pool = 1,
336+
.rx_ratio_in_buffer_pool = 1,
337+
.global_ratio_in_buffer_pool = 1}
334338
};
335339

336340
sl_si91x_boot_configuration_t *boot_config = &default_config.boot_config;

0 commit comments

Comments
 (0)