diff mbox

[2/5] hostapd: send EAPOL frames from the VO queue if WMM is active

Message ID 1347628349-34362-2-git-send-email-nbd@openwrt.org
State Accepted
Commit 92d521d89cfe8ae6f5a85da5b0eaa284f3447ec6
Headers show

Commit Message

Felix Fietkau Sept. 14, 2012, 1:12 p.m. UTC
This avoids extra latency caused by establishing an aggregation session
and makes the initial connection attempt more reliable

Signed-hostap: Felix Fietkau <nbd@openwrt.org>
---
 src/drivers/driver_nl80211.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jouni Malinen Sept. 16, 2012, 5:41 a.m. UTC | #1
On Fri, Sep 14, 2012 at 03:12:26PM +0200, Felix Fietkau wrote:
> This avoids extra latency caused by establishing an aggregation session
> and makes the initial connection attempt more reliable

Thanks, applied.
diff mbox

Patch

diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 6779877..66389da 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -6392,8 +6392,8 @@  static int wpa_driver_nl80211_hapd_send_eapol(
 	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;
 	}