Return-path: Received: from mail.atheros.com ([12.36.123.2]:44821 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752020AbYJ1Azz (ORCPT ); Mon, 27 Oct 2008 20:55:55 -0400 Received: from mail.atheros.com ([10.10.20.107]) by sidewinder.atheros.com for ; Mon, 27 Oct 2008 17:55:55 -0700 Date: Mon, 27 Oct 2008 17:55:53 -0700 From: "Luis R. Rodriguez" To: Greg KH CC: "Luis R. Rodriguez" , "otus-devel@lists.madwifi-project.org" , Johannes Berg , "linux-wireless@vger.kernel.org" , Linux-Kernel , Luis Rodriguez , Joey Krane Subject: Re: [otus-devel] Release of Atheros 802.11n USB Linux driver Message-ID: <20081028005553.GE6377@tesla> (sfid-20081028_015558_645113_F26B7951) References: <43e72e890810211904x7bd243dem68dfcfe7a795ec6f@mail.gmail.com> <20081022065045.GA2400@kroah.com> <20081023062655.GA8039@kroah.com> <20081023111103.GB5979@tesla> <43e72e890810271635i5b6dd6e4ua06b48e624991435@mail.gmail.com> <20081028002919.GB2992@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <20081028002919.GB2992@kroah.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Oct 27, 2008 at 05:29:19PM -0700, Greg KH wrote: > On Mon, Oct 27, 2008 at 04:35:11PM -0700, Luis R. Rodriguez wrote: > > On Thu, Oct 23, 2008 at 4:11 AM, Luis R. Rodriguez > > wrote: > > > On Wed, Oct 22, 2008 at 11:26:55PM -0700, Greg KH wrote: > > >> On Tue, Oct 21, 2008 at 11:50:45PM -0700, Greg KH wrote: > > >> > On Tue, Oct 21, 2008 at 07:04:17PM -0700, Luis R. Rodriguez wrote: > > >> > > We would like to see our Atheros 802.11n USB Linux driver upstream > > >> > > however we need help with this so we are releasing our Atheros 11n USB > > >> > > Otus Linux driver under the ISC to the community. The goal is to work > > >> > > with the community to help move this forward upstream. We are hoping > > >> > > for community help and leadership on this (*cough*). > > >> > > > >> > Yeah! > > >> > > > >> > I'll grab this and put it in drivers/staging/ so it gets some users and > > >> > more developers to help out with it. > > >> > > >> Ok, it seems to need some basic work to merely build properly on > > >> "modern" kernel versions. > > > > > > Yeah, it works up to 2.6.24. > > > > This is now fixed on the master branch, also the branch "for-upstream" > > does a lot of cleanup I thought you may like before stuffing it into > > staging like removing all KERNEL_VERSION checks, all wireless > > extensions checks, some compile warnings, removal of compat, dos2unix, > > use utf-8, etc. Unfortunately this still requires a specific version > > of wpa_supplicant but it seems it works. Not sure what bars you have > > for staging at this point. > > Pretty much the only "bar" is "it compiles" :) > > > Will you take this in, and expect patches for fixing it to use > > standard wext and also report standard wireless statistic (yeap, this > > is not there yet either). > > Yes, I can do that. Excellent, if no one send patches I guess I will. > > Joey is one user which reported the driver working now with the > > compile fixes for newer kernels for 2.6.28-rc2 using the specific > > version of wpa_supplicant for it. > > > > Joey can you test the for-upstream branch on otus git? > > If someone can tell me what device this is for, I can try to go buy it > so that I can verify changes I make don't drasticly break things. So we have a page for this now: http://wireless.kernel.org/en/users/Drivers/otus Init you can find a list of devices. Let me just paste what we have there now: Dlink * DWA-160A1 Netgear * WNDA3100 * WN111v2 TP-Link * TL-WN821N AVM * FRITZ!WLAN N USB Stick (USB ID 0x57c, 0x8401) > I'll go try to get this tree into a buildable state and put it into > staging tonight. Thanks! BTW if you add a kconfig option for it please point users with this info: This driver requires its own supplicant driver for wpa_supplicant 0.4.8. For your convenience you can find the tarball here: http://www.kernel.org/pub/linux/kernel/people/mcgrof/otus/wpa_supplicant-0.4.8_otus.tar.bz2 Before compiling wpa_supplicant, ensure your .config has atleast the following CONFIG_WIRELESS_EXTENSION=y CONFIG_EAP_WSC=y CONFIG_WSC_IE=y CONFIG_DRIVER_WEXT=y CONFIG_DRIVER_OTUS=y After a successful compile, you can use the device with wpa_supplicant as follows: wpa_supplicant -Dotus -i -c /path/to/wpa_supplicant.conf -d Luis