From owner-freebsd-stable@FreeBSD.ORG Fri Jan 9 04:31:46 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BF351065670 for ; Fri, 9 Jan 2009 04:31:46 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from proxy.meer.net (proxy.meer.net [64.13.141.13]) by mx1.freebsd.org (Postfix) with ESMTP id 5832A8FC12 for ; Fri, 9 Jan 2009 04:31:46 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mail.meer.net (mail.meer.net [64.13.141.3]) by proxy.meer.net (8.14.2/8.14.2) with ESMTP id n0943eKU017795; Thu, 8 Jan 2009 20:03:40 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from mail2.meer.net (mail2.meer.net [64.13.141.16]) by mail.meer.net (8.13.3/8.13.3/meer) with ESMTP id n0943aLC076970; Thu, 8 Jan 2009 20:03:36 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from [172.16.1.200] (cpe-68-175-68-135.nyc.res.rr.com [68.175.68.135]) (authenticated bits=0) by mail2.meer.net (8.14.1/8.14.3) with ESMTP id n0943ZKE048240 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 8 Jan 2009 20:03:36 -0800 (PST) (envelope-from gnn@neville-neil.com) Message-Id: From: George Neville-Neil To: Sam Leffler In-Reply-To: <49665E35.1050301@errno.com> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-101--236459189" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Thu, 8 Jan 2009 23:03:31 -0500 References: <49665E35.1050301@errno.com> X-Pgp-Agent: GPGMail 1.2.0 (v56) X-Mailer: Apple Mail (2.930.3) X-Canit-CHI2: 0.50 X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-Spam-Score: 0.00 () [Tag at 5.00] X-CanItPRO-Stream: default X-Canit-Stats-ID: 2965892 - d07ec679fe94 X-Scanned-By: CanIt (www . roaringpenguin . com) on 64.13.141.13 Cc: stable@freebsd.org Subject: Re: CFT: ath hal src switchover X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2009 04:31:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-101--236459189 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Jan 8, 2009, at 15:12 , Sam Leffler wrote: > I've brought the hal source code back to RELENG_7 but not connected > it to the build and/or driver. I want folks to test this before I > commit those changes. To do this you must have an up to date > RELENG_7 code base and then apply this patch: > > http://people.freebsd.org/~sam/ath_hal-releng7.patch > > Then rebuild your kernel. There should be no changes to user apps. > Beware however that custom kernel configurations will need to > change; instead of: > > device ath > device ath_hal > device ath_rate_sample > > (or similar) you need: > > device ath > device ath_hal > options AH_SUPPORT_AR5416 > device ath_rate_sample > > If you want to configure a subset of the chip support implied by > ath_hal then you may not need the options line. > > If you are using modules note that ath_hal and ath_rate_* modules no > longer exist; they are now rolled into the ath module. If you use a > rate control algorithm other than sample then you'll need to modify > the ath module build or override by specifying ATH_RATE; e.g. > > cd sys/modules/ath > make ATH_RATE=onoe > > The updated hal code adds support for several parts but otherwise > makes no effort to address driver bugs. You should see no > regressions relative to operation w/ the older hal. > > If you are running the 7.1 release you will need to import the hal > code that is now in > > sys/dev/ath/ath_hal > > before following the above instructions. I have no idea if this > will work for an earlier version of FreeBSD; if you're not running > at least 7.1 my advise is to upgrade. > > Please report any issues to this mailing list. With this code in my kernel I get: ath0: unable to reset hardware; hal status 0 ioctl[SIOCS80211, op 23, arg 0x0] : Invalid argument Failed to initiate AP scan. ath0: unable to reset hardware; hal status 14 ioctl[SIOCS80211, op 23, arg 0x0] : Invalid argument Failed to initiate AP scan. when I try to use wpa_supplicant with the code. My home network uses WPA. Best, George --Apple-Mail-101--236459189 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAklmzJMACgkQYdh2wUQKM9LNmgCffBuVJaw9Ek3gWyF9xD9vWWE7 3jkAoMZsfyKbQimJCCOwuKR3nlrf6jLx =Z6FV -----END PGP SIGNATURE----- --Apple-Mail-101--236459189--