Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4522680imw; Tue, 19 Jul 2022 08:09:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sRYhdyP9mDUDumXVWV7/RxQretQMEue4gQkNALo69RsYKN2HasbEcd3uoEKMHjQ+XmjMpS X-Received: by 2002:a17:907:d05:b0:6f4:3729:8e36 with SMTP id gn5-20020a1709070d0500b006f437298e36mr31536665ejc.475.1658243397936; Tue, 19 Jul 2022 08:09:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658243397; cv=none; d=google.com; s=arc-20160816; b=vW6KRZoXk9Wf0d2TcxAkfsoFIXq5DW5UKhleLSDMiknQmKrkkiLE22gGFknYBpRx1o uQ8DnLn/p19vwjnrjKEtXzsu2U+NeMLjwkiD+QzHJZgsHK+xStc8Gt8rH466Po2JSLHW xMDBZ8Pdp8FVO9QMNmkEaQhtZMyt7olNd0E0JURK8aQTqW3XXAkC1CKJYU8EUhSLfL+Q upODn/6WaHspApCwZooAQGxsbYgaZJvhQQ97jUwwr4kYDUlW4lT9cd9QmE1ocEeT2BXu BhvPAHkapQ5o/sgAlyFtCmsddlAQrYym5EH9yyIFe5A3E+yhdyrSGbVNwO8YEx+e3Hn9 uPlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=43lKHN81KW5+jANzHjR3f956m+/NsPQ05w1r+noPdgU=; b=C+JuTNM8Ovt8rB7cYWxxCA6MJv8pImzKb7JkcHYVbv7et0oR4atY+58x/gYLW/fp9D cgaOpFr+U7jmPRacNvi9NhH3qy8/vz4Qd/WpmoNp5bVfx8cDTWjqZqVFoMGGMqmrmXRi f1qztA/KhjHRG0EjCqb48SoqJ1Gzf+Ej9grKeEHdIOcS88JwxHSRwyKWLc1xvqR46KTJ enBeuk2+hzaMeyUwZxtlCNLIPKvopXcNfR4nANKPCGiaIDkoJmiMear+u3AE+LPIuHyL DWhKus93XuG6w2jkbMXuEcisF46E2r7JUD14Rf4guSAFfZwbdRTJV29dI4eL/luXvaoy QdrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z22-20020a05640235d600b0043769e9d1bdsi21045280edc.467.2022.07.19.08.09.41; Tue, 19 Jul 2022 08:09:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237484AbiGSPDt convert rfc822-to-8bit (ORCPT + 65 others); Tue, 19 Jul 2022 11:03:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237976AbiGSPDj (ORCPT ); Tue, 19 Jul 2022 11:03:39 -0400 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 158454D167; Tue, 19 Jul 2022 08:03:36 -0700 (PDT) Received: by mail-lf1-f42.google.com with SMTP id u19so16456130lfs.0; Tue, 19 Jul 2022 08:03:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=pHD6gf+jnhFiSPhKk1/yH2ypoHYFArDGaWOsXiwhDEU=; b=su6bX1GWseOd9wXI8avUH+WUleQDibj58RBRQIvSOTZiJBP+76hcvqsB8NtAnGzSSX pUKywJV6U012TuSqPvCt8ses6mIrMgesdSB+JUVCGl5afwQ+gD5Sny0Lcjafs9D/hawd 9/ZufWjOyUQsBQs0mLkeAFlO0q9mCf2kHFIz46OTvTvnwrviEEWrdrGinZMvWadYd3NE /5VmhKrcLJO8orGoIsTcI9PeDrpnFoE8enqx/y4wu9GqNi4HXRyTA8vP+xGrWbhev8xN 14f2mTWyi38zbNapnOtAq3FekM8+srnynha3HupVcbYfemWtehOoGsNT9DtOE4+hqDyV Cx5A== X-Gm-Message-State: AJIora9T9pAmhsL4WlIPU0ZF1cF9u8tH93Awmu125BIQRJBtaFsClEZz OI2zyB+Pa0p9Cx6xmID21aWioOheX+b1N17lFVc= X-Received: by 2002:a05:6512:1312:b0:47f:7bd3:1427 with SMTP id x18-20020a056512131200b0047f7bd31427mr16437493lfu.128.1658243014235; Tue, 19 Jul 2022 08:03:34 -0700 (PDT) MIME-Version: 1.0 References: <20220718222804.21708-1-linus.luessing@c0d3.blue> In-Reply-To: <20220718222804.21708-1-linus.luessing@c0d3.blue> From: Adrian Chadd Date: Tue, 19 Jul 2022 08:03:21 -0700 Message-ID: Subject: Re: [PATCH] mac80211: Fix wrong channel bandwidths reported for aggregates To: =?UTF-8?Q?Linus_L=C3=BCssing?= Cc: Johannes Berg , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= , Kalle Valo , Felix Fietkau , Simon Wunderlich , Sven Eckelmann , ath10k , linux-wireless , netdev , Linux Kernel Mailing List , =?UTF-8?Q?Linus_L=C3=BCssing?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, 18 Jul 2022 at 15:28, Linus Lüssing wrote: > > From: Linus Lüssing > > AR9003 based wifi chips have a hardware bug, they always report a > channel bandwidth of HT40 for any sub-frame of an aggregate which is > not the last one. Only the last sub-frame has correct channel bandwidth > information. Hi! It's not a hardware bug. Dating back to the original AR5416 11n chip, most flags aren't valid for subframes in an aggregate. Only the final frame has valid flags. This was explicitly covered internally way back when. -adrian