summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/hw-ops.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-16 01:38:39 +0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 23:43:25 +0400
commitc16fcb49b3849b4dceec9e4bbeb013b0713c7b38 (patch)
treed0bf7517ade9dd8c203746d4ffec0d36f86b37f2 /drivers/net/wireless/ath/ath9k/hw-ops.h
parentcffb5e49a147cfc6491f561f9b330e1001276185 (diff)
downloadlinux-c16fcb49b3849b4dceec9e4bbeb013b0713c7b38.tar.xz
ath9k_hw: Split off ANI control to the PHY ops
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.h6
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 19259fbad507..08a51a267681 100644
--- a/drivers/net/wireless/ath/ath9k/hw-ops.h
+++ b/drivers/net/wireless/ath/ath9k/hw-ops.h
@@ -146,4 +146,10 @@ static inline void ath9k_hw_set_diversity(struct ath_hw *ah, bool value)
return ath9k_hw_private_ops(ah)->set_diversity(ah, value);
}
+static inline bool ath9k_hw_ani_control(struct ath_hw *ah,
+ enum ath9k_ani_cmd cmd, int param)
+{
+ return ath9k_hw_private_ops(ah)->ani_control(ah, cmd, param);
+}
+
#endif /* ATH9K_HW_OPS_H */