summaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-09-08 14:37:00 +0200
committerJohannes Berg <johannes.berg@intel.com>2020-09-18 12:24:25 +0200
commitf02dff93e26bef46f5511f1e8229061bd23c3074 (patch)
treee205e46210e281d4cb8385db6bd690e3e06fde80 /include/net/mac80211.h
parent23e9f1ef16629da70acb171589e33c0a3f6ec628 (diff)
downloadlinux-f02dff93e26bef46f5511f1e8229061bd23c3074.tar.gz
linux-f02dff93e26bef46f5511f1e8229061bd23c3074.tar.bz2
linux-f02dff93e26bef46f5511f1e8229061bd23c3074.zip
mac80211: extend ieee80211_tx_status_ext to support bulk free
Store processed skbs ready to be freed in a list so the driver bulk free them Signed-off-by: Felix Fietkau <nbd@nbd.name> Link: https://lore.kernel.org/r/20200908123702.88454-13-nbd@nbd.name Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 07c4dd7ab55f..d3c43420779c 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1096,12 +1096,14 @@ ieee80211_info_get_tx_time_est(struct ieee80211_tx_info *info)
* @info: Basic tx status information
* @skb: Packet skb (can be NULL if not provided by the driver)
* @rate: The TX rate that was used when sending the packet
+ * @free_list: list where processed skbs are stored to be free'd by the driver
*/
struct ieee80211_tx_status {
struct ieee80211_sta *sta;
struct ieee80211_tx_info *info;
struct sk_buff *skb;
struct rate_info *rate;
+ struct list_head *free_list;
};
/**