ath9k_hw: Fix frequent BT rx recovery
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Mon, 15 Oct 2012 09:59:50 +0000 (15:29 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Oct 2012 19:19:29 +0000 (15:19 -0400)
commit2097fdd7ebdb1674aaf7343b7a1d6cc2758c1dff
treec1d05e894ffbc45b4cb1aa69485228b2dc716701
parente9f9fd8cdc5fcb718e2ce778cb5e0eea27e2fdc8
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>
drivers/net/wireless/ath/ath9k/ar9003_mci.c
drivers/net/wireless/ath/ath9k/ar9003_mci.h
drivers/net/wireless/ath/ath9k/btcoex.h