mac80211: add ieee80211_tx_status_ext
authorFelix Fietkau <nbd@nbd.name>
Wed, 26 Apr 2017 15:11:37 +0000 (17:11 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 28 Apr 2017 09:08:21 +0000 (11:08 +0200)
commit5fe49a9d11644f4aa9034c7eedbcfc6e52373e10
tree43dabd1334389c99c4bbd4dd96817cd5981f3d10
parenteefebd3164604a19744dca3df08e050999031d74
mac80211: add ieee80211_tx_status_ext

This allows the driver to pass in struct ieee80211_tx_status directly.
Make ieee80211_tx_status_noskb a wrapper around it.

As with ieee80211_tx_status_noskb, there is no _ni variant of this call,
because it probably won't be needed.

Even if the driver won't provide any extra status info other than what's
in struct ieee80211_tx_info already, it can optimize status reporting
this way by passing in the station pointer.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
[use C99 initializers]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/status.c