Skip to contentSkip to conversation

supplicant: Enable sharing of scan results.

PATCH Jouni Malinen 2 participants 3 messages Nov 26, 2010 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 3 lines · Ben Greear

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.

Signature · 1 line
Jouni Malinen                                            PGP id EFC895FA
#2 lore raw
Quoted 15 lines · Jouni Malinen
Quoted 3 lines · Ben Greear

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.

Quoted 4 lines

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

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#3 lore raw
Quoted 1 line · Ben Greear

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

ath9k both on the station and AP.

Signature · 1 line
Jouni Malinen                                            PGP id EFC895FA