aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/calib.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/calib.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/calib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.h b/drivers/net/wireless/ath/ath9k/calib.h
index 547e697b9055..019bcbba40ed 100644
--- a/drivers/net/wireless/ath/ath9k/calib.h
+++ b/drivers/net/wireless/ath/ath9k/calib.h
@@ -110,6 +110,13 @@ struct ath9k_nfcal_hist {
110 u8 invalidNFcount; 110 u8 invalidNFcount;
111}; 111};
112 112
113#define MAX_PACAL_SKIPCOUNT 8
114struct ath9k_pacal_info{
115 int32_t prev_offset; /* Previous value of PA offset value */
116 int8_t max_skipcount; /* Max No. of times PACAL can be skipped */
117 int8_t skipcount; /* No. of times the PACAL to be skipped */
118};
119
113bool ath9k_hw_reset_calvalid(struct ath_hw *ah); 120bool ath9k_hw_reset_calvalid(struct ath_hw *ah);
114void ath9k_hw_start_nfcal(struct ath_hw *ah); 121void ath9k_hw_start_nfcal(struct ath_hw *ah);
115void ath9k_hw_loadnf(struct ath_hw *ah, struct ath9k_channel *chan); 122void ath9k_hw_loadnf(struct ath_hw *ah, struct ath9k_channel *chan);