From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 455CB3CB37 for ; Tue, 1 Nov 2022 05:43:53 -0400 (EDT) Received: by mail-wm1-x334.google.com with SMTP id v7so2771788wmn.0 for ; Tue, 01 Nov 2022 02:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TjkJol0V7BBtbocstEtozK9d1Tl5FJPlTMFQ2lhC7Wk=; b=oUHSPNxDli21DpTXDI3iNBZuVubtTqzJu2TrfHBuRjlYyEIHZF1zAAms4m5BTzAT6H TJHP7TNcwfxhF5smSrcG5b8K7yQD12QtC54jXImT8zqRngq6IEWxfnCPEPtLSv0tg6tf r7CsaTSfVCyRpSWw8BfmR81RYi30VoecHjZ8WYQ2/DwpuVhsD+t8KBbedR0B85WZhnpu Tz0HoJSrGPQuqBtYj/Sq+ZThHQDE+5B8pmXRLLSIqkL5PGIOFdRWoQMkVVCPZqU9W1vA 6EVTwWIt9f9l1JAcqZl5FkkAlSHBlsLgKRTLpQc4Cqo7+5rPCCCEWm2Hm4MCiMShj9SN GNcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TjkJol0V7BBtbocstEtozK9d1Tl5FJPlTMFQ2lhC7Wk=; b=roHYMkODEoVkH9K9kESuZMm03v5kv1rMBH2PZ5x9j0ycIkkStF5tntOyujDfNcQuqs e9OZ8M1DY37Rh5GZyH3HvfjjwAuatMK6jvv7YaftfZ4+wThmKHgYRTCXkTuCubVEw13i 2mGUPFDyDMk8UphVgHIQsJcOCCiLQPER1pvKhEYgNAHpe2uSzs3Gky3f3jalP/tk70NV iXjI4yDJWGt75zSNqzknmqOlKpL6OZ7zeCdbNoRg+y245S6yxlZS9R42WLOMi80SKQcE ob4vZW/LGIitqIGTgJr9pnKd/a8zfXc+TzqcFujOYgKfYEnPfORvAV5s0c6Qs2WqNqmL vf3w== X-Gm-Message-State: ACrzQf1dQpVeLyOAc7j75U78aHkZvrx36lmsgiI+mCuR0iFxr7m46S0q IvGxKfNWgE7Medy3quBXbXGiez00I90/fRRSaQ4= X-Google-Smtp-Source: AMsMyM5ubfbaRK3kOFTE8Q8sU6lexIJ2GzD4h/GNeZ1I5Y97uYEU/RtvGcoY+CDuj3RmL1sKIA9EnPHQ3E4OidhVIwg= X-Received: by 2002:a05:600c:c1:b0:3cf:63e3:bd73 with SMTP id u1-20020a05600c00c100b003cf63e3bd73mr10858716wmm.206.1667295831996; Tue, 01 Nov 2022 02:43:51 -0700 (PDT) MIME-Version: 1.0 References: <00ad5cc5-427b-ec14-70e2-e75604780a88@nbd.name> <5861fcb0-b173-fcf4-a02e-cd325f08cc3f@nbd.name> In-Reply-To: <5861fcb0-b173-fcf4-a02e-cd325f08cc3f@nbd.name> From: Dave Taht Date: Tue, 1 Nov 2022 02:43:40 -0700 Message-ID: To: Felix Fietkau Cc: Make-Wifi-fast , shayne.chen@mediatek.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Make-wifi-fast] wifi 7 for mediatek lands... fq_codel? atf? can't tell... 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: Tue, 01 Nov 2022 09:43:53 -0000 On Tue, Nov 1, 2022 at 2:20 AM Felix Fietkau wrote: > > On 01.11.22 10:17, Dave Taht wrote: > > On Tue, Nov 1, 2022 at 2:03 AM Felix Fietkau wrote: > >> > >> On 01.11.22 02:49, Dave Taht wrote: > >> > To my eye, this is offloading everything, but I could be wrong. > >> > > >> > https://patchwork.kernel.org/project/linux-mediatek/list/?series=3D6= 90553 > >> ATF and AQL are enabled in the generic mt76 code, not the individual > >> drivers. itxq (used for fq_codel) is also pretty much mandatory for mt= 76 > >> drivers using the generic framework. > >> The driver also has code to read the airtime stats, so all of those > >> features should work. > > > > Thank you for the update! However, in order to take advantage of > > certain wifi7 features, like RU, > > a gang scheduler is needed, in order to feed each station > > independently in the same txop, and > > also there are other features like probes to set that up. Didn't see > > any of that... > All of that scheduling happens inside the firmware. The driver/stack > only ensures that the hw queueing per station is limited to the > available AQL budget (and ATF constraints). I'm sorry to hear that. Tuning AQL has proven tricky, and the rightest answer was for the firmware to expose per station queues and the interface statistics so that a smarter host could shave another 10ms of or more of possible latency off the connection, maybe even get below 4ms consistently for service to multiple stations at once, which would be ideal for multi-player gaming. I should have given more presentations than just the one at IEEE 802.11 and battlemesh, huh? https://www.youtube.com/watch?v=3DRb-UnHDw02o&t=3D1560 AQL on the ath10k was a hack. The ath9k still runs circles around it and that too could have been improved with a tx-is-almost-done interrupt. > > - Felix > --=20 This song goes out to all the folk that thought Stadia would work: https://www.linkedin.com/posts/dtaht_the-mushroom-song-activity-69813666656= 07352320-FXtz Dave T=C3=A4ht CEO, TekLibre, LLC