Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1967625lqe; Tue, 9 Apr 2024 06:12:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXD6aj8oTVnqjULIYk9PWNcnweMSkSdYXwUaO+5SnojnWOqyAiOkkw63ArG+BRMH3ssQ7hubtWdg10gHjex65Of1V7W2TP2lLeITZ2XDg== X-Google-Smtp-Source: AGHT+IEDgkx17kZXtRU4cdSN8vrzou5bdKNwZPeSwOhKQTu+f7cPu4zjUg5bbVYJKVFYni+nVx1l X-Received: by 2002:a05:6512:4015:b0:513:4b90:ae9a with SMTP id br21-20020a056512401500b005134b90ae9amr8301064lfb.67.1712668322852; Tue, 09 Apr 2024 06:12:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712668322; cv=pass; d=google.com; s=arc-20160816; b=0cc2Y2QETCHb3vEiKLVtMW3f1I+FcM6+UYr/BOLyIyYnRCReCifZRDVVFTQs7NWvP7 DlgNo0vVj+FtqMDBDYIf1tdu8pd/oZLsa0vMsW2nLuhQPVKSRrAJEfAEQeIAWf0cQQya tB2DJRqI7IbT+E3JNORWSpBkQwlg4PNJ+jksGBE+p14TJzYHWv+raNSBKURrC1mfkHh4 8DRGUNvV1eG549irKf7X2xObKUnd+kISm87L2SJSDWvl4kezxFgkSBc4AnWCxV5vSXQB /lpD+NZ6mrV7nSvZAsA93q2CPHUwzh9dE+zVCMVCMcOsE22WH89xceLLbNQDpv2/qtpP B5DA== 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=D05jVT04ubtfeqLgxycRb++touGA4MvlypFtOarNi9M=; fh=KJluyo8GkdQ0PKVYci8ap2SDXDaX7tsW4mnPNVybQI0=; b=foj1nacUP267MHsNfA/i1N3rnrj1W85kSP3J47iAuSwoGFOShSkSQaGTAhIL/F8dHl sVj89msLkmlbj3LY2auoGEg4+q0fyMZmRM5OjLsCbyp7IP7pAGU22S1gY4GExq3YwfWm huab1DdVqcXUnwk4gqp1aNJGhZC7eh2FmDw+GtNAt/z8mYJT5ZGOtBrDAGYzLAA4xxtN qP0fQKf0gdfuq4YPtpMXUmdGiR/E7g8CsNrELL4LbPCb0Y/aLVrO3R8cYdrxN0IGM35F Np8UOjFZp6TLRXCfR2u92pmSQfuovq1mQjsAnfMc9//8kUDNNJyvPVxf3B48dVTyMqzz C87w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FiLRhJhb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6022-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h19-20020a1709063b5300b00a4e7c30929fsi4699389ejf.326.2024.04.09.06.12.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 06:12:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FiLRhJhb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6022-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 9126C1F2107F for ; Tue, 9 Apr 2024 13:12:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B8BA129E6B; Tue, 9 Apr 2024 13:11:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FiLRhJhb" 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 1821B7F7CF for ; Tue, 9 Apr 2024 13:11:57 +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=1712668318; cv=none; b=VsIABh9TpIgSX/rNwCbQBwK8oueCzjUgkqkRxHxMRhvLk/cV2uTKLYvNwULIp8HB0CWMlX9/pb9RsOwuiVNqfEvnOIpbqXwhapEf6QFDta6Jmw6bWvuO4I9ipgA+++5ZvjJq+qtlNh+2XrGmlhbJ5Z7FfoC/eKI4WQYbX6BdcjU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712668318; c=relaxed/simple; bh=yNWKLlKli6iMQOIcwUEwFPXvgyeGHeWbC8FzjyW/3LU=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=ZoWmozaAcobFDPUWw+k2qAE3aqv4pGLkwUAgwB4oJQ0kLkZkt16eFH+x87jBWVxtFQUunmM5PPptrOowK46iGCxw7n90JDW3Rcbxw3qWypGyaLKFSoeqeI65k8HMk8ASFBr9gGqEyjYA8MLa7Ct/HBcJCODbDjaSssOh03MSmVE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FiLRhJhb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECC47C433F1; Tue, 9 Apr 2024 13:11:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712668317; bh=yNWKLlKli6iMQOIcwUEwFPXvgyeGHeWbC8FzjyW/3LU=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=FiLRhJhbFIFEcuDboqD5uLTzyZZvJksybkUP8jsSVs6shIeTbnSGlcVC8arESbl/o gvMbB/yNs6laNrKeovF0szUXq38kuYhkxTY+bSnZ/4fzCpzAzszWKdWozUUtmwgZOO EViqFlBWIB1AaCdSr+2WAkbgpuTSzXpFMvJz3coWoU6JJcA6e9TCt7ZQbEmqYl+c5z qutGF7hLj9jiFTgx/UoLlghOXGJD05QPBWuOUiZWjrhDnd2jaIQDQKEkPa8jqNMVCI EX/kuYGWexsjfbeRYLYosomCZEgryjbPnwXhpveUbguF5HXlcxfkmG+ETtOFd6K6dg JUMpw5O+WkElg== 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: ath12k: add display tx and rx bitrate for 11be From: Kalle Valo In-Reply-To: <20240104032202.19472-1-quic_lingbok@quicinc.com> References: <20240104032202.19472-1-quic_lingbok@quicinc.com> To: Lingbo Kong Cc: , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <171266831537.3271006.6908994091119638561.kvalo@kernel.org> Date: Tue, 9 Apr 2024 13:11:56 +0000 (UTC) Lingbo Kong wrote: > When AP is in 11be state, STA's tx/rx bitrate display error value using iw > dev wlan command. > > In ath12k_dp_tx_update_txcompl() function, not handle the case when > pkt_type is equal to HAL_TX_RATE_STATS_PKT_TYPE_11BE, so add a else if > statement to handle this situation. > > In ath12k_dp_rx_h_rate function, not handle the case when pkt_type is equal > to RX_MSDU_START_PKT_TYPE_11BE, so add a case statement to handle this > situation. > > After that, "iw dev xxx station dump" show the correct tx bitrate such as: > tx bitrate: 1441.1 MBit/s 80MHz EHT-MCS 13 EHT-NSS 2 EHT-GI 0 > rx bitrate: 1441.1 MBit/s 80MHz EHT-MCS 9 EHT-NSS 3 EHT-GI 0 > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > > Signed-off-by: Lingbo Kong > Acked-by: Jeff Johnson > Tested-by: Owen Mesh Lingbo asked me to drop this patch. Patch set to Superseded. -- https://patchwork.kernel.org/project/linux-wireless/patch/20240104032202.19472-1-quic_lingbok@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches