[PATCH] libertas: automatically re-associate

Dan Williams dcbw at redhat.com
Thu Oct 11 00:00:44 EDT 2007


On Wed, 2007-10-10 at 12:59 -0400, John W. Linville wrote:
> On Wed, Oct 10, 2007 at 10:58:58AM -0400, Dan Williams wrote:
> 
> > I won't throw a hissy fit over the reassociation patch as long as it
> > only tries this in open & WEP situations where a supplicant is not
> > necessary.  That means you cannot simply requeue an association in
> > libertas_mac_event_disconnected(), but you should check the association
> > request and not requeue if:
> > 
> > 1) the assoc request's mode is ad-hoc (is there a point to retrying
> > assoc in adhoc?)
> 
> I'm not sure I see why ad-hoc is a special case?

A STA can't ever get disassociation management frames in an IBSS, right?
I don't believe the firmware will ever disconnect you once you've
started an IBSS, but there may be a difference between the start-adhoc
and join-adhoc commands that get sent to firmware.  However, it's not
like loss of becaons in IBSS mode will cause a disconnection, because it
just looks like the network split and you are the only member of it, and
then your STA takes up beaconing responsibility by itself until the
world ends.  AFAIK.

Dan





More information about the libertas-dev mailing list