mbox series

[0/6] nl80211: add support for control port tx status

Message ID 20200528084612.6530-1-markus.theil@tu-ilmenau.de
Headers show
Series nl80211: add support for control port tx status | expand


Markus Theil May 28, 2020, 8:46 a.m. UTC
This patch series adds support for ctrl port tx status over nl80211.
With this series, a clean separation between mgmt+ctrl (over nl80211)
and in-kernel data path is possible for the first time.

For each send control port frame, a cookie is returned in extended ack
data. Therefore, a custom ack handler argument for send_and_recv is introduced.
Afterwards, this is used by tx control port to plug in a cookie handler for
netlink acks.

When the kernel returns a tx status notification, the same event, as with
socket tx status support is triggered. In the future, it is possible to
compare only cookies on send/tx report if desired so.

Markus Theil (6):
  Sync with mac80210-next.git include/uapi/linux/nl80211.h
  nl80211: handle control port tx status events over nl80211
  nl80211: use control port tx (status) in AP mode if possible
  nl80211: print tx cookie value for ctrl port tx
  nl80211: add custom ack handler to send_and_recv
  nl80211: add ack handler for extack cookies

 src/drivers/driver.h               |   4 +-
 src/drivers/driver_nl80211.c       | 336 ++++++++++++++++++-----------
 src/drivers/driver_nl80211.h       |   4 +-
 src/drivers/driver_nl80211_capa.c  |  25 ++-
 src/drivers/driver_nl80211_event.c |  29 +++
 src/drivers/driver_nl80211_scan.c  |  24 ++-
 src/drivers/nl80211_copy.h         |  93 +++++---
 7 files changed, 351 insertions(+), 164 deletions(-)


Markus Theil June 3, 2020, 12:51 p.m. UTC | #1
I'm currently updating this series, please ignore this version.