Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1146673lql; Tue, 12 Mar 2024 08:31:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVw2h+3HNgDjVDQ59SOZZ4Xnxl1rYHoXm6qp1LrPbTV35962b0gd7rme+49lqnC+/kPx1tUF/CqV98tx0v+dJTIc+h6zHQchJe9nETEqA== X-Google-Smtp-Source: AGHT+IG+A2xSeNFte57iAd+ql9xerqOGKk43hjHUpEpPyUeH+OrsTkRV0u4N/YdY7hBmAZ4YGEkN X-Received: by 2002:a50:c35d:0:b0:566:95e3:1759 with SMTP id q29-20020a50c35d000000b0056695e31759mr7015410edb.26.1710257469632; Tue, 12 Mar 2024 08:31:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710257469; cv=pass; d=google.com; s=arc-20160816; b=TXoThapDvUP6FEXhW0Sn2p0t6dlrpA7UWRYBiCGHMphp9otOuGMae0pJATkPr0SntT 66bYdayGQxjr+gs3qSNw0OrD1cic6iiahe9tgwPo8qxYvArm5dUkN7tOQWBAhPROp50P 1qNapHEaHZsNBOIK4qEUVjNxDPi1i9RTKK9f7L5ATXPfR4UNA8wQacqiJ/vBVUqk0zjd nZhEacFnfFyyvQNXAnUjyDuJsRvJVNrYNicnKb5OjwzcNgky2QSATpyUJh9x6gkXqAMh C4BNcUX3eNjS8HyO7W7wWeDM6JaVahzYY5mqP4mkhgHePezOAFX6zEmvPl+Yb6eVPl1I mCnQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=eXcI0iiZflyFF5Jl2wrF0BjXfBr9r65eWEldWU/EQrE=; fh=IIh0vK3qraFfoIaPs/Dzaned5D1vEkDSauyZQBTe+L0=; b=OJqlrWNk3hNv1qB0KcTZJANZ/SSKMLez6fBBG0GYl+zQShAq9+ddHFT7qtiOJ1/0Wi 5AvyKuFYU6MKr695ZO78efvMi/rNQt9n4JOxPqhYst5DW7OMkxmXlabl4ozo9OQOk32H hBnA8xCyHPcOPpPVa5YqO/8+pXBVonSly8CxRlqtKdOJ8aOP9qsUEiaHHlXu/hogRMT5 Eq8gfTRiYNofV1j12WjDEEQ9SyTJWMs4RRt1aP81H/f/pejjMoqtWUX49l9FPFiMJKap HAgWkQ6m2SZYZ2iW0YW01QAbECWtIYqlywIZQigc2bO7wdZbJmkdkQiVtO+t27nxAGDu PIXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hOqWUo2y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4624-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4624-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c62-20020a509fc4000000b005682f8bce2csi3550066edf.180.2024.03.12.08.31.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 08:31:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4624-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=@kernel.org header.s=k20201202 header.b=hOqWUo2y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4624-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4624-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 57DB31F263D0 for ; Tue, 12 Mar 2024 15:31:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4AF7E7CF1C; Tue, 12 Mar 2024 15:30:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hOqWUo2y" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 274937CF1B for ; Tue, 12 Mar 2024 15:30:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710257453; cv=none; b=jRMW/XFDEyRX0R7BooWkQour8qVXw2TtyQ5semTpuiMoXqY+KVJ4dWn9rM7aCtZIQQRYLEhjvlmeh0Q4oP5qwTqh8MJ5hWgtaWOW1hptGwaw7q+cFrxsCQLTqP9rLhkCafTdTv1ST5gKUAhsIq4YoCtW23SPv+piAnZxhSOdJho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710257453; c=relaxed/simple; bh=nRSC2gkXHJOCemrZbjTt5TRJeq4n/KlLM43RJcua2V4=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=iG0DeIJh6SdQxNKB6P+e7KeCYdBOPXWLDzfHqMwuFpqA132elwjOgTsfXdl39Cr0EXEhfxnJvpJYe1bfoYmv3hAvxG+/sSiFqUdByFs8iddvZSQJ8iA0aa00BniXtjbE7Q7zs1bnGNA/lT/zX08HVad+25wUnEIswDb3Z4WXD4c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hOqWUo2y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 470D1C433F1; Tue, 12 Mar 2024 15:30:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710257453; bh=nRSC2gkXHJOCemrZbjTt5TRJeq4n/KlLM43RJcua2V4=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=hOqWUo2y0f1gDfIqxZMRDg2ASKWNu5hCfXYvkxQh+R7YD4ZbcbuETzob2cTriTzJh nOyKXHjz3uDteG8YEamVNzWeRwaBjlqtlsmgkJlDsjVacZA9pcrY1vud5sDXmCEE/+ IVtnbxR1/ca1E2hNrIi0YaHuf3kjY7MBf1gTYCVMLNVhnGXoMc+75+zYDSNwBFQ0d2 pEYs8ljB8xywpQNypAUPi9XMKNd+mXca7U6IgQTCt34MBNzPwSMutE7dmVytzud9Y4 kHLIxvJ5j803dNciE0H6Byq5A977yW3UGs2wau4rVmNAh0gj75tb1YwskQ5ELLMR5u 61iNFWNUNsE5A== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: rtw89: Correct EHT TX rate on 20MHz connection From: Kalle Valo In-Reply-To: <20240305004502.6655-1-pkshih@realtek.com> References: <20240305004502.6655-1-pkshih@realtek.com> To: Ping-Ke Shih Cc: , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <171025745011.1969294.610440397124136261.kvalo@kernel.org> Date: Tue, 12 Mar 2024 15:30:52 +0000 (UTC) Ping-Ke Shih wrote: > From: Dian-Syuan Yang > > We used EHT capability of 20MHz-only as rate mask to RA (rate adaptive) > H2C command when connecting with AP set EHT 20MHz. It would get the > wrong rate mask and the MCS rate can only reach MCS11. > > According to the description of 802.11be spec, if all supported channel > bandwidth field of HE PHY capabilities are zero, then the EHT capability > of 20MHz-only is valid. As a result, we adjust the code to set correct > rate mask based on HE PHY bandwidth capability. > > Signed-off-by: Dian-Syuan Yang > Signed-off-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. f1dfcee2eae9 wifi: rtw89: Correct EHT TX rate on 20MHz connection -- https://patchwork.kernel.org/project/linux-wireless/patch/20240305004502.6655-1-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches