On Thu, 2012-06-14 at 22:16 +0000, Chadd, Adrian wrote: > Well, my idea was to keep the host asleep for as long as possible. So maybe only wake up the host when you have either: > > * filled the "scan memory" with scan results - so flush those to the host before continuing; Couldn't getting the "scan memory" full potentially cause you to lose some results? You might be getting responses while you're processing it, I guess. > * finished the scan, and flushing the remaining scan results out. > > I'm just raising the idea, it may not be worth doing.. :) One other thing to keep in mind, that is not directly related with this last discussion, is the "intermediate scan results" that Victor has proposed some time ago[1]. For long scans (11bg + 11a), we want to tell the userspace about the results before the scan completes to save some time, but we don't want to wake it up excessively when the results don't really matter. [1] http://comments.gmane.org/gmane.linux.kernel.wireless.general/76708 -- Luca. -- 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