summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/hw-ops.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-15 21:38:49 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 19:43:27 (GMT)
commit641d99217f507024720d21f0a76a8075824fcc46 (patch)
tree885eadc6bb378c8c76b324c89d804ae5afea3ec1 /drivers/net/wireless/ath/ath9k/hw-ops.h
parentb5c80475abaad015699384ca64ef8229fdd88758 (diff)
downloadlinux-641d99217f507024720d21f0a76a8075824fcc46.tar.xz
ath9k_hw: Split out the function for reading the noise floor
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> 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 a770107..e2b8ad4 100644
--- a/drivers/net/wireless/ath/ath9k/hw-ops.h
+++ b/drivers/net/wireless/ath/ath9k/hw-ops.h
@@ -163,4 +163,10 @@ static inline bool ath9k_hw_ani_control(struct ath_hw *ah,
return ath9k_hw_private_ops(ah)->ani_control(ah, cmd, param);
}
+static inline void ath9k_hw_do_getnf(struct ath_hw *ah,
+ int16_t nfarray[NUM_NF_READINGS])
+{
+ return ath9k_hw_private_ops(ah)->do_getnf(ah, nfarray);
+}
+
#endif /* ATH9K_HW_OPS_H */