summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_mci.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2015-03-14 11:27:50 +0530
committerKalle Valo <kvalo@codeaurora.org>2015-03-20 08:27:20 +0200
commitb6ab9ae2eed84eef622d56e00925c68e0c56239e (patch)
treeb9994592aa53f7f8ee66dec244c4c002db3af05c /drivers/net/wireless/ath/ath9k/ar9003_mci.c
parent6dacafea2d3a75d2db9b65a2aecebf385f39d3a3 (diff)
downloadlinux-b6ab9ae2eed84eef622d56e00925c68e0c56239e.tar.gz
linux-b6ab9ae2eed84eef622d56e00925c68e0c56239e.tar.bz2
linux-b6ab9ae2eed84eef622d56e00925c68e0c56239e.zip
ath9k: Handle MCI_STATE_AIC_CAL_SINGLE
This patch adds routines to handle the MCI message AIC_CAL_SINGLE, starting the required HW calibration. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_mci.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mci.c b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
index bd169fae32a1..20bb5b990127 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mci.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
@@ -19,6 +19,7 @@
#include "hw-ops.h"
#include "ar9003_phy.h"
#include "ar9003_mci.h"
+#include "ar9003_aic.h"
static void ar9003_mci_reset_req_wakeup(struct ath_hw *ah)
{
@@ -1362,6 +1363,9 @@ u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type)
value = (!mci->unhalt_bt_gpm && mci->need_flush_btinfo) ? 1 : 0;
mci->need_flush_btinfo = false;
break;
+ case MCI_STATE_AIC_CAL_SINGLE:
+ value = ar9003_aic_calibration_single(ah);
+ break;
default:
break;
}