Skip to content

Commit 7b11119

Browse files
committed
setting the TA retry to 1
1 parent 3890790 commit 7b11119

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/platform/silabs/wifi/SiWx/WifiInterface.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,10 @@ sl_status_t SetWifiConfigurations()
330330
VerifyOrReturnError(status == SL_STATUS_OK, status,
331331
ChipLogError(DeviceLayer, "sl_wifi_set_listen_interval failed: 0x%lx", status));
332332

333-
sl_wifi_advanced_client_configuration_t client_config = { .max_retry_attempts = 5 };
333+
// This is be triggered on the disconnect use case, providing the amount of TA tries
334+
// Setting the TA retry to 1 and giving the control to the M4 for improved power efficiency
335+
// When max_retry_attempts is set to 0, TA will retry indefinitely.
336+
sl_wifi_advanced_client_configuration_t client_config = { .max_retry_attempts = 1 };
334337
status = sl_wifi_set_advanced_client_configuration(SL_WIFI_CLIENT_INTERFACE, &client_config);
335338
VerifyOrReturnError(status == SL_STATUS_OK, status,
336339
ChipLogError(DeviceLayer, "sl_wifi_set_advanced_client_configuration failed: 0x%lx", status));

0 commit comments

Comments
 (0)