diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-12-31 11:36:41 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-06 20:19:44 +0100 |
commit | 4636187da60b6e33526050235c610409d9cc00e8 (patch) | |
tree | e1bd810c8f421db9e787b2399f0288412bd92f6b /drivers/net/wireless/mwifiex/main.h | |
parent | mwifiex: increase delay during card reset (diff) | |
download | linux-4636187da60b6e33526050235c610409d9cc00e8.tar.xz linux-4636187da60b6e33526050235c610409d9cc00e8.zip |
mwifiex: add wakeup timer based recovery mechanism
If host fails to wakeup the firmware, we will trigger card reset
after 3 second timeout.
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index f9279399226a..55273eefb785 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h @@ -830,6 +830,7 @@ struct mwifiex_adapter { u16 gen_null_pkt; u16 pps_uapsd_mode; u32 pm_wakeup_fw_try; + struct timer_list wakeup_timer; u8 is_hs_configured; struct mwifiex_hs_config_param hs_cfg; u8 hs_activated; |