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

Antonio Quartulli ordex at autistici.org
Wed Jun 19 16:11:31 EDT 2013


Hello folks,

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.


Cheers,


Antonio Quartulli (2):
  Register for AUTH frames when joining an IBSS network
  Improve the IBSS/RSN mechanism

Nicolas Cavallari (1):
  Support not specifying the frame frequency.

 src/drivers/driver_nl80211.c |  14 ++-
 wpa_supplicant/events.c      |  31 +++++-
 wpa_supplicant/ibss_rsn.c    | 241 +++++++++++++++++++++++++++++++++++++------
 wpa_supplicant/ibss_rsn.h    |  12 +++
 4 files changed, 266 insertions(+), 32 deletions(-)

-- 
1.8.1.5



More information about the HostAP mailing list