Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754085Ab1BBMZy (ORCPT ); Wed, 2 Feb 2011 07:25:54 -0500 Received: from w1.fi ([128.177.27.249]:53944 "EHLO jmalinen.user.openhosting.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753617Ab1BBMZx (ORCPT ); Wed, 2 Feb 2011 07:25:53 -0500 X-Greylist: delayed 3265 seconds by postgrey-1.27 at vger.kernel.org; Wed, 02 Feb 2011 07:25:53 EST Date: Wed, 2 Feb 2011 13:30:52 +0200 From: Jouni Malinen To: Johannes Berg Cc: Bob Copeland , "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: <20110202113052.GA14126@jm.kir.nu> References: <1296633772.3624.2.camel@jlt3.sipsolutions.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1296633772.3624.2.camel@jlt3.sipsolutions.net> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1615 Lines: 35 On Wed, Feb 02, 2011 at 09:02:52AM +0100, Johannes Berg wrote: > On Tue, 2011-02-01 at 21:41 -0500, Bob Copeland wrote: > > From the wiki: > > > > "The proper approach would be to provide a custom driver_nl80211_android.c > > wrapper for the modified wpa_supplicant in Android." > > > > I just don't think it's strictly necessary to ship a modified wpa_s. > > Why is Android special when bog standard Linux gets by ok with > > driver_nl80211? > > Agree, that is a dumb idea. What's that driver going to do? Use custom > nl80211 extensions?! That way lies insanity. The only reason for that is to be able to support the wpa_supplicant modifications used in Android that are not acceptable for upstream hostap.git (mainly, driver_cmd). This would not add any custom nl80211 extensions; the needed functionality should be added properly to upstream nl80211. 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.. -- Jouni Malinen PGP id EFC895FA -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/