On Wed, 2020-05-06 at 08:44 -0700, James Prestwood wrote: > Hi, > > It appears that when two IBSS networks are started at the same time > they sometimes don't pick each other up and two separate IBSS networks > are created. I have turned on IBSS logging and see beacons coming in > from both networks AFTER each interface creates its own IBSS, but they > dont come soon enough for either interface to realize there is already > an IBSS. I guess that makes some sense. Perhaps the number of scans should be random, but then of course if they land on the same value, it'll still happen. > Is there any mitigation in the kernel or anything outlined in > 802.11 that handles this case of two IBSS networks being created > simultaneously (or close to it)? If neither of them has any other stations, then it should go into the merge timer every 30 seconds. But if they're identical, then maybe even that doesn't work since they'll go scanning at the same time, and again fail? Maybe that's a better approach - make the merge timer be randomized between 30 and 60 seconds or so, so that they can eventually merge. > Even delaying the second network by a > full second sometimes results in this behavior. A second isn't really sufficient I guess, because a full scan will take 5 seconds or so. That's the minimum you'd have to delay, I think. At least if you're creating the network on a channel that's scanned early in the scan (i.e. a 2.4 GHz channel). johannes