2010-11-26 20:50:12

by Jouni Malinen

[permalink] [raw]
Subject: Re: [PATCH] supplicant: Enable sharing of scan results.

On Tue, Nov 16, 2010 at 03:39:16PM -0800, Ben Greear wrote:
> When using multiple VIFs on the same physical radio,
> we can share scan results with sibling interfaces.
> This decreases time it takes to connect many VIFs.

Thanks! This looks reasonable. I did some cleanup and applied it.

Based on a quick test, this seemed to be able to connect over 100
station vifs using WPA2-Personal to a single AP without major problems.
Some resources are running out (just CPU?) that makes some of the 4-way
handshakes fail (timeout?), but after couple of tries, I got 116 of
124 stations connected. This is with all interfaces starting at the
same time; using some more latency there would likely make this quite a
bit more robust.

wpa_supplicant seemed to stop trying to reconnect in some cases, so this
probably triggered some bugs that need to be addressed. Anyway, manual
"wpa_cli -i<ifname> reassociate" on the missing eight vifs was able to
get all the 124 stations connected at the same time.

--
Jouni Malinen PGP id EFC895FA


2010-11-26 21:10:01

by Ben Greear

[permalink] [raw]
Subject: Re: [PATCH] supplicant: Enable sharing of scan results.

On 11/26/2010 12:50 PM, Jouni Malinen wrote:
> On Tue, Nov 16, 2010 at 03:39:16PM -0800, Ben Greear wrote:
>> When using multiple VIFs on the same physical radio,
>> we can share scan results with sibling interfaces.
>> This decreases time it takes to connect many VIFs.
>
> Thanks! This looks reasonable. I did some cleanup and applied it.
>
> Based on a quick test, this seemed to be able to connect over 100
> station vifs using WPA2-Personal to a single AP without major problems.
> Some resources are running out (just CPU?) that makes some of the 4-way
> handshakes fail (timeout?), but after couple of tries, I got 116 of
> 124 stations connected. This is with all interfaces starting at the
> same time; using some more latency there would likely make this quite a
> bit more robust.
>
> wpa_supplicant seemed to stop trying to reconnect in some cases, so this
> probably triggered some bugs that need to be addressed. Anyway, manual
> "wpa_cli -i<ifname> reassociate" on the missing eight vifs was able to
> get all the 124 stations connected at the same time.

Excellent!

Was this an ath5k or ath9k NIC (or something else?)

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com

2010-11-26 21:32:04

by Jouni Malinen

[permalink] [raw]
Subject: Re: [PATCH] supplicant: Enable sharing of scan results.

On Fri, Nov 26, 2010 at 01:09:58PM -0800, Ben Greear wrote:
> Was this an ath5k or ath9k NIC (or something else?)

ath9k both on the station and AP.

--
Jouni Malinen PGP id EFC895FA