2020-08-17 16:27:25 +00:00
|
|
|
From: Felix Fietkau <nbd@nbd.name>
|
|
|
|
Date: Mon, 17 Aug 2020 13:55:56 +0200
|
2020-09-08 12:22:28 +00:00
|
|
|
Subject: [PATCH] mac80211: add missing queue/hash initialization to
|
|
|
|
802.3 xmit
|
2020-08-17 16:27:25 +00:00
|
|
|
|
|
|
|
Fixes AQL for encap-offloaded tx
|
|
|
|
|
|
|
|
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
|
|
---
|
|
|
|
|
|
|
|
--- a/net/mac80211/tx.c
|
|
|
|
+++ b/net/mac80211/tx.c
|
2020-08-29 05:50:07 +00:00
|
|
|
@@ -4200,6 +4200,12 @@ static void ieee80211_8023_xmit(struct i
|
2020-08-17 16:27:25 +00:00
|
|
|
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)
|