Date: Fri, 1 Oct 2004 14:56:07 -0700 From: Sam Leffler <sam@errno.com> To: freebsd-current@freebsd.org Cc: Hannes Mehnert <hannes@mehnert.org> Subject: Re: net80211+atheros changes Message-ID: <200410011456.07859.sam@errno.com> In-Reply-To: <20041001160457.GA2871@mehnert.org> References: <200408201412.15438.sam@errno.com> <20041001160457.GA2871@mehnert.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 01 October 2004 09:04 am, Hannes Mehnert wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Sam, > > On Fri, Aug 20, 2004 at 02:12:15PM -0700, Sam Leffler wrote: > > http://www.freebsd.org/~sam/net80211+ath-20040818.tgz has a first cut at > > back-merging the work I've done in Linux to FreeBSD. These changes > > update the 802.11 support and all the drivers that use it. The patch > > also brings in the latest version of the Atheros hal. > > I have the following problem with your patch: > To change my atheros 5212 from hostap to managed mode, I need to unload > and reload if_ath. > Sometimes kldload if_ath doesn't create an ath0 device. I see the > following in messages: > localhost kernel: ath0: <Atheros 5212> mem > 0xc0210000-0xc021ffff irq 11 at device 2.0 on pci2 > localhost kernel: ath0: failed to allocate descriptors: 12 > localhost kernel: device_attach: ath0 attach returned 12 > > After a reboot, kldload works fine again. > > (a working kldload would be: > localhost kernel: ath0: <Atheros 5212> mem 0xc0210000-0xc021ffff > irq 11 at device 2.0 on pci2 > localhost kernel: ath0: Ethernet address: 00:05:4e:48:e3:27 > localhost kernel: ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24M > bps 36Mbps 48Mbps 54Mbps > localhost kernel: ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > localhost kernel: ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6M > bps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > localhost kernel: ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radi > o 2.3 > localhost kernel: ath0: Use hw queue 1 for WME_AC_BE traffic > localhost kernel: ath0: Use hw queue 0 for WME_AC_BK traffic > localhost kernel: ath0: Use hw queue 2 for WME_AC_VI traffic > localhost kernel: ath0: Use hw queue 3 for WME_AC_VO traffic) The driver is unable to allocate contiguous memory for the tx+rx descriptors. This is unrelated to the patches. It might be possible to carve up the allocation into smaller chunks; feel free to provide a patch... Sam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410011456.07859.sam>