Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp506971lqc; Fri, 8 Mar 2024 04:20:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWhcnAnKy4liRBZX7bVI/tLGKjteseLDXdsFJpxBNeBQmXOlADFJhX9iNoQCbbwnRWx4Dx+cPrlps+wjeiOk632f1c5nOU7vNeCit4zww== X-Google-Smtp-Source: AGHT+IHnxDkZDVxuKLMnqfLFWelOCiE1G0gx2ddbJr57St5vlvdXyT2w5nYPXFH4lHthwewHxzoh X-Received: by 2002:a17:906:7f95:b0:a44:2b:cdd0 with SMTP id f21-20020a1709067f9500b00a44002bcdd0mr15862504ejr.20.1709900414467; Fri, 08 Mar 2024 04:20:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709900414; cv=pass; d=google.com; s=arc-20160816; b=WhDcSSmGuqYTzg8U7luPuhc3hYSShFsbaGEC7+J/917PrqZ6cMmrzXGzFbAnvFCX0H x0syrQgTxez1JMDAkiwySHgbboA/ckmVeLh7ht03LkrCOdtBnXVSitfNyXBZl8fAZrPy ROUS6qdLIpOjE/3vCfNlgTB3/GInPHN0lec0HYC5CQJLVjMYq5XGQp4QlRdDgh5RWeTa gPSaZDaLMWL761v4m2ACFnI0gBQcaAJI1aKZpirA/BUNsSFZtZD/bQkqcTurJPlqq6xw Y57xkz5u0a9AMWwxIII6im4SgxSgzpmxcs4W40ruO+FY4TSEQNWapThz/CRiIunejsU5 L2bg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:to :from:subject:message-id:dkim-signature; bh=cYFjiRix+ABBSuAwdsHr1pGc9HQUSZQpyc6DPOTWQD0=; fh=QRtzfqWlZ+z1EdyitGbxrsYGdZxz0IwhK6Iaskjy8BI=; b=rmc8sm1ZdaMgACg4oIaP8Cs4gzveHTbKcH+Qb0cPgmbuw61Z0BPFG9CYzkde3f6Os4 LW9fAM1LXjKTHcEWEqwTu0byB02Fbu1ZfzIYZUOZ4053PcF/BZHJ77ecA5alhJYjuK9N NMCHEa6Hf+UP8BxXOq+fL9YpHPI6OKO39Sh2Y3cYx/Dxa5FMlYS/z/f5S+ZyXGiZ0Xmq CClG8qCttRYPKSnBXYzFJgyaIi3KcX0oWgMOEpxv+wwomTWGfw+z+exSALmMtrizfXoi tSrmsxHqOxaNZdJBCE9R7VHVx10E/mNqvJ7lQJzy8TozfEhifTrxQYTkL+i5E9C3F1tJ njPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b="GpNPf/Di"; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-4487-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4487-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id kx25-20020a170907775900b00a43d0869303si8099126ejc.614.2024.03.08.04.20.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 04:20:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4487-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b="GpNPf/Di"; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-4487-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4487-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 29DEB1F21C5B for ; Fri, 8 Mar 2024 12:20:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE6E92110E; Fri, 8 Mar 2024 12:20:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="GpNPf/Di" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 24DD356464 for ; Fri, 8 Mar 2024 12:20:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709900410; cv=none; b=PwkaW8QiWzj/9kTVUSFESN/gwMWGBy641s7bxwnvpWBGYNGlcA5OoC5P8Pzywyuk1CjOEB4JmfJ5YN6u1xHwE7lK6zxfGl6FTaewtDOyPFmpeJpHzg3Go0h0p0PvsBmxoioR0BgyYSf4WaPfGgeIqzBjcQgjAAuJ/DBR1ad0LWs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709900410; c=relaxed/simple; bh=cYFjiRix+ABBSuAwdsHr1pGc9HQUSZQpyc6DPOTWQD0=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References: Content-Type:MIME-Version; b=akzvgLQnCq2XbXZ13mL4uydTQHyTAj0s+E+ODYIgfN+59lEuVaq62iS70rhN8oRh5W/EPBg/Oink/rtqVPe/l6Pqjv8A5JWuRnPfROkibj2CycbOZKXtUQn1t6Wb+HfSzJ37mz2aWOGJys6m43Ye6ZYsNw44/NEadpJUFd7aclQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=GpNPf/Di; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net 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:To:From:Subject:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=cYFjiRix+ABBSuAwdsHr1pGc9HQUSZQpyc6DPOTWQD0=; t=1709900404; x=1711110004; b=GpNPf/DiOEvamwSbJc2fPDIZOedNo5vJrRnCKL6lAb5xL1X ljrtubhdx2MiO4yULgiWn3esYlKHMFXWrlTtCdd0Oii20faZ8AdTLEBlzlvQes7hdehHsVLrzRsQG WL6dxqF1fF7s0BOVzBAsCdaRxf7xI/xJXQ/YPOt0M/fMy7ICLbPVll5X8f2FBBYqtcbFRB3uII+ob hrLTPdy3a8xtcoySD071Ryy7UWRQwUeBdCpkVfGt7turR4SioRFe27sdfj6J5+G9FXpXu31I8U52P Kbo2Sj8Sw+ZJwBc9dK/LW9mQBogEzCRWiAXMqUAQIgOMmqMe2W/iEUEtAQ6RpP+Q==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1riZCd-00000007ZTx-2u1E; Fri, 08 Mar 2024 13:19:55 +0100 Message-ID: <29f7aa2c233277ab4bb56bcff8e228036ee96a2e.camel@sipsolutions.net> Subject: Re: regression: [PATCH] wifi: mac80211: set station RX-NSS on reconfig From: Johannes Berg To: Andreas Tobler , linux-wireless@vger.kernel.org Date: Fri, 08 Mar 2024 13:19:54 +0100 In-Reply-To: <014a25e4-5609-4e3e-a593-8a2bf1bd5568@onway.ch> References: <014a25e4-5609-4e3e-a593-8a2bf1bd5568@onway.ch> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Fri, 2024-03-08 at 12:58 +0100, Andreas Tobler wrote: > Hello Johannes, all. >=20 > with this commit[0] we encounter a performance regression in one of our= =20 > AP/STA tests. The performance drop is about 100Mbps+ >=20 > Our setup is a hostap (2.10) configured AP on 802.11ac, channel 46.=20 > (40MHz). The client connects via wpa (2.10) and then we produce traffic.= =20 > Before this commit, the throughput was around 250 Mbps, with this commit= =20 > the performance is now down to 135 Mbps. >=20 > The wifi cards we use are WLE600VX from compex, a ath10k based one. The= =20 > kernel we're on is 6.1.80. We've seen it on 6.6 too but didn't investigat= e. >=20 > Now, the ieee80211_sta_set_rx_nss() function has two FIXME comments. One= =20 > in where it handles the ht capability and one in the vht part. Both=20 > FIXME's are: 'consider rx_highest?' >=20 I think you'll find that all that is unrelated, and this fixes it: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git/= commit/?id=3Da8bca3e9371dc5e276af4168be099b2a05554c2a johannes