Date: Wed, 31 Oct 2012 21:14:25 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242412 - head/sys/dev/ath/ath_hal/ar9001 Message-ID: <201210312114.q9VLEPiT032228@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210312114.q9VLEPiT032228>