[PATCH v2 00/11] nl80211: rx path for control port frames (enabled only for wpa_supplicant)
Markus Theil <[email protected]>
| Newsgroups | gmane.linux.drivers.hostap |
|---|---|
| Message-ID | <[email protected]> |
This patch series adds rx control port support over nl80211. Control port
over nl80211 delivers all EAPOL userspace.
Nl80211 control port for AP mode is included, but disabled, as currently no
tx status support for control port frames is included in the kernel.
Wpa_supplicant now uses control port rx over nl80211 for both
EAPOL frames. pre-auth frame rx is disabled.
wpa_supplicant connects noticeably faster in my tests with this patch series
applied.
Thanks to Jouni for pointing out, that pre-auth frames should not be handled over
the nl80211 control port in comments on a previous version of this patchset.
v2:
- drop pre-auth over ctrl port, warn if pre-auth frame is received
Markus Theil (11):
nl80211: also check for no preauth feature
nl80211: differentiate between ETH_P_PAE and ETH_P_RSN_PREAUTH for
control port rx
nl80211: handle control port frame in bss events
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: correctly handle deauth from scan with ctrl port rx
nl80211: also add no preauth flag on connect
nl80211: disable ctrl port over nl80211 for ap mode
src/drivers/driver_nl80211.c | 175 +++++++++++++++++++----------
src/drivers/driver_nl80211.h | 3 +-
src/drivers/driver_nl80211_capa.c | 4 +-
src/drivers/driver_nl80211_event.c | 28 +++--
src/drivers/driver_nl80211_scan.c | 2 +-
5 files changed, 145 insertions(+), 67 deletions(-)
--
2.26.0