Issues roaming to same AP over and over.

Jouni Malinen j
Wed Jan 14 16:00:45 PST 2015


On Wed, Jan 14, 2015 at 10:05:35AM -0800, Ben Greear wrote:
> I have a stress test that roams 10 stations to the AP they are already connected to
> every 5 seconds.  I'm using wpa_cli to cause the scan and roam to happen.
> When it works right, they successfully reconnect most of the time.
> 
> But, often it gets into a state  where I see 'iw' messages like this below and
> I am not sure it ever recovers.
> 
> If I 'reset' the ports, telling supplicant to reconfig, etc, then it recovers
> for a while.
> 
> Any idea what might be wrong?
> 
> 2015-01-14 09:58:30.813  1.1:  sta100 (phy #0): scan started
> 2015-01-14 09:58:30.813  1.1:  sta102 (phy #0): unprotected deauth 04:f0:21:03:38:99 -> 04:f0:21:b4:59:43 reason 7: Class 3 frame received from
> non-authenticated station

I'm assuming you have PMF enabled for the network. This looks like a
case where a protected Deauthentication frame gets dropped and the AP
and STA get out-of-sync in their understand on the association state.
wpa_supplicant should be able to recover from this automatically on its
own, but if you are forcing new reassociations every 5 seconds, that can
prevent that mechanism from working.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list