Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp383347pxa; Fri, 21 Aug 2020 09:39:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNc0Ja69uyKod4OYPljoreRrfKlNxRuQI7EU76SEwyJaF/OyXw8YWshsiSmftVUVvxFIYn X-Received: by 2002:aa7:d1cc:: with SMTP id g12mr3625998edp.385.1598027947413; Fri, 21 Aug 2020 09:39:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598027947; cv=none; d=google.com; s=arc-20160816; b=o5oX7oHvggJuqKoMf+1Ka02wgRUXR67Ds1l7APgmq4vq5mFSBDzBckDt5cagbpWYZL dx7oCseFXvqZHJswzck+wFOisGIh+LgoZnzbSIG3hOlAgzZg8Nl6a13tbHZzkm65SGhv FavOmFHJZcQPM3Qg6Q2hULiN001lWNdqPRak+2eqPwPh3Tz0XSdHbCH0qrxxKemyM+Yn K+Hj7HZKiK0e09jF8IkiPwNcj+ebC+xeWEyC/FsYpm34tm5ZQ2ZIEwaE/FS3n82XuINt nU7Xw6VEcGO3n30IwnzApLuhTthPQRZ9C2kzk+WOydEVPdGbb43571Gd+XYyhWbew+4p ki+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=/BpCqlz36u1/crvTEnbIvAbFbtkMSwTldtETWDdR1vY=; b=wuDmWN6CqHxi+oLbEnbU33Ktg4Rzfc8OwwXqG9Aq9UHhXpFdTJ3hbTf3tbASqeHvT6 I7wqJeKWwNE3FF6PPCJiY8M0NfukouRo8osHb0CwBvgGBTlXhb3AFenfItlyX9Ybgvia cl6pSLI8mTQAM1pJJEMGHUhXvHkm1K+GmJSML5upqS+ZfltVSCr6LtfxZSdnZP+rCQa6 huI9kRQDeUslgugaiQnB8SX/0onA79MZg6x8tfBmQwq3r3nJbdGvhtpO17jR8fKw028x zhmf0oLZaAnPwPIlVKLMdY4UzHtqfghkOjysd7auIj3Z6EJS0BfWjOSIVrmiyiVzg8oG EvSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=biAl5L+i; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g12si1484767ejj.277.2020.08.21.09.38.41; Fri, 21 Aug 2020 09:39:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=biAl5L+i; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728473AbgHUQic (ORCPT + 99 others); Fri, 21 Aug 2020 12:38:32 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:57218 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728370AbgHUQh6 (ORCPT ); Fri, 21 Aug 2020 12:37:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1598027875; 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=/BpCqlz36u1/crvTEnbIvAbFbtkMSwTldtETWDdR1vY=; b=biAl5L+iHENglyPpVq5p/fqYpJcZ/lxPiG+RqnREgxghCILaKh/GjACicNd0JYCXgUwzKf jcMYyFz+YWLh+MCYDlZBhM9rIn7DO5qI1NdwyU+mNvdPSqjqZZYrjfVr4M1KDNYo/ZI3Sy fSWGqJZzpvhgSG7CUb12Uhkapc0EY0Q= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-60-RWpnp0S7NDqHaKtjXAb18Q-1; Fri, 21 Aug 2020 12:37:53 -0400 X-MC-Unique: RWpnp0S7NDqHaKtjXAb18Q-1 Received: by mail-wr1-f69.google.com with SMTP id z12so714644wrl.16 for ; Fri, 21 Aug 2020 09:37:53 -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=/BpCqlz36u1/crvTEnbIvAbFbtkMSwTldtETWDdR1vY=; b=FUcUCLzG+iB/m7Xp7n4t0rEroaj+4aUZNRT87oL0XwTxGk2zVkUrOk0/UWFpOwfc0O W1aBjXNJ0yIIt2S3E8SaBeauAbVkjroRtAzAXuvL7decw1DEPq5FCoqD/8g197ywDsNa 5ux3XmM0kNgE24JPLHw+z6BaDYlrWXEGw4Fgtb3dKv2+ADVkqRj0fN7lpnwDqCD8NK6E CopZF7k+pKyq2ckTakuZBmfkEwPSUKMXek/hmXOdD41PlUJjUzwO1R7+yXD86dtIGQI3 bXg1oDFtBSpfeOq01BX0CD3+ARjT89G875L3EQNR45aSdJYQVNWXtBwN9Xul8fnzOcuy ksKQ== X-Gm-Message-State: AOAM5318y1/reievDH4iKhObYdnUgqunrlMF6fdmKnQ1nl+3Q/YcXLH3 MyznjWMEVRcdBe8KRDeliH+f6C0tNIVNTGdoYW2vfw/85K1dwEKLuQMU7HW3wwqDmbh3XhpVQ+G NosJjjqnPlro6yTzdm/2HlQY/ijY= X-Received: by 2002:a05:600c:2246:: with SMTP id a6mr4759517wmm.71.1598027872561; Fri, 21 Aug 2020 09:37:52 -0700 (PDT) X-Received: by 2002:a05:600c:2246:: with SMTP id a6mr4759505wmm.71.1598027872349; Fri, 21 Aug 2020 09:37:52 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([2a0c:4d80:42:443::2]) by smtp.gmail.com with ESMTPSA id z203sm4164417wmc.31.2020.08.21.09.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2020 09:37:51 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id E6B301816A2; Fri, 21 Aug 2020 18:37:50 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Felix Fietkau , Sebastian Gottschall , linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net Subject: Re: [PATCH 5.9 3/3] mac80211: improve AQL aggregation estimation for low data rates In-Reply-To: <623a2b24-31c8-83be-ae24-1461ecbfc224@nbd.name> References: <20200813155212.97884-1-nbd@nbd.name> <20200813155212.97884-3-nbd@nbd.name> <87tuww2ggm.fsf@toke.dk> <61d66ec8-117e-7c75-2b4a-1de7715f0bce@dd-wrt.com> <87r1s02eve.fsf@toke.dk> <623a2b24-31c8-83be-ae24-1461ecbfc224@nbd.name> X-Clacks-Overhead: GNU Terry Pratchett Date: Fri, 21 Aug 2020 18:37:50 +0200 Message-ID: <87lfi82bvl.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Felix Fietkau writes: > On 2020-08-21 17:33, Toke H=C3=B8iland-J=C3=B8rgensen wrote: >> Sebastian Gottschall writes: >>=20 >>> i mean airtime fairness policy was not configured >>=20 >> Ah, right, that makes a lot more sense :) >>=20 >> Still not sure why this would affect throughput, though; maybe the >> change in calculation makes AQL overestimate the airtime and throttle >> too much? Or does the saving of last_rate_info on tx_status_ext() work >> badly for ath10k? > The issue turned out to be missing return code checks on converting the > tx rate to struct ieee80211_rx_status. > I'll send v2 of this series with fixes. Ah, great! :) -Toke