On Wed, 2008-06-04 at 12:16 +0300, Jouni Malinen wrote: > On Wed, Jun 04, 2008 at 11:00:00AM +0200, Johannes Berg wrote: > > On Tue, 2008-06-03 at 21:41 -0400, Dan Williams wrote: > > > 2) takes a _really_ long time to create an adhoc network. This is > > > controlled by IEEE80211_IBSS_JOIN_TIMEOUT. Why is that 20 seconds? > > > Yeah, I don't know why it is that long. Jouni, do you remember maybe? > > I'm ok with reducing it. > > Can't remember.. The only thing I can come up with is that 20 was the > next round number that is larger than IEEE80211_SCAN_INTERVAL_SLOW > defined on the previous line.. ;-) Anyway, I don't see why we would need > to wait that long. It should be enough to wait for a full scan of all > channels to be completed. It is of course nicer to avoid creating a new > IBSS if there is an existing one, but as long as merging works, it > should be fine to reduce this timeout. Ok, I'll drop it down to 5 seconds if that's OK with you. That's still the same amount of time as the wpa_supplicant assoc_failed auth timeout in wpa_supplicant_associate() though, so they could still step on each other. Not quite sure what to do about that except bump up the wpa_supplicant assoc_failed timeout by a few more seconds? dan -- 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