From patchwork Fri Sep 14 13:12:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 183916 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from maxx.maxx.shmoo.com (maxx.shmoo.com [205.134.188.171]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "maxx.shmoo.com", Issuer "CA Cert Signing Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 38B562C0085 for ; Fri, 14 Sep 2012 23:12:52 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 95FA49D282; Fri, 14 Sep 2012 09:12:47 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S+or8A2xylMB; Fri, 14 Sep 2012 09:12:47 -0400 (EDT) Received: from maxx.shmoo.com (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id A1E339D1EA; Fri, 14 Sep 2012 09:12:39 -0400 (EDT) X-Original-To: mailman-post+hostap@maxx.shmoo.com Delivered-To: mailman-post+hostap@maxx.shmoo.com Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 034E59D283 for ; Fri, 14 Sep 2012 09:12:38 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4z5F1D6fMcOl for ; Fri, 14 Sep 2012 09:12:33 -0400 (EDT) Received: from nbd.name (nbd.name [46.4.11.11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by maxx.maxx.shmoo.com (Postfix) with ESMTPS id 194A99D089 for ; Fri, 14 Sep 2012 09:12:33 -0400 (EDT) Received: by nf.local (Postfix, from userid 501) id 184DE7BB964; Fri, 14 Sep 2012 15:12:29 +0200 (CEST) From: Felix Fietkau To: hostap@lists.shmoo.com Subject: [PATCH 2/5] hostapd: send EAPOL frames from the VO queue if WMM is active Date: Fri, 14 Sep 2012 15:12:26 +0200 Message-Id: <1347628349-34362-2-git-send-email-nbd@openwrt.org> X-Mailer: git-send-email 1.7.9.6 (Apple Git-31.1) In-Reply-To: <1347628349-34362-1-git-send-email-nbd@openwrt.org> References: <1347628349-34362-1-git-send-email-nbd@openwrt.org> X-BeenThere: hostap@lists.shmoo.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: hostap-bounces@lists.shmoo.com Errors-To: hostap-bounces@lists.shmoo.com This avoids extra latency caused by establishing an aggregation session and makes the initial connection attempt more reliable Signed-hostap: Felix Fietkau --- 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; }