]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Handle control port TX status events over nl80211
authorMarkus Theil <markus.theil@tu-ilmenau.de>
Wed, 10 Jun 2020 08:32:57 +0000 (10:32 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 21 Jun 2020 14:55:26 +0000 (17:55 +0300)
commit6f19cc4d7887c7c4c718bc746b661f9a9aadcff4
treef37b81c5e8d0bc881b648e95c086660ba3b0065b
parentf7c657b79f2cb569f1e47c302de9e06992c41657
nl80211: Handle control port TX status events over nl80211

In order to retransmit faster in AP mode, hostapd can handle TX status
notifications. When using nl80211, this is currently only possible with
socket control messages. Add support for receiving such events directly
over nl80211 and detecting, if this feature is supported.

This finally allows for a clean separation between management/control
path (over nl80211) and in-kernel data path.

A follow up commit enables the feature in AP mode.

Control port TX status contains the original frame content for matching
with the current hostapd code. Furthermore, a cookie is included, which
allows for matching against outstanding cookies in the future. This
commit only prints the cookie value for debugging purposes on TX status
receive.

Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
src/drivers/driver.h
src/drivers/driver_common.c
src/drivers/driver_nl80211_capa.c
src/drivers/driver_nl80211_event.c