]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Use nl80211 control port for receiving EAPOL frames
authorMarkus Theil <markus.theil@tu-ilmenau.de>
Sat, 11 Apr 2020 10:25:22 +0000 (12:25 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 19 Apr 2020 13:49:03 +0000 (16:49 +0300)
commit12ea7dee311be52a8f6ae4fb19c356655d71db00
tree8cf11fdf506a3e613c59f8cbced581ae6477a0de
parent8609aa5ba3d49771f60cbc19a2f18a9ab8fe4085
nl80211: Use nl80211 control port for receiving EAPOL frames

Use and/or set socker owner where necessary to allow EAPOL frames to be
received using the nl80211 control port. This is done when the driver
indicates support for the control port without previous hardcoded
reception of RSN preauth frames.

Use methods which set or use the connection owner nl_sock * where
necessary. Initial operations need to register with the SOCKET_OWNER
attribute set (e.g., connect for STA mode). Final operations need to use
the socket which holds the owner attribute (e.g., disconnect for STA
mode).

Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
src/drivers/driver_nl80211.c
src/drivers/driver_nl80211.h
src/drivers/driver_nl80211_scan.c