diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-04-13 12:26:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:54:46 -0400 |
commit | cbfe946860ffc718c5d99a6b740e33ac95fe8b8d (patch) | |
tree | f82a08200ca9abb8c209fc5e9a8732d38403700c /drivers/net/wireless/ath/ath9k/calib.h | |
parent | 379f04407c92d84f2506385b66fb9fc89ecd96c3 (diff) |
ath9k: Use a consistent naming convention
This patch replaces old 'hal_' prefixes with 'ath9k_'.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/calib.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/calib.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.h b/drivers/net/wireless/ath/ath9k/calib.h index ac71ed966a1b..fe5367f14148 100644 --- a/drivers/net/wireless/ath/ath9k/calib.h +++ b/drivers/net/wireless/ath/ath9k/calib.h | |||
@@ -17,13 +17,13 @@ | |||
17 | #ifndef CALIB_H | 17 | #ifndef CALIB_H |
18 | #define CALIB_H | 18 | #define CALIB_H |
19 | 19 | ||
20 | extern const struct hal_percal_data iq_cal_multi_sample; | 20 | extern const struct ath9k_percal_data iq_cal_multi_sample; |
21 | extern const struct hal_percal_data iq_cal_single_sample; | 21 | extern const struct ath9k_percal_data iq_cal_single_sample; |
22 | extern const struct hal_percal_data adc_gain_cal_multi_sample; | 22 | extern const struct ath9k_percal_data adc_gain_cal_multi_sample; |
23 | extern const struct hal_percal_data adc_gain_cal_single_sample; | 23 | extern const struct ath9k_percal_data adc_gain_cal_single_sample; |
24 | extern const struct hal_percal_data adc_dc_cal_multi_sample; | 24 | extern const struct ath9k_percal_data adc_dc_cal_multi_sample; |
25 | extern const struct hal_percal_data adc_dc_cal_single_sample; | 25 | extern const struct ath9k_percal_data adc_dc_cal_single_sample; |
26 | extern const struct hal_percal_data adc_init_dc_cal; | 26 | extern const struct ath9k_percal_data adc_init_dc_cal; |
27 | 27 | ||
28 | #define AR_PHY_CCA_MAX_GOOD_VALUE -85 | 28 | #define AR_PHY_CCA_MAX_GOOD_VALUE -85 |
29 | #define AR_PHY_CCA_MAX_HIGH_VALUE -62 | 29 | #define AR_PHY_CCA_MAX_HIGH_VALUE -62 |
@@ -67,14 +67,14 @@ struct ar5416IniArray { | |||
67 | } \ | 67 | } \ |
68 | } while (0) | 68 | } while (0) |
69 | 69 | ||
70 | enum hal_cal_types { | 70 | enum ath9k_cal_types { |
71 | ADC_DC_INIT_CAL = 0x1, | 71 | ADC_DC_INIT_CAL = 0x1, |
72 | ADC_GAIN_CAL = 0x2, | 72 | ADC_GAIN_CAL = 0x2, |
73 | ADC_DC_CAL = 0x4, | 73 | ADC_DC_CAL = 0x4, |
74 | IQ_MISMATCH_CAL = 0x8 | 74 | IQ_MISMATCH_CAL = 0x8 |
75 | }; | 75 | }; |
76 | 76 | ||
77 | enum hal_cal_state { | 77 | enum ath9k_cal_state { |
78 | CAL_INACTIVE, | 78 | CAL_INACTIVE, |
79 | CAL_WAITING, | 79 | CAL_WAITING, |
80 | CAL_RUNNING, | 80 | CAL_RUNNING, |
@@ -87,18 +87,18 @@ enum hal_cal_state { | |||
87 | #define PER_MIN_LOG_COUNT 2 | 87 | #define PER_MIN_LOG_COUNT 2 |
88 | #define PER_MAX_LOG_COUNT 10 | 88 | #define PER_MAX_LOG_COUNT 10 |
89 | 89 | ||
90 | struct hal_percal_data { | 90 | struct ath9k_percal_data { |
91 | enum hal_cal_types calType; | 91 | enum ath9k_cal_types calType; |
92 | u32 calNumSamples; | 92 | u32 calNumSamples; |
93 | u32 calCountMax; | 93 | u32 calCountMax; |
94 | void (*calCollect) (struct ath_hw *); | 94 | void (*calCollect) (struct ath_hw *); |
95 | void (*calPostProc) (struct ath_hw *, u8); | 95 | void (*calPostProc) (struct ath_hw *, u8); |
96 | }; | 96 | }; |
97 | 97 | ||
98 | struct hal_cal_list { | 98 | struct ath9k_cal_list { |
99 | const struct hal_percal_data *calData; | 99 | const struct ath9k_percal_data *calData; |
100 | enum hal_cal_state calState; | 100 | enum ath9k_cal_state calState; |
101 | struct hal_cal_list *calNext; | 101 | struct ath9k_cal_list *calNext; |
102 | }; | 102 | }; |
103 | 103 | ||
104 | struct ath9k_nfcal_hist { | 104 | struct ath9k_nfcal_hist { |