]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/3.10.101/mac80211-minstrel_ht-set-default-tx-aggregation-timeout-to-0.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.10.101 / mac80211-minstrel_ht-set-default-tx-aggregation-timeout-to-0.patch
1 From 7a36b930e6ed4702c866dc74a5ad07318a57c688 Mon Sep 17 00:00:00 2001
2 From: Felix Fietkau <nbd@openwrt.org>
3 Date: Thu, 18 Feb 2016 19:49:18 +0100
4 Subject: mac80211: minstrel_ht: set default tx aggregation timeout to 0
5
6 From: Felix Fietkau <nbd@openwrt.org>
7
8 commit 7a36b930e6ed4702c866dc74a5ad07318a57c688 upstream.
9
10 The value 5000 was put here with the addition of the timeout field to
11 ieee80211_start_tx_ba_session. It was originally added in mac80211 to
12 save resources for drivers like iwlwifi, which only supports a limited
13 number of concurrent aggregation sessions.
14
15 Since iwlwifi does not use minstrel_ht and other drivers don't need
16 this, 0 is a better default - especially since there have been
17 recent reports of aggregation setup related issues reproduced with
18 ath9k. This should improve stability without causing any adverse
19 effects.
20
21 Acked-by: Avery Pennarun <apenwarr@gmail.com>
22 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
23 Signed-off-by: Johannes Berg <johannes.berg@intel.com>
24 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25
26 ---
27 net/mac80211/rc80211_minstrel_ht.c | 2 +-
28 1 file changed, 1 insertion(+), 1 deletion(-)
29
30 --- a/net/mac80211/rc80211_minstrel_ht.c
31 +++ b/net/mac80211/rc80211_minstrel_ht.c
32 @@ -454,7 +454,7 @@ minstrel_aggr_check(struct ieee80211_sta
33 if (skb_get_queue_mapping(skb) == IEEE80211_AC_VO)
34 return;
35
36 - ieee80211_start_tx_ba_session(pubsta, tid, 5000);
37 + ieee80211_start_tx_ba_session(pubsta, tid, 0);
38 }
39
40 static void