Issues roaming to same AP over and over.

Ben Greear greearb
Thu Jan 15 09:47:48 PST 2015

On 01/14/2015 04:00 PM, Jouni Malinen wrote:
> 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.

Any idea how long it should take to recover?  And, do you think it could be sped up
a bit?


Ben Greear <greearb at>
Candela Technologies Inc

More information about the Hostap mailing list