[PATCH 0/7] nl80211: rx path for control port frames (enabled only for wpa_supplicant)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series adds rx control port support over nl80211. Control port
over nl80211 delivers all EAPOL and PREAUTH frames to userspace. This conflicts
with the current hostapd handling of pre-auth frames. Therefore, this feature
gets disabled for hostapd. Furthermore a pending kernel patch is necessary to
forward pre-auth frames from userspace (otherwise handled by Linux bridge code).

The corresponding Linux patches for pre-auth support for hostapd are:
 - nl80211: add src and dst mac attributes
 - nl80211: use src and dst addr attribute for control port tx/rx

Furthermore another kernel patch is needed, in order to avoid a deadlock:
 - cfg80211: fix deadlocks in autodisconnect work

This patch enables wpa_supplicant to use control port rx over nl80211 for both
EAPOL and PREAUTH frames. wpa_supplicant connects noticeably faster in my tests
with this patch series applied.

Markus Theil (7):
  nl80211: rename nl_connect to nl_connect_and_ctrl
  nl80211: tie connect_or_ctrl handle to bss init/destroy
  nl80211: add method for sending messages with connection owner
    attributes set
  nl80211: add helper method for control port usage
  nl80211: use and/or set socker owner where necessary
  nl80211: disable control port for AP mode
  nl80211: correctly handle deauth from scan with ctrl port rx

 src/drivers/driver_nl80211.c      | 177 ++++++++++++++++++++----------
 src/drivers/driver_nl80211.h      |   3 +-
 src/drivers/driver_nl80211_scan.c |   2 +-
 3 files changed, 123 insertions(+), 59 deletions(-)

-- 
2.24.1


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux