Question on retry-auth work-around in driver_Nl80211.c

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

 



In the wpa_driver_nl80211_authenticate, there is this work-around code:

....
                        wpa_printf(MSG_DEBUG, "nl80211: Retry authentication "
				   "after forced deauthentication");
			drv->ignore_deauth_event = 1;


I had disabled this back in 2014 to fix endless re-auth attempts when trying 130+ virtual stations
(probably on a slow-ish ath9k system).

But today, I ran into a case where a user actually appears to need the work-around,
and the end result is that the station did not ever get associated since I hacked
out this retry.  So, I'm going to try re-enabling it.

While looking at the code, I began to wonder if the drv->ignore_deauth_event should be
tied to a specific bss object instead of the drv object?  And, maybe add a time
delay between doing this deauth in case it still races?  For instance, don't
do the deauth work-around more than once every 15 seconds for a given bss?

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



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

  Powered by Linux