svn commit: r242412 - head/sys/dev/ath/ath_hal/ar9001
Adrian Chadd
adrian at FreeBSD.org
Wed Oct 31 21:14:26 UTC 2012
Author: adrian
Date: Wed Oct 31 21:14:25 2012
New Revision: 242412
URL: http://svn.freebsd.org/changeset/base/242412
Log:
Since the PLL changes aren't in here yet for the AR9130 half/quarter
rate support, disable it.
Modified:
head/sys/dev/ath/ath_hal/ar9001/ar9130_attach.c
head/sys/dev/ath/ath_hal/ar9001/ar9130_phy.c
Modified: head/sys/dev/ath/ath_hal/ar9001/ar9130_attach.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar9001/ar9130_attach.c Wed Oct 31 21:06:55 2012 (r242411)
+++ head/sys/dev/ath/ath_hal/ar9001/ar9130_attach.c Wed Oct 31 21:14:25 2012 (r242412)
@@ -301,6 +301,13 @@ ar9130FillCapabilityInfo(struct ath_hal
/* BB Read WAR */
pCap->halHasBBReadWar = AH_TRUE;
+ /*
+ * Implement the PLL/config changes needed for half/quarter
+ * rates before re-enabling them here.
+ */
+ pCap->halChanHalfRate = AH_FALSE;
+ pCap->halChanQuarterRate = AH_FALSE;
+
return AH_TRUE;
}
Modified: head/sys/dev/ath/ath_hal/ar9001/ar9130_phy.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar9001/ar9130_phy.c Wed Oct 31 21:06:55 2012 (r242411)
+++ head/sys/dev/ath/ath_hal/ar9001/ar9130_phy.c Wed Oct 31 21:14:25 2012 (r242412)
@@ -33,6 +33,9 @@ ar9130InitPLL(struct ath_hal *ah, const
uint32_t pll;
+ /*
+ * XXX TODO: support half/quarter rates
+ */
if (chan && IEEE80211_IS_CHAN_5GHZ(chan))
pll = 0x1450;
else
More information about the svn-src-all
mailing list