summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/btcoex.h
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2012-10-15 13:59:50 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-10-29 23:19:29 +0400
commit2097fdd7ebdb1674aaf7343b7a1d6cc2758c1dff (patch)
treec1d05e894ffbc45b4cb1aa69485228b2dc716701 /drivers/net/wireless/ath/ath9k/btcoex.h
parente9f9fd8cdc5fcb718e2ce778cb5e0eea27e2fdc8 (diff)
downloadlinux-2097fdd7ebdb1674aaf7343b7a1d6cc2758c1dff.tar.xz
ath9k_hw: Fix frequent BT rx recovery
While resuming from S3, BT host issues HCI reset command and it causes BT firmware to busy with security key calculation. At this movement, WLAN detects MCI hardware error of MCI_CONT_INFO_TIMEOUT and then it starts the recovery sequence repeatedly. Too many recovery sequences would exhaust the BT kernel message pool. This patch imposes a duration between consecutive BT recovery procedure. Thus it solves BT firmware panic issue reported in AR9565. Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/btcoex.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/btcoex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/btcoex.h b/drivers/net/wireless/ath/ath9k/btcoex.h
index 94e921147e4c..2f84ab273d0c 100644
--- a/drivers/net/wireless/ath/ath9k/btcoex.h
+++ b/drivers/net/wireless/ath/ath9k/btcoex.h
@@ -88,6 +88,7 @@ struct ath9k_hw_mci {
u8 bt_state;
u8 stomp_ftp;
bool concur_tx;
+ u32 last_recovery;
};
struct ath_btcoex_hw {