Return-path: Received: from senator.holtmann.net ([87.106.208.187]:40971 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752549AbZKJIlN (ORCPT ); Tue, 10 Nov 2009 03:41:13 -0500 Subject: Re: Incorrect signal levels reported using wpa_supplicant's driver_nl80211 From: Marcel Holtmann To: Dan Williams Cc: Johannes Berg , Alexander Sack , Maxim Levitsky , "hostap@lists.shmoo.com" , linux-wireless , networkmanager-list In-Reply-To: <1257834468.15493.31.camel@localhost.localdomain> 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> <1257834468.15493.31.camel@localhost.localdomain> Content-Type: text/plain; charset="UTF-8" Date: Tue, 10 Nov 2009 09:41:11 +0100 Message-ID: <1257842471.3024.29.camel@violet> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Dan, > > > > > 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. my goal is to run completely without wext driver in wpa_supplicant and WEXT disabled in the kernel. However so far it caused some issues. I think that most of them got fixed, but I never got around fully verifying it. In the Moblin 2.0 timeframe we had for some time nl80211,wext as driver selection, but unfortunately that never worked out. I hope for Moblin 2.2 we are able to get this up and running. One big missing piece is of course a new stable release of wpa_supplicant that contains all the fixes. Regards Marcel