Skip to content

Commit

Permalink
nrf_wifi: Add support for recovering RPU stuck in sleep
Browse files Browse the repository at this point in the history
In case RPU is stuck in sleep, FW based watchdog interrupt will not be
received, so, recovery cannot be triggered. So, in case of RPU wakeup
failure, trigger the recovery.

Fixes SHEL-2810.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 authored and anangl committed Jun 6, 2024
1 parent 0d84831 commit 5250a98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nrf_wifi/hw_if/hal/src/hal_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,8 @@ enum nrf_wifi_status hal_rpu_ps_wake(struct nrf_wifi_hal_dev_ctx *hal_dev_ctx)
RPU_PS_WAKE_TIMEOUT_S,
reg_val,
rpu_ps_state_mask);
nrf_wifi_osal_tasklet_schedule(hal_dev_ctx->hpriv->opriv,
hal_dev_ctx->recovery_tasklet);
goto out;
}
hal_dev_ctx->rpu_ps_state = RPU_PS_STATE_AWAKE;
Expand Down

0 comments on commit 5250a98

Please sign in to comment.