[PATCHv2 0/3] Improving the IBSS/RSN mechanism

Jouni Malinen j
Sun Jul 21 06:04:59 PDT 2013


On Tue, Jul 02, 2013 at 12:04:57PM +0200, Antonio Quartulli wrote:
> with this patchset based on the work done by Nicolas Cavallari, I want to bring
> some improvements to the IBSS/RSN support in wpa_supplicant.
> 
> So far there were some issues due to peer reboots or faulty key exchange. The
> solution was to detect any peer re-initialisation by explicitly using the Open
> Authentication Systems. This feature was implemented in kernel space, but, of
> course, it was triggering several race conditions due to the fact that the
> kernel was re-initialising the peer state (DEL/NEW_STATION events in a row)
> while wpa_supplicant was performing a key exchange.
> 
> To avoid the issue the idea has been to move the entire logic into
> wpa_supplicant so that it can first perform the Open Authentication and only
> then perform the EAPOL key exchange. Of course, it a peer does not support the
> Open Auth System, wpa_supplicant will still work but will not be able to perform
> the reboot detection.

Thanks, applied with some changes. I made the use of Authentication
frame exchange conditional on the driver being able to accept the
command to transmit an Authentication frame. Without this, the patch
broke IBSS RSN for all drivers that did not support this new mechanism.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list