Hi, As a result of the thread "Pondering: how to improve mac80211 roaming ..." I thought a bit more about that topic. Here is a quick suggestion for a first version: * Enhance mac80211 software scan to interrupt the current scan and switch back to the operating channel every once in a while (only if at least one STA interface is associated) => background scan. * Enhance mac80211 to check the signal quality frequently (or any other indicator like beacon misses) and decide when the signal quality is too low. Indicate that to the user space. * wpa_supplicant (or any other user space application) gets notified about the low signal quality and triggers a scan in order to find a better AP. wpa_supplicant already chooses the AP with the best signal strength. The reason behind not triggering the scan directly from mac80211 is that the supplicant (or any other user space application) might know more about the current environment and could for example trigger a scan restricted to specific channels (in the future) which should speed up the scan. Hence let the user space decide what to do with a low signal. However the detection of when the signal quality is low should still be done in mac80211 or the driver as some cards seem to have the needed functionality implemented in firmware (e.g. missed beacon interrupt). I'll send some proof-of-concept patches in a few minutes which implement background scanning in software and the user space indication. I've tested them a bit already and they work quite well with an iwl4965. Helmut -- 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