On Wed, 2020-04-15 at 10:23 -0700, James Prestwood wrote: > Hi, > > I have noticed this sometimes happening with mac80211_hwsim where the > Authenticate, Associate, and Connect events arrive in userspace before > the actual response to CMD_CONNECT. It seems to be a scheduling/timing > problem as turning on logging in hostapd or other applications "fixes" > the issue Yeah, sounds like a consequence of immediately handling the frames through. I guess you could "fix" that by running with wmediumd? Or adding some kind of fake air latency into hwsim. johannes