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. -- 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