summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-09 07:20:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-09 07:20:19 +0000
commit8edcfc5bffef6616577b07022e372a44c3b38775 (patch)
tree137f50e71ae4cba7a12701fb1b0f75f8d68f0230
parent57d9c06f09fa9021404ee0f07076e30d38a93be0 (diff)
downloadmtk-20170518-8edcfc5bffef6616577b07022e372a44c3b38775.zip
mtk-20170518-8edcfc5bffef6616577b07022e372a44c3b38775.tar.gz
mtk-20170518-8edcfc5bffef6616577b07022e372a44c3b38775.tar.bz2
hostapd: send EAPOL frames using the same WMM queue as management frames - fixes reconnect issues under load
SVN-Revision: 27570
-rw-r--r--package/hostapd/patches/760-eapol_qos_high_priority.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/hostapd/patches/760-eapol_qos_high_priority.patch b/package/hostapd/patches/760-eapol_qos_high_priority.patch
new file mode 100644
index 0000000..9b1fcbf
--- /dev/null
+++ b/package/hostapd/patches/760-eapol_qos_high_priority.patch
@@ -0,0 +1,13 @@
+--- a/src/drivers/driver_nl80211.c
++++ b/src/drivers/driver_nl80211.c
+@@ -4413,8 +4413,8 @@ static int wpa_driver_nl80211_hapd_send_
+ pos = (u8 *) (hdr + 1);
+
+ if (qos) {
+- /* add an empty QoS header if needed */
+- pos[0] = 0;
++ /* Set highest priority in QoS header */
++ pos[0] = 7;
+ pos[1] = 0;
+ pos += 2;
+ }