From owner-freebsd-current@FreeBSD.ORG Fri Oct 1 16:05:05 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3567116A4CE for ; Fri, 1 Oct 2004 16:05:05 +0000 (GMT) Received: from beagle2.mehnert.org (beagle2.mehnert.org [212.42.235.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D0A843D2D for ; Fri, 1 Oct 2004 16:05:04 +0000 (GMT) (envelope-from hannes@mehnert.org) Received: from localhost (port-195-158-171-190.dynamic.qsc.de [195.158.171.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Hannes Mehnert", Issuer "mehnert root CA" (verified OK)) by beagle2.mehnert.org (Postfix) with ESMTP id 8A8F89585F; Fri, 1 Oct 2004 18:05:01 +0200 (CEST) Date: Fri, 1 Oct 2004 18:04:57 +0200 From: Hannes Mehnert To: Sam Leffler Message-ID: <20041001160457.GA2871@mehnert.org> References: <200408201412.15438.sam@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408201412.15438.sam@errno.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-current@freebsd.org Subject: Re: net80211+atheros changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 16:05:05 -0000 -----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: 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: 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-----