d9d3fded75e9d2f8bd53b6d6ec4bd889251fac31
[openwrt/staging/aparcar.git] /
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Mon, 17 Aug 2020 13:55:56 +0200
3 Subject: [PATCH] mac80211: add missing queue/hash initialization to 802.3
4 xmit
5
6 Fixes AQL for encap-offloaded tx
7
8 Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 ---
10
11 --- a/net/mac80211/tx.c
12 +++ b/net/mac80211/tx.c
13 @@ -4200,6 +4200,12 @@ static void ieee80211_8023_xmit(struct i
14 if (is_zero_ether_addr(ra))
15 goto out_free;
16
17 + if (local->ops->wake_tx_queue) {
18 + u16 queue = __ieee80211_select_queue(sdata, sta, skb);
19 + skb_set_queue_mapping(skb, queue);
20 + skb_get_hash(skb);
21 + }
22 +
23 multicast = is_multicast_ether_addr(ra);
24
25 if (sta)