Search Linux Wireless

Re: [PATCH] libertas: automatically re-associate

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

 



> Seriously though, even if other drivers don't do it, that
> doesn't mean libertas shouldn't do it.  If the association
> fails, doesn't this mean the card just keeps working and keeps
> trying to associate forever?

Yes, with a HZ/4 rate.

Maybe in the meantime the user is configuring the right WEP key 
into his AP?



> It's not that much more complicated to add an item to the
> association structure for 'count' and to check that from the
> disassociation event code, and just not reschedule association
> if that's > 4.

And after this 4 tries the device is again stuck?  That's not 
nice.

Therefore you need some heuristic (I don't dare to name this 
logic) to reset this counter again. But when do you do it?  If 
you say "5 Minutes", then I simply change my HZ/4 into HZ*60*5 
and have the same effect.

So I see that my HZ/4 is as arbitrary as your 4, but my version 
is fail-safe, because when you move away from a mis-configured 
AP to a right on, the device will automatically re-associate. 
You see, I aim for a roaming client, not for a device that stays 
put at some office desktop.


We also get disassociated from an AP when we're away from the 
channel for too long, busy scanning for a better AP. The case 
where someone clicks on a "Deassociate Client") is neglibibly. 

But even when I want to have it work automatically, and without 
any manual user interaction at the WLAN client.
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux