On Fri, Mar 19, 2010 at 10:56:37AM -0400, John W. Linville wrote: > On Fri, Mar 19, 2010 at 08:59:25AM +0200, Kalle Valo wrote: > > The idea is that wpa_supplicant will listen to these events, and will > > enable or disable backround scan (ie. scanning for new APs when > > associated) based on information received from the events. When the > > connection to the AP is good enough, it can disable background scan > > which makes it possible to save power and also get rid of latency > > introduced by the background scan. > > > > I haven't seen any implementation for wpa_supplicant yet, but we have > > talked about that few times during the last two years. > > If you can make wpa_supplicant scan less then I am sold! :-) I would assume it is not really wpa_supplicant that is triggering too many scans for your liking, but NetworkManager.. The goal here (at least from my view point) is to actually make wpa_supplicant itself trigger scans more frequently ;-). wpa_supplicant already has a notification function just waiting to be called from somewhere when a beacon is lost of signal strength has changed.. That somewhere is supposed to be the driver event handler when it receives one of these new roam trigger events. At that point, wpa_supplicant can then figure out if it should start scanning more frequently to find a better BSS. I would hope that this feature will make NetworkManager eventually stop doing its constant scans (or well, if it doesn't, I will provide an option in for wpa_supplicant to ignore D-Bus requests for new scans.. ;-). -- Jouni Malinen PGP id EFC895FA -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html