diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/calib.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/calib.h | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.h b/drivers/net/wireless/ath/ath9k/calib.h index b2c873e97485..24538bdb9126 100644 --- a/drivers/net/wireless/ath/ath9k/calib.h +++ b/drivers/net/wireless/ath/ath9k/calib.h | |||
@@ -19,14 +19,6 @@ | |||
19 | 19 | ||
20 | #include "hw.h" | 20 | #include "hw.h" |
21 | 21 | ||
22 | extern const struct ath9k_percal_data iq_cal_multi_sample; | ||
23 | extern const struct ath9k_percal_data iq_cal_single_sample; | ||
24 | extern const struct ath9k_percal_data adc_gain_cal_multi_sample; | ||
25 | extern const struct ath9k_percal_data adc_gain_cal_single_sample; | ||
26 | extern const struct ath9k_percal_data adc_dc_cal_multi_sample; | ||
27 | extern const struct ath9k_percal_data adc_dc_cal_single_sample; | ||
28 | extern const struct ath9k_percal_data adc_init_dc_cal; | ||
29 | |||
30 | #define AR_PHY_CCA_MAX_AR5416_GOOD_VALUE -85 | 22 | #define AR_PHY_CCA_MAX_AR5416_GOOD_VALUE -85 |
31 | #define AR_PHY_CCA_MAX_AR9280_GOOD_VALUE -112 | 23 | #define AR_PHY_CCA_MAX_AR9280_GOOD_VALUE -112 |
32 | #define AR_PHY_CCA_MAX_AR9285_GOOD_VALUE -118 | 24 | #define AR_PHY_CCA_MAX_AR9285_GOOD_VALUE -118 |
@@ -76,7 +68,8 @@ enum ath9k_cal_types { | |||
76 | ADC_DC_INIT_CAL = 0x1, | 68 | ADC_DC_INIT_CAL = 0x1, |
77 | ADC_GAIN_CAL = 0x2, | 69 | ADC_GAIN_CAL = 0x2, |
78 | ADC_DC_CAL = 0x4, | 70 | ADC_DC_CAL = 0x4, |
79 | IQ_MISMATCH_CAL = 0x8 | 71 | IQ_MISMATCH_CAL = 0x8, |
72 | TEMP_COMP_CAL = 0x10, | ||
80 | }; | 73 | }; |
81 | 74 | ||
82 | enum ath9k_cal_state { | 75 | enum ath9k_cal_state { |
@@ -122,14 +115,12 @@ struct ath9k_pacal_info{ | |||
122 | 115 | ||
123 | bool ath9k_hw_reset_calvalid(struct ath_hw *ah); | 116 | bool ath9k_hw_reset_calvalid(struct ath_hw *ah); |
124 | void ath9k_hw_start_nfcal(struct ath_hw *ah); | 117 | void ath9k_hw_start_nfcal(struct ath_hw *ah); |
125 | void ath9k_hw_loadnf(struct ath_hw *ah, struct ath9k_channel *chan); | ||
126 | int16_t ath9k_hw_getnf(struct ath_hw *ah, | 118 | int16_t ath9k_hw_getnf(struct ath_hw *ah, |
127 | struct ath9k_channel *chan); | 119 | struct ath9k_channel *chan); |
128 | void ath9k_init_nfcal_hist_buffer(struct ath_hw *ah); | 120 | void ath9k_init_nfcal_hist_buffer(struct ath_hw *ah); |
129 | s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan); | 121 | s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan); |
130 | bool ath9k_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan, | 122 | void ath9k_hw_reset_calibration(struct ath_hw *ah, |
131 | u8 rxchainmask, bool longcal); | 123 | struct ath9k_cal_list *currCal); |
132 | bool ath9k_hw_init_cal(struct ath_hw *ah, | 124 | |
133 | struct ath9k_channel *chan); | ||
134 | 125 | ||
135 | #endif /* CALIB_H */ | 126 | #endif /* CALIB_H */ |