@@ -7,10 +7,10 @@ kernel versions.
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
-@@ -1137,7 +1137,11 @@ struct ieee80211_tx_status {
- struct ieee80211_tx_info *info;
- struct sk_buff *skb;
- struct rate_info *rate;
+@@ -1178,7 +1178,11 @@ struct ieee80211_tx_status {
+ struct ieee80211_rate_status *rates;
+ u8 n_rates;
+
+#if LINUX_VERSION_IS_GEQ(4,19,0)
struct list_head *free_list;
+#else
@@ -21,7 +21,7 @@ kernel versions.
/**
--- a/net/mac80211/status.c
+++ b/net/mac80211/status.c
-@@ -1060,7 +1060,11 @@ static void __ieee80211_tx_status(struct
+@@ -1075,7 +1075,11 @@ static void __ieee80211_tx_status(struct ieee80211_hw *hw,
*/
if (!local->monitors && (!send_to_cooked || !local->cooked_mntrs)) {
if (status->free_list)
@@ -33,7 +33,7 @@ kernel versions.
else
dev_kfree_skb(skb);
return;
-@@ -1210,7 +1214,11 @@ free:
+@@ -1228,7 +1232,11 @@ void ieee80211_tx_status_ext(struct ieee80211_hw *hw,
ieee80211_report_used_skb(local, skb, false);
if (status->free_list)