From 41b53a9aaff55fd105fc5b7f590ead553a56afdf Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Thu, 13 Sep 2012 07:19:53 +0000 Subject: [PATCH] Call the ar5212SetCoverageClass() function for now. Some of the math is a little wrong thanks to clocks in 11a mode running at 44MHz when in fast clock mode (rather than 40MHz, which the chips before AR9280 ran 11a in). That'll have to be addressed in a future commit. --- sys/dev/ath/ath_hal/ar5416/ar5416_misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c b/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c index fef3cec2696..3a3a91d252e 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c +++ b/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c @@ -178,7 +178,8 @@ ar5416SetDecompMask(struct ath_hal *ah, uint16_t keyidx, int en) void ar5416SetCoverageClass(struct ath_hal *ah, uint8_t coverageclass, int now) { - AH_PRIVATE(ah)->ah_coverageClass = coverageclass; + + ar5212SetCoverageClass(ah, coverageclass, now); } /*