aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/ath/557-ath9k-dynack-remove-experimental-tag.patch
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2018-11-05 11:31:12 +0100
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2018-11-06 11:49:27 +0100
commit5ac34818f9c3ad46febc260f8ae348e05b9c8f00 (patch)
tree8f5b8dbb1f3532d9c3d525ebcbd3bcf97fcd5f0d /package/kernel/mac80211/patches/ath/557-ath9k-dynack-remove-experimental-tag.patch
parent860de2e1aa9deac7dce76b7f85cb5fcfbba00468 (diff)
downloadupstream-5ac34818f9c3ad46febc260f8ae348e05b9c8f00.tar.gz
upstream-5ac34818f9c3ad46febc260f8ae348e05b9c8f00.tar.bz2
upstream-5ac34818f9c3ad46febc260f8ae348e05b9c8f00.zip
ath9k: fix dynack in IBSS mode
Currently, dynack was only tested upstream using AP/STA mode. Testing it on IBSS, showed that late-ack detection was broken. This is caused due to dynack using Association Request/Response frames for late-ack detection, which IBSS does not use. Also allowing Authentication frames here solves this. A second issue also got fixed, which was also seen AP/STA mode: When a station was added, the estimated value would be exponentially averaged using 0 as a starting point. This means that on larger distances, the ack timeout was still not high enough before synchronizing would run out of late-ack's for estimation. Fix this by using the initial estimated value as a baseline and only start averaging in the following estimation rounds. Test setup: - 2x identical devices: RB912UAG-5HPnD + 19dB sector - IBSS - 2x2 802.11an (ar9340), HT20, long GI - RSSI's -70 / -71 - Real distance: 23910 meter Results (60s iperf runs): Fixed coverage class 54 (up to 24300m): * 21.5 Mbits/sec Dynack: * 28.9 Mbits/sec Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'package/kernel/mac80211/patches/ath/557-ath9k-dynack-remove-experimental-tag.patch')
-rw-r--r--package/kernel/mac80211/patches/ath/557-ath9k-dynack-remove-experimental-tag.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/ath/557-ath9k-dynack-remove-experimental-tag.patch b/package/kernel/mac80211/patches/ath/557-ath9k-dynack-remove-experimental-tag.patch
new file mode 100644
index 0000000000..2e4cffd1fa
--- /dev/null
+++ b/package/kernel/mac80211/patches/ath/557-ath9k-dynack-remove-experimental-tag.patch
@@ -0,0 +1,22 @@
+From: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
+Date: Fri, 2 Nov 2018 21:49:59 +0100
+Subject: [PATCH] ath9k: dynack: remove 'experimental' tag
+
+Remove experimental tag from dynack Kconfig entry since it has
+been tested on outdoor 25Km links
+
+Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
+Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
+---
+
+--- a/drivers/net/wireless/ath/ath9k/Kconfig
++++ b/drivers/net/wireless/ath/ath9k/Kconfig
+@@ -132,7 +132,7 @@ config ATH9K_DFS_CERTIFIED
+ except increase code size.
+
+ config ATH9K_DYNACK
+- bool "Atheros ath9k ACK timeout estimation algorithm (EXPERIMENTAL)"
++ bool "Atheros ath9k ACK timeout estimation algorithm"
+ depends on ATH9K
+ default n
+ ---help---