From owner-freebsd-mobile@FreeBSD.ORG Thu May 14 16:46:52 2009 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E591106564A for ; Thu, 14 May 2009 16:46:52 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 3C98A8FC17 for ; Thu, 14 May 2009 16:46:52 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n4EGCH3x012419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 May 2009 09:12:18 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <4A0C42E1.2080407@freebsd.org> Date: Thu, 14 May 2009 09:12:17 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: Pete Carah References: <4A0C3A73.1030304@altadena.net> In-Reply-To: <4A0C3A73.1030304@altadena.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-x.dcc-servers-Metrics: ebb.errno.com; whitelist Cc: mobile@freebsd.org Subject: Re: AR9280 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2009 16:46:52 -0000 Pete Carah wrote: > I have a new laptop that came with a Ralink N card that wasn't supported > in either Fedora or FreeBSD; I substituted an Atheros card (boy, these > things are getting cheap nowadays - ABGN for $53) (the antennas don't > appear to handle A very well, not like my old sony, but they do handle > it). It works fine in Fedora 10 and I got it partly because grepping > the source for 9280 showed what appeared to be support in FBSD. However > (7.2-stable sup'd yesterday) there are a few files still missing. Is > there a way to get the rest of this driver? (like in HEAD, maybe, if it > is compatible enough?) > > Sam - I can do some debugging but don't have time for a lot, so if > things are "almost" finished it is probably OK. (I do linux device > drivers at work so can handle generic kernel debugging, though I'm not > too familiar with fbsd locking in its current incarnation (linux is > missing some things like recursive locks that I'd want, and is starting > to use rcu for read/write locking; I don't know about fbsd...) > > Both of the networks I normally access are WPA2; one PSK and the other > PEAP. The linux driver handles the PEAP and I haven't tried it with the > PSK network yet. Can't try vista due to a grub malfunction :-( (it > handles bsd fine, and of course fedora also but just reboots when you > try vista. It's nice to have a laptop with enough disk to triple-boot.) > Code is in head and needs backporting. I have no time. Everything you need should be in the sys/dev/ath/ath_hal/ar5416 directory. It might be possible to just apply the commit from HEAD though there's been significant divergence so possibly not. Remember it does only legacy mode (no 11n) and seems to have some bugs (chip locks up and gets reset). Atheros only cares about linux so fixes must come from sifting linux crud. Sam