summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2010-08-15 11:32:05 +0000
committeradrian <adrian@FreeBSD.org>2010-08-15 11:32:05 +0000
commit5641813833d4b31caa60eb3078c102fe95659c9b (patch)
tree269c93591f0cdf9bcd0d3fbf160daa0ec1779cb0 /sys/dev/ath/ath_hal
parent0490dbf01d48c3a57ba6a5bdc740615939df59c4 (diff)
downloadFreeBSD-src-5641813833d4b31caa60eb3078c102fe95659c9b.zip
FreeBSD-src-5641813833d4b31caa60eb3078c102fe95659c9b.tar.gz
The comment is misleading - that register setting seems to kick off the
initial chip NF cal.
Diffstat (limited to 'sys/dev/ath/ath_hal')
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_cal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c b/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c
index 2b30a60..e38e6c5 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c
@@ -221,6 +221,7 @@ ar5416InitCal(struct ath_hal *ah, const struct ieee80211_channel *chan)
* higher than normal value if DC offset and noise floor cal are
* triggered at the same time.
*/
+ /* XXX this actually kicks off a NF calibration -adrian */
OS_REG_SET_BIT(ah, AR_PHY_AGC_CONTROL, AR_PHY_AGC_CONTROL_NF);
/*
* Try to make sure the above NF cal completes, just so
OpenPOWER on IntegriCloud