Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4055353pxb; Mon, 8 Feb 2021 06:58:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJx36k5GRIKdcHSr9dsCnFWHUrQb1kdZrD+OkoKsDptE4TT1QVtHwl6izfISv0swP7LVLrMn X-Received: by 2002:a17:906:af58:: with SMTP id ly24mr17637871ejb.208.1612796290296; Mon, 08 Feb 2021 06:58:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612796290; cv=none; d=google.com; s=arc-20160816; b=Ebpxz9aBYaoLPfJJmnP1Wk7hhO2VJIWvB4mcQ+zv7vrsSgAQ58chSBsrlvRA/F/v9h yfBVy5tOVJ96alDIwzyjZ1PQsRImS7kKnk1/hPAD+82PVPNBw5L1gzkImNvlacx7woM9 g6r4cn7+vig1HhtFPUNhW0A+JqYJnXXya//Z2m5H8lYcGnfoQ5pnzlv+Yfeb2yD5iGAD 9mrua9pJ5fEPaSYFUhB2o7FLA3AQ8Avb91r0r7ALOdi9BcdnP6FocQ8otSMqyehcRVKh hVrs9qAp5nIkVCcBFmtR5Vo4QzqKioHhQ+TaDjgcVpKaL+yVa+MrZVie3DEkt1ayp0zo zuhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=X2CdT3h2aCEflLRIVjhcK/OFaSLMOm98PChkcfUCSBM=; b=y15BTvK7ef/bk3XiAxkJkBK0D9Ctvm+ty3TBRpL2knVTLNFxbe5unoLbIxEwCNRNEz WK4oX9RFiX6Ss6a8B6hE3gTwr7QXq0Z3n5PQhoWwZMoqe3V+Ou3WZg1XgVfS09717ewL Ta3wvLH4PXk32Flfn3uFH6pJHeiJGeMeeFaJA2WHK/fMHPlqMKNF7NEfsQWnGpOYmmUc X5F9EI1vdjR1xmq9XrSstBNq+reGIOaRk5fAsPEC79Tr6O9Kfc3WysVD6tpGmewCOZT3 jFSx2ANIiBbu8hFYGzBdiWa3aB+Dg6TQpmaBDYB/uOG72E8d1KxgxlfALXgnbsWwd6Go rOWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=hHvQOgXX; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ch1si169587edb.239.2021.02.08.06.57.44; Mon, 08 Feb 2021 06:58:10 -0800 (PST) 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=@mediatek.com header.s=dk header.b=hHvQOgXX; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232428AbhBHO43 (ORCPT + 99 others); Mon, 8 Feb 2021 09:56:29 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:41049 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S233108AbhBHOyo (ORCPT ); Mon, 8 Feb 2021 09:54:44 -0500 X-UUID: 53ae64c1e0ba416ab3f1396333a72b0f-20210208 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=X2CdT3h2aCEflLRIVjhcK/OFaSLMOm98PChkcfUCSBM=; b=hHvQOgXXdmp+EG1ncFJywVbS/t8VZptU6odvOckC/PcTO4C/feWpIb9EFPcKsn6MvnbChf8bqjppMd6kQVcWwxOarx48gaThLHBNNy4uhWuexYmtNJmZq2DZTZoe0qobDf/tD85TzwgRIv1cp5cnBSmRBPw/WZmusIM1qtmiBjQ=; X-UUID: 53ae64c1e0ba416ab3f1396333a72b0f-20210208 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 344770172; Mon, 08 Feb 2021 22:53:55 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 8 Feb 2021 22:53:53 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 8 Feb 2021 22:53:53 +0800 Message-ID: <1612796033.13185.5.camel@mtkswgap22> Subject: Re: [PATCH] mac80211: only schedule TXQ when reasonable airtime reporting From: Ryder Lee To: Toke =?ISO-8859-1?Q?H=F8iland-J=F8rgensen?= CC: Felix Fietkau , Lorenzo Bianconi , Shayne Chen , , Date: Mon, 8 Feb 2021 22:53:53 +0800 In-Reply-To: <1612665675.2364.43.camel@mtkswgap22> References: <878s82ve1c.fsf@toke.dk> <1612665675.2364.43.camel@mtkswgap22> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 0BE62A6312E758FAC2090BBE2C4777B0A1A76458C17EF0742AC248A3F99B8CC42000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org T24gU3VuLCAyMDIxLTAyLTA3IGF0IDEwOjQxICswODAwLCBSeWRlciBMZWUgd3JvdGU6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