[RFC] wpa_supplicant: add fast reconnect support
Johannes Berg
johannes
Wed May 4 05:38:01 PDT 2011
Sam,
On Sun, 2011-04-24 at 20:16 -0700, Sam Leffler wrote:
> >> Hmm, no, there's no scanning code in sme.c. You modified mlme.c to
> >> return -EBUSY, but that code doesn't end up being used except for
> >> driver_test, so you get the driver's return value here. It just ends up
> >> working because nl80211 driver does in fact return the code.
> >
> > I completely agree with your conclusion of course, but it's kinda hard
> > to understand why it actually works :)
>
> Good question. I thought we ran the fork associated with the user
> space MLME but as you say this is only set by driver_test. OTOH we
> are seeing the fast reconnect logic piggyback on existing scans which
> can only happen if -EBUSY percolates back up from the driver. Will
> investigate.
Did you have a chance to look at this? Otherwise I'd go and adapt the
patch for what I need to do and repost it, maybe fixing the few corner
cases/TODO items.
johannes
More information about the Hostap
mailing list