]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
hostapd: Send EAPOL frames from the VO queue if WMM is active
authorFelix Fietkau <nbd@openwrt.org>
Sun, 16 Sep 2012 05:40:00 +0000 (22:40 -0700)
committerJouni Malinen <j@w1.fi>
Sun, 16 Sep 2012 05:40:00 +0000 (22:40 -0700)
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

index 6779877fbf9232e2381f70939ecae8327cb67868..66389da9ae2ad644cedd5bee6b7abc57b5da5fb5 100644 (file)
@@ -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;
        }