diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2015-03-14 08:57:50 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-03-20 09:27:20 +0300 |
commit | b6ab9ae2eed84eef622d56e00925c68e0c56239e (patch) | |
tree | b9994592aa53f7f8ee66dec244c4c002db3af05c /drivers/net/wireless/ath/ath9k/ar9003_aic.h | |
parent | 6dacafea2d3a75d2db9b65a2aecebf385f39d3a3 (diff) | |
download | linux-b6ab9ae2eed84eef622d56e00925c68e0c56239e.tar.xz |
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_aic.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_aic.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_aic.h b/drivers/net/wireless/ath/ath9k/ar9003_aic.h index b81d5d157ee5..e31c44e68747 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_aic.h +++ b/drivers/net/wireless/ath/ath9k/ar9003_aic.h @@ -31,6 +31,13 @@ #define ATH_AIC_BT_JUPITER_CTRL 0x66820 #define ATH_AIC_BT_AIC_ENABLE 0x02 +enum aic_cal_state { + AIC_CAL_STATE_IDLE = 0, + AIC_CAL_STATE_STARTED, + AIC_CAL_STATE_DONE, + AIC_CAL_STATE_ERROR +}; + struct ath_aic_sram_info { bool valid:1; bool vga_quad_sign:1; @@ -46,4 +53,6 @@ struct ath_aic_out_info { struct ath_aic_sram_info sram; }; +u8 ar9003_aic_calibration_single(struct ath_hw *ah); + #endif /* AR9003_AIC_H */ |