Skip to content

Commit

Permalink
Add comments to clarify power save mode configurations in Wi-Fi inter…
Browse files Browse the repository at this point in the history
…face
  • Loading branch information
rosahay-silabs committed Dec 7, 2024
1 parent 1e4c5d5 commit 4d45144
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/platform/silabs/wifi/rs911x/WifiInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,9 @@ int32_t wfx_rsi_send_data(void * p, uint16_t len)
sl_status_t ConfigurePowerSave(void)
{
int32_t status;
// RSI_SLEEP_2 is supported for associated stations only
// RSI_SLEEP_8 is non-associated sleep.
// FW will switch modes automatically
#ifdef RSI_BLE_ENABLE
status = rsi_bt_power_save_profile(RSI_SLEEP_MODE_2, RSI_MAX_PSP);
if (status != RSI_SUCCESS)
Expand Down

0 comments on commit 4d45144

Please sign in to comment.