diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-09-08 14:22:28 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-09-09 11:51:47 +0200 |
commit | d717343c85f6c305b6896e4d3aa93f9cd67e9d22 (patch) | |
tree | f1980987e216215a2331273254e615bb3f8afe27 /package/kernel/mac80211/patches/subsys/314-mac80211-add-missing-queue-hash-initialization-to-80.patch | |
parent | c18a872825c8dd27a398e4f5b2f98c9b5066d8a9 (diff) | |
download | upstream-d717343c85f6c305b6896e4d3aa93f9cd67e9d22.tar.gz upstream-d717343c85f6c305b6896e4d3aa93f9cd67e9d22.tar.bz2 upstream-d717343c85f6c305b6896e4d3aa93f9cd67e9d22.zip |
mac80211: update encap offload patches to the latest version
Minor cleanup and code reorganization, along with a change to not disable
offload anymore when a tkip or sw crypto key is added
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/subsys/314-mac80211-add-missing-queue-hash-initialization-to-80.patch')
-rw-r--r-- | package/kernel/mac80211/patches/subsys/314-mac80211-add-missing-queue-hash-initialization-to-80.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/subsys/314-mac80211-add-missing-queue-hash-initialization-to-80.patch b/package/kernel/mac80211/patches/subsys/314-mac80211-add-missing-queue-hash-initialization-to-80.patch new file mode 100644 index 0000000000..eb56a2cac5 --- /dev/null +++ b/package/kernel/mac80211/patches/subsys/314-mac80211-add-missing-queue-hash-initialization-to-80.patch @@ -0,0 +1,25 @@ +From: Felix Fietkau <nbd@nbd.name> +Date: Mon, 17 Aug 2020 13:55:56 +0200 +Subject: [PATCH] mac80211: add missing queue/hash initialization to + 802.3 xmit + +Fixes AQL for encap-offloaded tx + +Signed-off-by: Felix Fietkau <nbd@nbd.name> +--- + +--- a/net/mac80211/tx.c ++++ b/net/mac80211/tx.c +@@ -4200,6 +4200,12 @@ static void ieee80211_8023_xmit(struct i + if (is_zero_ether_addr(ra)) + goto out_free; + ++ if (local->ops->wake_tx_queue) { ++ u16 queue = __ieee80211_select_queue(sdata, sta, skb); ++ skb_set_queue_mapping(skb, queue); ++ skb_get_hash(skb); ++ } ++ + multicast = is_multicast_ether_addr(ra); + + if (sta) |