Return-path: Received: from mx1.redhat.com ([209.132.183.28]:20991 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751029AbZKJG2H (ORCPT ); Tue, 10 Nov 2009 01:28:07 -0500 Subject: Re: Incorrect signal levels reported using wpa_supplicant's driver_nl80211 From: Dan Williams To: Marcel Holtmann Cc: Johannes Berg , Alexander Sack , Maxim Levitsky , "hostap@lists.shmoo.com" , linux-wireless , networkmanager-list In-Reply-To: <1257772174.3024.11.camel@violet> References: <1256953837.9681.13.camel@maxim-laptop> <1257190833.1027.4.camel@localhost.localdomain> <20091109125016.GK1579@jwsdot.com> <1257771261.29454.169.camel@johannes.local> <1257772174.3024.11.camel@violet> Content-Type: text/plain Date: Mon, 09 Nov 2009 22:27:48 -0800 Message-Id: <1257834468.15493.31.camel@localhost.localdomain> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, 2009-11-09 at 14:09 +0100, Marcel Holtmann wrote: > Hi Johannes, > > > > > Soon. We've got some patches for this, but we'll also need tons of > > > > testing. The WEXT stuff is pretty baked while nl80211 is still under > > > > some flux. But of course the only way we bake nl80211 is by switching > > > > to it... > > > > > > iirc, we currently we hardcode wext in NM code. How about adding a keyfile > > > config that users could use to switch to nl80211 until we feel confident > > > that it's good enough for everyone? > > > > commit d27df100b587dd95f3256a8baf9db0c5d4380089 in wpa_supplicant allows > > you to do that by editing the service file. > > that is funny, when I asked for a global command line switch for > choosing a different driver, the argument was that the application > adding the interface is suppose to do it by itself. Now we can do it in > the service file. Never the less ConnMan got its own switch to choose > which driver will be used. Does help a lot in testing and is way easier > since you don't have to restart wpa_supplicant all the time. In reality, NM upstream will just switch over one day and distros that use shitty and/or proprietary drivers will need to either (a) fix them, or (b) patch NM to use wext locally. That's how progress gets made. Dan