diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-02-09 02:57:12 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-13 13:45:05 -0500 |
commit | cbe61d8a41210600bc76b212edcd4dc0f55c014f (patch) | |
tree | d8bd8e43d3556c58d410f1bef0d2ca3bf7d75c92 /drivers/net/wireless/ath9k/calib.h | |
parent | ba52da58be0acf3b7775972b2b5234ce64388c79 (diff) |
ath9k: Merge ath_hal and ath_hal_5416 structures
Finally, merge these structures and have a single
HW specific data structure.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/calib.h')
-rw-r--r-- | drivers/net/wireless/ath9k/calib.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/wireless/ath9k/calib.h b/drivers/net/wireless/ath9k/calib.h index ac7d88fa8268..e2c614098545 100644 --- a/drivers/net/wireless/ath9k/calib.h +++ b/drivers/net/wireless/ath9k/calib.h | |||
@@ -91,8 +91,8 @@ struct hal_percal_data { | |||
91 | enum hal_cal_types calType; | 91 | enum hal_cal_types calType; |
92 | u32 calNumSamples; | 92 | u32 calNumSamples; |
93 | u32 calCountMax; | 93 | u32 calCountMax; |
94 | void (*calCollect) (struct ath_hal *); | 94 | void (*calCollect) (struct ath_hw *); |
95 | void (*calPostProc) (struct ath_hal *, u8); | 95 | void (*calPostProc) (struct ath_hw *, u8); |
96 | }; | 96 | }; |
97 | 97 | ||
98 | struct hal_cal_list { | 98 | struct hal_cal_list { |
@@ -108,17 +108,17 @@ struct ath9k_nfcal_hist { | |||
108 | u8 invalidNFcount; | 108 | u8 invalidNFcount; |
109 | }; | 109 | }; |
110 | 110 | ||
111 | bool ath9k_hw_reset_calvalid(struct ath_hal *ah); | 111 | bool ath9k_hw_reset_calvalid(struct ath_hw *ah); |
112 | void ath9k_hw_start_nfcal(struct ath_hal *ah); | 112 | void ath9k_hw_start_nfcal(struct ath_hw *ah); |
113 | void ath9k_hw_loadnf(struct ath_hal *ah, struct ath9k_channel *chan); | 113 | void ath9k_hw_loadnf(struct ath_hw *ah, struct ath9k_channel *chan); |
114 | int16_t ath9k_hw_getnf(struct ath_hal *ah, | 114 | int16_t ath9k_hw_getnf(struct ath_hw *ah, |
115 | struct ath9k_channel *chan); | 115 | struct ath9k_channel *chan); |
116 | void ath9k_init_nfcal_hist_buffer(struct ath_hal *ah); | 116 | void ath9k_init_nfcal_hist_buffer(struct ath_hw *ah); |
117 | s16 ath9k_hw_getchan_noise(struct ath_hal *ah, struct ath9k_channel *chan); | 117 | s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan); |
118 | bool ath9k_hw_calibrate(struct ath_hal *ah, struct ath9k_channel *chan, | 118 | bool ath9k_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan, |
119 | u8 rxchainmask, bool longcal, | 119 | u8 rxchainmask, bool longcal, |
120 | bool *isCalDone); | 120 | bool *isCalDone); |
121 | bool ath9k_hw_init_cal(struct ath_hal *ah, | 121 | bool ath9k_hw_init_cal(struct ath_hw *ah, |
122 | struct ath9k_channel *chan); | 122 | struct ath9k_channel *chan); |
123 | 123 | ||
124 | #endif /* CALIB_H */ | 124 | #endif /* CALIB_H */ |