"Helmut Schaa" <hschaa@xxxxxxx> writes: > Hi, Hello, very good that you have been working on this. Like we discussed earlier, this in an area where we need to improve mac80211. Due to travelling (ad: Maemo Summit at Berlin) I don't have time to test your patches this week, but hopefully next week. Few comments first: > * 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. I think we should have two signals with different states. One for informing that low signal condition has started and another one for telling that low signal condition has ended (ie. the device has good signal to the AP). In the low signal state wpa_supplicant would then periodically scan for better APs. > 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. Exactly. > 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 agree. -- Kalle Valo -- 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