mac80211: tweak TSQ settings
[openwrt/staging/wigyori.git] / package / kernel / mac80211 / patches / 140-tweak-TSQ-setting.patch
1 --- a/net/mac80211/tx.c
2 +++ b/net/mac80211/tx.c
3 @@ -3750,6 +3750,11 @@ out:
4 netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb,
5 struct net_device *dev)
6 {
7 +#if defined(sk_pacing_shift) || LINUX_VERSION_IS_GEQ(4,15,0)
8 + if (skb->sk && skb->sk->sk_pacing_shift != 6)
9 + skb->sk->sk_pacing_shift = 6;
10 +#endif
11 +
12 if (unlikely(ieee80211_multicast_to_unicast(skb, dev))) {
13 struct sk_buff_head queue;
14