Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3063096pxb; Sat, 6 Feb 2021 18:46:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyMcV2euHVkHlFqS+M2z4iQjZSevx+bmZKcq5+Ef1SVQxETznn7iJfCeSsgf2bRZWh5FjTA X-Received: by 2002:a17:906:560b:: with SMTP id f11mr11381804ejq.162.1612665972983; Sat, 06 Feb 2021 18:46:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612665972; cv=none; d=google.com; s=arc-20160816; b=wIFs5lrKDhpVdKUh9dm13PWyHc7BO8EZhjKyWLaTcKOMhbl53jwMDO/imeBtv6xPL6 tFRKFgw16wrk/3eCKIWhsVxqvZ8DLU364Eui/6MveUxW8RXMYNo1x0BMCf3FyMnQNK68 HvX/0D+VXaZ4SIF3eCOAtudSd4UD2/q4v16hAuMquZdt39cKOM7J2wSlQhnU/KqhPKWB 1/6uUghO4RwL8s/ige/HTiZmyhyPV+iMpRqroSH0Emi4K7zzZFtqgdt7WxC2gXu5+1f5 GF+G8ud/UCpAbFMWAeVQ3dTDBDVCMZ5wAE3r44081IRfYVsbJW7cY+jAQG2XHujDC3PW mZMA== 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=KylhczPDQmJm8aTlE4/r72AkBA70MMaHxDqLsCazpho=; b=revnwuwCAFjxNVG9RUIlXxZt86MfnB7zpcCKO/IGy+bcm2QfU2XuVxPOp7ZEWftlPY txozStHhEeEAa4ea8R5//Lu0PLYyN31s35MYVgG8Ds6lUPQA+xvHsYydsku1U9u8guh4 fNsuJbfmBMk1pN+QxrOz7lAYz/mmlKbnw3XdYAfyqtiW5NIuypXqBXLYMOxZ+eqzYlbf YUS2Wn6Zwr0j/sk1xdMucfHnEh8i+fbC8H1bdULuwV60B2sJZSGw7bmkPQ7hgO4LLBWY Gx9K0ZvomrMDKCsI0JzvWMR3JCC+4LS3lpB3ibAQXLZ+B8Wmm7T7XAzrIKirIJIzeVRX Y3Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=HBEVlQL9; 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 v19si8161655eji.75.2021.02.06.18.45.33; Sat, 06 Feb 2021 18:46:12 -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=HBEVlQL9; 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 S229536AbhBGCmE (ORCPT + 99 others); Sat, 6 Feb 2021 21:42:04 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:44011 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229506AbhBGCmD (ORCPT ); Sat, 6 Feb 2021 21:42:03 -0500 X-UUID: e84b5623047f4c7da125b0e03641216a-20210207 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=KylhczPDQmJm8aTlE4/r72AkBA70MMaHxDqLsCazpho=; b=HBEVlQL9CDlorHHrIGPjmYLefXyDLfcPVpx2i91F/gvwCKIjBF9/V98x0WkL+MyB6PJYntMpfOmTelFp6HK8HIaMPKBDW8zu0E1/XgTUW283T85fUFuEuyQxteOVgaC02Ea/4S9GMGSUEKIYyDSTQtQ/BPZz3Jo6q+x+0Yxrg90=; X-UUID: e84b5623047f4c7da125b0e03641216a-20210207 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.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 1977239342; Sun, 07 Feb 2021 10:41:17 +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; Sun, 7 Feb 2021 10:41:15 +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; Sun, 7 Feb 2021 10:41:15 +0800 Message-ID: <1612665675.2364.43.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: Sun, 7 Feb 2021 10:41:15 +0800 In-Reply-To: <878s82ve1c.fsf@toke.dk> References: <878s82ve1c.fsf@toke.dk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: E0EB679D95937FD5FF6A6DA529D0893AF452B04BCD6066E3141017E110FB02092000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org T24gRnJpLCAyMDIxLTAyLTA1IGF0IDE0OjI5ICswMTAwLCBUb2tlIEjDuGlsYW5kLUrDuHJnZW5z ZW4gd3JvdGU6DQo+IFJ5ZGVyIExlZSA8cn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