Search Linux Wireless

Re: Auth/Assoc/Connect events coming before CMD_CONNECT response (hwsim)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johannes,

On Fri, Apr 24, 2020 at 1:35 PM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
>
> 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?

We do run with wmediumd, although I hadn't looking into this much. The
README claims to support frame delay:

"wmediumd allows simulating frame loss and delay."

But I can't actually find a way to configure that. It only seems to
have configuration values for frame loss between stations and SNR, no
explicit delay. If a delay is possible it would be easier to integrate
this into our current test setup....

>
> Or adding some kind of fake air latency into hwsim.

... if wmediumd doesn't support a frame delay then this may be the
route we have to go.

Thanks,
James

>
> johannes
>



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux