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

Antonio Quartulli antonio
Wed Nov 13 08:37:10 PST 2013


From: Antonio Quartulli <ordex at autistici.org>

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.

Changes from v1:
- respin on top of current master
- fix if condition in the the AUTH-1/2 handling routine


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 |  15 ++-
 wpa_supplicant/events.c      |  31 +++++-
 wpa_supplicant/ibss_rsn.c    | 234 +++++++++++++++++++++++++++++++++++++------
 wpa_supplicant/ibss_rsn.h    |  12 +++
 4 files changed, 259 insertions(+), 33 deletions(-)

-- 
1.8.1.5




More information about the Hostap mailing list