class RecoveryTrigger

Defined at line 27 of file ../../src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/recovery/recovery_trigger.h

This is the center controller class for the driver recovery process, managing all

TriggerConditions, it do the initialization for them and also clear the counters for all of them

when recovery is triggered.

Public Members

TriggerCondition firmware_crash_
TriggerCondition sdio_timeout_
TriggerCondition ctrl_frame_response_timeout_
static const uint32_t kFirmwareCrashThreshold
static const uint16_t kSdioTimeoutThreshold
static const uint16_t kCtrlFrameResponseTimeoutThreshold

Public Methods

void RecoveryTrigger (std::shared_ptr<std::function<zx_status_t ()>> callback)

Defined at line 18 of file ../../src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/recovery/recovery_trigger.cc

void ~RecoveryTrigger ()

Defined at line 23 of file ../../src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/recovery/recovery_trigger.cc

void ClearStatistics ()

Set the counters of all TriggerConditions to 0.

Defined at line 25 of file ../../src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/recovery/recovery_trigger.cc