Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp704687lqp; Thu, 21 Mar 2024 12:58:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUYNXKm44exvBHdnRlNBG/4va7ZOmRJc26yXDpiCeAMvUvqrDVX8nUZL/GZuYsMd6YLFRY6dWC/Rzc5IrYOK/xQivn6oNFPZLtdh4cMyw== X-Google-Smtp-Source: AGHT+IHz6uo2Bd8/c+xpDBVDNHGxnaPKkNtSceGmCJTO5W6qTAW5FjZknlNb/O2MpPACsn4ueS1W X-Received: by 2002:a05:6870:8585:b0:221:8e01:4c6f with SMTP id f5-20020a056870858500b002218e014c6fmr259688oal.36.1711051130320; Thu, 21 Mar 2024 12:58:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711051130; cv=pass; d=google.com; s=arc-20160816; b=YVImoL3SFVAtuCnJalz1BhdMbeEDtPfbCIAT0t95b6WaOgeRT/1rxX8gYph/2wZKTn idVEkCYEoqnbqtnoItagO329BFacWuGWnUspGKMtwIOineKpuKihf6LmKLMVSWRn/W0O CigKVByK4m7h14jQOSB/xKha9fLCwEkcNBNsN5amVRfUO1dvXMDOpqpPwmakccystTJ2 1B5ckRDJoOv4fQC0A4ljJzcCj/MF5fGPUkhgvSrQOBpF71G/kSwP4ik9gWNF8Kafc6DU CPW2R2U2/VbGIT7E1DiOJjOuo4R7Sy/dHJ1LO+Yfbg0Zl8bJW1KBiP1bafgd48CVhXbR rskA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=27Ky3glqmxTXku2vVHIr0BA9XQzJYRv7uZ7n+hO69cI=; fh=6u9khkvya3b0jWNr5WZXnBCj1yzRptR/u92Y5QpTmJg=; b=NvIYtgX4zarCq6rumTG0YFMLRSc6BFehZLCYwqk4BMpiZGhXlP04/GHlF8UyXaW6yg i2DsyrjGde/qIlOp764AK4PRXHOJPkEfIsotYbz0LHRH1VdSXUvOCdLwEKR6JYvYWXe/ /Jh9da0NAmzaNCtJnbDsnUgqdBPjC0CyvtyE23EydxzBn1h7KTnPDG31IRBy4C5+rbMJ V1fFoKfW3bIuRok9Y6jx6jntmX0dgWIcfk/mC2/0YCNLtQP90M/zvl8AJmAYbWd+phBH VLL297OoTvE7d5BY80Ijmzz112BFEy+cMk05coFYDV3Z7o0YQJehUdN8QjDoH5TVAKdx 2VVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=H7ojeDnq; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-5116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5116-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u10-20020a63470a000000b005e42b4bb9dasi415782pga.213.2024.03.21.12.58.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 12:58:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=H7ojeDnq; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-5116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5116-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1913CB21415 for ; Thu, 21 Mar 2024 19:58:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 709EF134CD0; Thu, 21 Mar 2024 19:58:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="H7ojeDnq" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 A7833134434 for ; Thu, 21 Mar 2024 19:58:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711051103; cv=none; b=RR0nwDGlv9YEC6/YIozxTa3s7p9sfHRz7vvUVZEKQPmZ+sc5CJCWTLHr3IH3dJAqSEC/87YHedia3JJ1NWu0tvNDX8gUbNPuYGbiXg/KWyxC53XXrxwYXxYxgJCJg4TUTd+8pxFTy4E3JCtjD/yuq23Azbok+eYNSW4QfImaVO8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711051103; c=relaxed/simple; bh=VFFf/qZW/1fVULHDVPvNfVL857c7gtAK8Kcnh4bnFv0=; h=Message-ID:Date:MIME-Version:Subject:From:To:CC:References: In-Reply-To:Content-Type; b=T8aX5yhaawKIlxx3WLyOleArZ3BKmAYAizemi2TdmHSlL64mCNhqiryucfBYFp2k1jKgolnED2RCwKur2nSwg3EcNCBFPPOyTs0RtH14oNAdKMlegGaAcP+YdcXr+F51HYiBtm6G2q440loKqe1wBHkNPOHmOiIlstnJIawoz8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=H7ojeDnq; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42LGDYQi023831; Thu, 21 Mar 2024 19:58:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:from:to:cc:references :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=27Ky3glqmxTXku2vVHIr0BA9XQzJYRv7uZ7n+hO69cI=; b=H7 ojeDnqulVo4iYNnYkfXUvBZD2AmlVVeuPnKWRWcV7eckcjCUbndLvpKsGHPafwCW q+HhLjsBc5fxoAPt7KYnp7kZRpylk8LaAy793X2R7iFTrkevQ10kg2e2PgoAHbgU +8m1LBREFk6qx3bh6FeheioCc8k+VTiAK7Ab2FvDKRhCwqc/19S61K9qBpKGjJN7 ux5ZzFSJhM3PboTvidlbjeoumXCDr/PCcwIvMFRy/w3AvJ5OCiiOthzDNOY6DQ6A 1APx91Etu6HPzf5dj3J3sKTSwewUI+KtWy+tG4e+rA4Tn9cCuGOd9EOi5c0SH5AK zUzSZjF5r/FW6q0tob1A== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x0r7q8ggn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Mar 2024 19:58:16 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42LJwF1I014506 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Mar 2024 19:58:15 GMT Received: from [10.110.74.135] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 21 Mar 2024 12:58:14 -0700 Message-ID: <5f1d40ba-d1cc-44c6-b7ed-de79af145c20@quicinc.com> Date: Thu, 21 Mar 2024 12:58:13 -0700 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] wifi: ath12k: add display tx and rx bitrate for 11be Content-Language: en-US From: Jeff Johnson To: Lingbo Kong , CC: References: <20240104032202.19472-1-quic_lingbok@quicinc.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 1NtiKi34HXfEVQOemCW9aJQIzTN0fP6J X-Proofpoint-GUID: 1NtiKi34HXfEVQOemCW9aJQIzTN0fP6J X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-21_12,2024-03-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 bulkscore=0 clxscore=1015 mlxlogscore=760 suspectscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403140001 definitions=main-2403210148 On 1/4/2024 8:50 AM, Jeff Johnson wrote: > On 1/3/2024 7:22 PM, 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