Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 270ADC05027 for ; Fri, 17 Feb 2023 18:01:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229525AbjBQSBT (ORCPT ); Fri, 17 Feb 2023 13:01:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbjBQSBS (ORCPT ); Fri, 17 Feb 2023 13:01:18 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 743FC2B091 for ; Fri, 17 Feb 2023 10:01:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=xG89Mz9pj4E3T/EI2ryZS5Oc9+f4DJBf5248lLVypVI=; t=1676656876; x=1677866476; b=u6ckP86mts92e/1/7YNnhpID4JTCySHM/MlpHftVTiWsJlg 1/SnnRm+a6QF4IDGOZPqxRTV8D2siqrSxi1s6NxrNrXhH0VpenPLlE6U/qBcD5lIPRvjbS9tAggB+ IEjqxPk0ymP0TPju9l4VEUqggbKxzHbzj4DPVdymLg76XJ8Ajg3cPgTCQ6hvRRr2/XpdGEi0f7Fwd ARphe4MZ11/nChykNqh3Qq/VIxFIEZ/IlZqBkC3nmyM5NPrhi7LXXmNbzpYInhdjwXGn91h0MH0Y5 nNzKficiu/dj51Dw6QFsPNo/iMRevqbGUg9n2dNhK+6+Cbpj6E20gcQE7V+vPrqw==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1pT52l-00F90e-0k; Fri, 17 Feb 2023 19:01:11 +0100 Message-ID: <44f956b493e33bf394b2947b77e7c86f394b28ed.camel@sipsolutions.net> Subject: Re: [PATCH 1/2] wifi: mac80211: introduce ieee80211_refresh_tx_agg_session_timer() From: Johannes Berg To: Ryder Lee Cc: Shayne Chen , Evelyn Tsai , linux-wireless@vger.kernel.org, linux-mediatek@lists.infradead.org Date: Fri, 17 Feb 2023 19:01:10 +0100 In-Reply-To: <7c3f72eac1c34921cd84a462e60d71e125862152.1676616450.git.ryder.lee@mediatek.com> References: <7c3f72eac1c34921cd84a462e60d71e125862152.1676616450.git.ryder.lee@mediatek.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.3 (3.46.3-1.fc37) MIME-Version: 1.0 X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Sat, 2023-02-18 at 01:50 +0800, Ryder Lee wrote: > This allows low level drivers to refresh the tx agg session timer, based = on > querying stats from the firmware usually. Especially for some mt76 device= s > support .net_fill_forward_path would bypass mac80211, which leads to tx B= A > session timeout for certain clients. >=20 Does it even matter? We could just request sessions without a timeout in the first place. Or do you have a strong reason to need the timeout, such as limited hardware resources for (TX) aggregation sessions? But then maybe you should just time them out based on FW statistics directly, rather than having to periodically refresh the timer in mac80211? I don't mind the patch, and I'll happily take it if it's needed, I'm just wondering if that isn't a very roundabout way of achieving things. johannes