mac80211: support using ieee80211_tx_status_ext to free skbs without status info
authorFelix Fietkau <nbd@nbd.name>
Tue, 8 Sep 2020 12:36:59 +0000 (14:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Sep 2020 10:22:56 +0000 (12:22 +0200)
commit23e9f1ef16629da70acb171589e33c0a3f6ec628
treea35fa848a3dffed8fb289b72e59c28d089665494
parenta260e495252019b37a5cc2f83b75ac0cf5198ef1
mac80211: support using ieee80211_tx_status_ext to free skbs without status info

For encap-offloaded packets, ieee80211_free_txskb cannot be used, since it
does not have the vif pointer.
Using ieee80211_tx_status_ext for this purpose has the advantage of being able
avoid an extra station lookup for AQL

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20200908123702.88454-12-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/status.c