aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2011-10-13 01:30:37 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-10-14 14:48:22 -0400
commit77a5a6648da6b90d6ba990bf03c59993cdd5a516 (patch)
treec9ac2693b213cbe5e5b353d310c4947fa8927b14 /drivers/net/wireless/ath/ath9k/hw.h
parent34013524a1644bbd00c592541f67c536a384e707 (diff)
ath9k_hw: Add support to reuse Carrier leak calibration
This patch adds support to reuse Carrier leak calibration during fast channel change for AR9480 chips. 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/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index e5c458d22c82..446f4d309bec 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -338,6 +338,7 @@ enum ath9k_int {
338 CHANNEL_HT40MINUS) 338 CHANNEL_HT40MINUS)
339 339
340#define MAX_IQCAL_MEASUREMENT 8 340#define MAX_IQCAL_MEASUREMENT 8
341#define MAX_CL_TAB_ENTRY 16
341 342
342struct ath9k_hw_cal_data { 343struct ath9k_hw_cal_data {
343 u16 channel; 344 u16 channel;
@@ -349,10 +350,12 @@ struct ath9k_hw_cal_data {
349 bool nfcal_pending; 350 bool nfcal_pending;
350 bool nfcal_interference; 351 bool nfcal_interference;
351 bool done_txiqcal_once; 352 bool done_txiqcal_once;
353 bool done_txclcal_once;
352 u16 small_signal_gain[AR9300_MAX_CHAINS]; 354 u16 small_signal_gain[AR9300_MAX_CHAINS];
353 u32 pa_table[AR9300_MAX_CHAINS][PAPRD_TABLE_SZ]; 355 u32 pa_table[AR9300_MAX_CHAINS][PAPRD_TABLE_SZ];
354 u32 num_measures[AR9300_MAX_CHAINS]; 356 u32 num_measures[AR9300_MAX_CHAINS];
355 int tx_corr_coeff[MAX_IQCAL_MEASUREMENT][AR9300_MAX_CHAINS]; 357 int tx_corr_coeff[MAX_IQCAL_MEASUREMENT][AR9300_MAX_CHAINS];
358 u32 tx_clcal[AR9300_MAX_CHAINS][MAX_CL_TAB_ENTRY];
356 struct ath9k_nfcal_hist nfCalHist[NUM_NF_READINGS]; 359 struct ath9k_nfcal_hist nfCalHist[NUM_NF_READINGS];
357}; 360};
358 361