314-mac80211-add-missing-queue-hash-initialization-to-80.patch 614 B

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