Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1230465rwl; Fri, 24 Mar 2023 07:55:29 -0700 (PDT) X-Google-Smtp-Source: AKy350bigpY0feIKEAZo1lLohzOGYNnQVS9N4x/+b8hhglM6ndi6NuWeckNuLaXcFSiBe0SRIDFx X-Received: by 2002:a17:907:d9e:b0:93a:219d:b167 with SMTP id go30-20020a1709070d9e00b0093a219db167mr3960804ejc.52.1679669729251; Fri, 24 Mar 2023 07:55:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679669729; cv=none; d=google.com; s=arc-20160816; b=Tw+R3z9FazCJkkivFxUO67gw0I28jiidk4hP4Mz5EQ0vy9/0UfvssMjj0xrsuypdHN uiVCizj72H4/MspGhfO31wrFqND6O68Xsjv20eF2m/YHNmX33oXYSxn+UQWtQro02V+B QuTJ2VujLKvzzLFcA8N+mZx3mAG5sGX6MCM8YNFU93SkrgdqSjmm8IBUOz87gp2R4LCn p5LJ4grffEi0g7s9YzqGVuTJBEkKWsQqDTLkaCmJI2o+8S0jO6muFRbFGnviC1WCkMT7 BsY5+QOni1eu98ZcebHSUe7+SzkI0UtPRb6bwA6JXb3Wm/avVWN6kBwa6/I9L79JR5fY HSBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=Bkh6b1+XM82+eYbebBg/1RQXU/qJELvzWcRy+vxGqcE=; b=jM2o+HdarNoOWJCyrhGOxoEcrKvu6+0GNk1uCtziq9kqwGMJjgYXycPGlQ+0j8/cI7 bLDn0Z6LFs1wfssL076snpY+fqxE17H1GTFUwvZ0qFMzYg/zQWPNn7AOB3gg0MCsn0zP uHLgiDaSgzYUW4N6Vvdwqdks0BqyFE+EaoPT6/qOWlxEIYqn4xUF+Hb/LqpX73eR0Q31 SxvC0oPpRWpJqr+lNtFV1zTbL6jF2Jc3Uc2zelUXhddyFR7C1bpFqRJi1iwASv2jb7Yz vi4SuYjA/SHj9KyyK72sUL4xoJvp77zPyHJE0/SMF2uJMYw13QNw5lAx07G30bjKiuQo t36w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FSoigjj3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw30-20020a1709066a1e00b0093404ccdb7dsi15984986ejc.861.2023.03.24.07.55.14; Fri, 24 Mar 2023 07:55:29 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FSoigjj3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232231AbjCXOtR (ORCPT + 59 others); Fri, 24 Mar 2023 10:49:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232250AbjCXOtK (ORCPT ); Fri, 24 Mar 2023 10:49:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17A3822797 for ; Fri, 24 Mar 2023 07:49:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 99B9262972 for ; Fri, 24 Mar 2023 14:49:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F1C6C433D2; Fri, 24 Mar 2023 14:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679669344; bh=MANfTqFiGj84M3too4SLDUu3WWV9uomOPjQ4Z8QKHq0=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=FSoigjj3B7w1mdxO0XH+Bgh87X+RIhDEJMkjxgC1wVJijS6MlLZCihDbPCAu/k9QA qBcmO8d1WnEhHQmbCcClboNAdFke2y3eC+seXmr3hn8sIzxFdY65ipSB8Q9ZydX/eY vl2YIrG5E1thTFmPbZbjSZCpziiZ4VoI/wKEaT2Y4kJbI6IPlYicnPjV9sJBbq3Mbi PacRpiGSE89n6Uf9ldlacTHwhMOFTu4nCQmTSwsSPNGQPEMUizQQPDxFEJFyXFd+d7 +u8k3sMvUZzsYidfnyzmEit4bKjPk1ru7BU9Ktw+K/tUc7csU9qXhMHRCLfZMypldM 97KUZpNKfQ8Tg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath12k: fix incorrect handling of AMSDU frames From: Kalle Valo In-Reply-To: <20230320090400.30027-1-quic_hprem@quicinc.com> References: <20230320090400.30027-1-quic_hprem@quicinc.com> To: Harshitha Prem Cc: ath12k@lists.infradead.org, linux-wireless@vger.kernel.org, Harshitha Prem User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <167966934129.27260.16769299047349911111.kvalo@kernel.org> Date: Fri, 24 Mar 2023 14:49:02 +0000 (UTC) X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 Harshitha Prem wrote: > When a data traffic with size greater than 1500 is initiated, > say size 65500, it is sent as a set of AMSDUs (3 MSDUs) > in a MPDU. > > These AMSDUs are incorrectly classified as multicast > and peer id gets changed, except for first msdu, > because of mcast_bcast bit derived from rx_desc > for every msdu received. > > The mcast_bcast bit in rx_desc is only valid for > first msdu. Hence, add changes to derive mcast_bcast > only if it is a first msdu. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Harshitha Prem > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 392b6b76fd39 wifi: ath12k: fix incorrect handling of AMSDU frames -- https://patchwork.kernel.org/project/linux-wireless/patch/20230320090400.30027-1-quic_hprem@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches