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

Markus Theil <[email protected]> Thu, 28 May 2020 10:46:06 +0200
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
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(-)

-- 
2.26.2