Re: net80211+atheros changes

From: Hannes Mehnert <hannes_at_mehnert.org>
Date: Fri, 1 Oct 2004 18:04:57 +0200
-----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)

Best Regards,

Hannes Mehnert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBXYAmRcuNlziBjRwRAnLVAJ4nenFYpsJCotY2Qh/+dVnsylokUACfWxtO
B6639oPBTZ5xpqT2tbm047Q=
=iWKu
-----END PGP SIGNATURE-----
Received on Fri Oct 01 2004 - 14:05:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:15 UTC