aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/subsys/313-mac80211-improve-AQL-aggregation-estimation-for-low-.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2020-12-01 00:10:23 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2020-12-16 22:11:19 +0100
commit6cdc21b20e1125ece20eb871ff16d296a5e66688 (patch)
treece813abac6b953fe719284d9b2cbf1fb80637b78 /package/kernel/mac80211/patches/subsys/313-mac80211-improve-AQL-aggregation-estimation-for-low-.patch
parentc9c7cdbbb7cb927586914be7cea9f7234e9f363b (diff)
downloadupstream-6cdc21b20e1125ece20eb871ff16d296a5e66688.tar.gz
upstream-6cdc21b20e1125ece20eb871ff16d296a5e66688.tar.bz2
upstream-6cdc21b20e1125ece20eb871ff16d296a5e66688.zip
mac80211: Update to version 5.8.18-1
The removed patches were applied upstream. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/mac80211/patches/subsys/313-mac80211-improve-AQL-aggregation-estimation-for-low-.patch')
-rw-r--r--package/kernel/mac80211/patches/subsys/313-mac80211-improve-AQL-aggregation-estimation-for-low-.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/mac80211/patches/subsys/313-mac80211-improve-AQL-aggregation-estimation-for-low-.patch b/package/kernel/mac80211/patches/subsys/313-mac80211-improve-AQL-aggregation-estimation-for-low-.patch
index 7f7c75db59..a5df07e58d 100644
--- a/package/kernel/mac80211/patches/subsys/313-mac80211-improve-AQL-aggregation-estimation-for-low-.patch
+++ b/package/kernel/mac80211/patches/subsys/313-mac80211-improve-AQL-aggregation-estimation-for-low-.patch
@@ -55,12 +55,12 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
+ agg_shift = 3;
+ else
+ agg_shift = 4;
-
-- return airtime;
++
+ duration *= len;
+ duration /= AVG_PKT_SIZE;
+ duration /= 1024;
-+
+
+- return airtime;
+ return duration + (overhead >> agg_shift);
}