diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-04-15 17:39:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:43:34 -0400 |
commit | 77d6d39a77939e5ed7e2ec72a1c1dce828ee582e (patch) | |
tree | 1bd2e36bdabb13ecf97109d8df198aed06d95715 /drivers/net/wireless/ath/ath9k/hw-ops.h | |
parent | 400b738678bf6f0b65a76a4ec2925473ba3e06ff (diff) |
ath9k_hw: abstract loading noisefloor
This is the last call on calib.c which acceses PHY stuff,
with this change we calib.c is now generic between both
all supported hardware families.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw-ops.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw-ops.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw-ops.h b/drivers/net/wireless/ath/ath9k/hw-ops.h index b777fd1894f0..b444ce5f09f8 100644 --- a/drivers/net/wireless/ath/ath9k/hw-ops.h +++ b/drivers/net/wireless/ath/ath9k/hw-ops.h | |||
@@ -182,6 +182,12 @@ static inline void ath9k_hw_do_getnf(struct ath_hw *ah, | |||
182 | ath9k_hw_private_ops(ah)->do_getnf(ah, nfarray); | 182 | ath9k_hw_private_ops(ah)->do_getnf(ah, nfarray); |
183 | } | 183 | } |
184 | 184 | ||
185 | static inline void ath9k_hw_loadnf(struct ath_hw *ah, | ||
186 | struct ath9k_channel *chan) | ||
187 | { | ||
188 | ath9k_hw_private_ops(ah)->loadnf(ah, chan); | ||
189 | } | ||
190 | |||
185 | static inline bool ath9k_hw_init_cal(struct ath_hw *ah, | 191 | static inline bool ath9k_hw_init_cal(struct ath_hw *ah, |
186 | struct ath9k_channel *chan) | 192 | struct ath9k_channel *chan) |
187 | { | 193 | { |