On Tue, 2020-09-08 at 14:36 +0200, Felix Fietkau wrote: > 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@xxxxxxxx> > --- > net/mac80211/status.c | 32 +++++++++++++++++++------------- > 1 file changed, 19 insertions(+), 13 deletions(-) > > diff --git a/net/mac80211/status.c b/net/mac80211/status.c > index ac4d988556b0..a3543c3dbd3d 100644 > --- a/net/mac80211/status.c > +++ b/net/mac80211/status.c > @@ -1087,6 +1087,24 @@ void ieee80211_tx_status_ext(struct ieee80211_hw *hw, > bool acked, noack_success; > u16 tx_time_est; > > + if (pubsta) > + sta = container_of(pubsta, struct sta_info, sta); There were some conflicts, e.g. this was already in place ... Please check once I push it out. johannes