EAPOL issue when switching between SSIDs

David Bird david
Wed Oct 24 09:55:13 PDT 2012


Greetings,

There is an issue with associating to SSIDs using WPA when there are
multiple SSIDs being controlled by hostapd and when you are switching
between SSIDs. When processing the EAPOL packet, the array of virtual
APs (iface->bss) is searched looking for the station that sent the
packet in order to identify which signal context should be used during
processing. The first signal with the station in it's list gets used in
the ieee802_1x_receive() function. However, even after a station has
disassociated from a signal, it remains in that signals list of stations
pending an inactivity timeout. This leads to the wrong signal context
(one where the station had already disassociated) being used in some
cases (if the current/active bss entry appears in the list AFTER one
where the station has just disassociated from) for EAPOL processing. The
attached patch checks for the WLAN_STA_ASSOC flag before assuming it
found the 'right' signal context for the given station. 

Signed-hostap: David Bird <dbird at powercloudsystems.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eapol-assoc.patch
Type: text/x-patch
Size: 638 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20121024/afe0ac9f/attachment.bin 



More information about the Hostap mailing list