Return-path: Received: from mail.deathmatch.net ([72.66.92.28]:4565 "EHLO mail.deathmatch.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753016Ab1BBL7i (ORCPT ); Wed, 2 Feb 2011 06:59:38 -0500 Date: Wed, 2 Feb 2011 06:57:43 -0500 From: Bob Copeland To: Jouni Malinen Cc: Johannes Berg , "Luis R. Rodriguez" , linux-wireless , linux-kernel@vger.kernel.org, Amod Bodas , Senthilkumar Balasubramanian , Sree Durbha , Deepak Dhamdhere , Xin Jin Subject: Re: Support for Android for mac80211 / cfg80211 802.11 drivers Message-ID: <20110202115743.GA12386@hash.localnet> References: <1296633772.3624.2.camel@jlt3.sipsolutions.net> <20110202113052.GA14126@jm.kir.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20110202113052.GA14126@jm.kir.nu> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Feb 02, 2011 at 01:30:52PM +0200, Jouni Malinen wrote: > If it is fine to remove the custom wpa_supplicant modifications from > Android, this is obviously a moot point, but until that happens, the > easiest approach seems to be to provide a custom driver_*.c based on > nl80211 to isolate the custom changes to user space and to small part of > it at that. I don't really want to see new drivers trying to provide > WEXT support with private ioctls to address need for making it work with > Android.. I guess my argument is if Atheros is spending resources on porting drivers to Android, it would be nice to take the time to fix Android's userspace too. At any rate, I disagree with the wiki's wording "the proper approach" as opposed to maybe "the straight-forward approach." Android already has a custom userspace library that sits between wpa_s and their Java stack where they could probably stick all of this stuff. If there is something that is truly missing from the kernel, then by all means we can add it to nl80211 for everyone's benefit. -- Bob Copeland %% www.bobcopeland.com