From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 298583CB35 for ; Thu, 26 Sep 2019 11:19:19 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1569511158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xceFySE/YPdpcHCuBlnpxqyBfL1iE5XunI8gt5xpca8=; b=JaENz1afrW1HOpmX2Jk0DmNrKD24ogMNyPSOldt17f4NZFhPPwIiE6a4OLv1Bc5kNvTSbi 11XJluwDmxoZJh5SQDkwmVWK3fKzn13PDR1j+UqDBPh+fzV9Mrj3OEG4qE9zMyFKHnPhuF GEvKhczl71ccZySUrjwt5lYw8Zbpx2o= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-154-QVhQDDm0Otms4vpw6x2Veg-1; Thu, 26 Sep 2019 11:19:15 -0400 Received: by mail-ed1-f71.google.com with SMTP id 34so1584438edf.0 for ; Thu, 26 Sep 2019 08:19:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=xceFySE/YPdpcHCuBlnpxqyBfL1iE5XunI8gt5xpca8=; b=liZz7/ff6Jwq7qTVmDK7dgrnxiR069tQM0oi7gZ6CUG+cdDbC+O64vr3zG3Dg8nbfJ qTVetjeKtuYZBNY8DGQKPS/L+oQDWRpW4Pzp5LPIM34umhyZXopnsEKSmebJomCMR6qs U7B3k5qKV+Nd9cUbRCuaRTAzqX2C+9BE/JJawEOjBiXRJWrB71iwhAznH74mWQdkIdoE /roqzO2uTIXGv16LoefEdMuUwlj2Ro+rG5PR3jBlhl10PKAANk8kvaYE3jIAyWpSNm9m apaXPI9F7cQnvu/3rVH4EVbR/HNWTT/KzZRrddpXP1vecu3oGtqC7Yz/BqzPFnQfDtVG g3cg== X-Gm-Message-State: APjAAAVnf32gyW4WCVOYDOOn9pTKjWN6qYQ13Ljwtye+kmTrPbjzT1L/ QeLhm/SiW9rPjWkOgUjRNaf7RycBzzvN1DwGF5zpkCqdxwrjSiJdUirm8wd9cQNdI+g3Rx4L0me dpZUL+rXphViZiLSfXPNTNHPb18gY/64+3U4= X-Received: by 2002:a50:eac4:: with SMTP id u4mr4381666edp.36.1569511154104; Thu, 26 Sep 2019 08:19:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyU2Sag81yJnJkanjkZUGsEowc1RpCAJLbQZgynp1b539aWCs4Um6kmNOh7efnwN7pIfRKQNg== X-Received: by 2002:a50:eac4:: with SMTP id u4mr4381651edp.36.1569511153931; Thu, 26 Sep 2019 08:19:13 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([2a00:7660:6da:443::2]) by smtp.gmail.com with ESMTPSA id a36sm538730edc.58.2019.09.26.08.19.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 08:19:13 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 8136218063D; Thu, 26 Sep 2019 17:19:12 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Felix Fietkau , Johannes Berg Cc: linux-wireless@vger.kernel.org, make-wifi-fast@lists.bufferbloat.net, John Crispin , Lorenzo Bianconi In-Reply-To: References: <156889576422.191202.5906619710809654631.stgit@alrua-x1> <156889576869.191202.510507546538322707.stgit@alrua-x1> <08f0ed6e-b746-9689-6dc8-7c0ea705666d@nbd.name> <87wodv19jl.fsf@toke.dk> X-Clacks-Overhead: GNU Terry Pratchett Date: Thu, 26 Sep 2019 17:19:12 +0200 Message-ID: <87tv8z13wv.fsf@toke.dk> MIME-Version: 1.0 X-MC-Unique: QVhQDDm0Otms4vpw6x2Veg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Make-wifi-fast] [PATCH RFC/RFT 4/4] mac80211: Apply Airtime-based Queue Limit (AQL) on packet dequeue X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Sep 2019 15:19:19 -0000 Felix Fietkau writes: > On 2019-09-26 15:17, Toke H=C3=B8iland-J=C3=B8rgensen wrote: >> Oh, right. Didn't know that could happen (I assumed those would be >> flushed out or something). But if we're going to go with Kan's >> suggestion of having per-station accounting as well as a global >> accounting for the device, we could just subtract the station's >> outstanding balance from the device total when it goes into powersave >> mode, and add it back once it wakes up again. At least I think that >> would work, no? >Yes, I think that would work. Great! Will incorporate that, then. -Toke