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

Felix Fietkau nbd
Fri Sep 14 06:12:26 PDT 2012


This avoids extra latency caused by establishing an aggregation session
and makes the initial connection attempt more reliable

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

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;
 	}
-- 
1.7.9.6 (Apple Git-31.1)




More information about the Hostap mailing list