Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6626330rdb; Tue, 2 Jan 2024 07:58:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IE80C7D9V3Sys+Q9IYU/55zXByJ34rLIEpYqyePDGmejFz5T97I+hH8ory6ixR+2ZwIKF/C X-Received: by 2002:a25:8490:0:b0:dbd:b0a9:b16b with SMTP id v16-20020a258490000000b00dbdb0a9b16bmr7951596ybk.17.1704211126815; Tue, 02 Jan 2024 07:58:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704211126; cv=none; d=google.com; s=arc-20160816; b=ftY4gwI2lLTJb+UxTbsPT41q7ccoyg7lT854jDrhwlJw5Ho63djyc3cNLlbn7rxvWG Z3AH9xx7tStMFJEamSnYgG3iAkF8HEqheHcdl8YrXMZ3nzfVbLG0WS+OzLdBZ4PngbhE UzsU1+qBEHD66gQ2VRJMviq5q+MLn3zQmXvHQYTESxzsFhuLI1tij1kk+S8rpGFOtY5L RqJb4BMEf8PP+ntYdMQGkgYhTIlkRf7CWFY76h9FxBygZj8DXKneWwSBEKt/Z00faw/2 aTzxeS11omoUWIwLMsm9QF1f9I75Mci86aBTkqpKNQ9/UBSZeRJYSArtUNBsoQ4hkA1F yNgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=WH/ybcYMMgYaDUTtkQUjkQiZrqsnIAxhUCtLVk8HJMI=; fh=6u9khkvya3b0jWNr5WZXnBCj1yzRptR/u92Y5QpTmJg=; b=Np6FROTZgQ5x42xwm9bFOq0anyP7xDySa9cAqaNE0WEwV+EWsGkd0fijod+jMuEiv+ G2FsxXGvJZQiCHwUaiSTPkRpbXMVeRf0ch6b6qIaeSmuoup7hyqzwB/EkTHJp6YYUkbU C/KRPgwmBbHvXD60OKkJWLhXnRb756AUo5O/BQF/Oezk0wi4V/uk3CU+Bkv3dTQBg17i LUdOIJ3TZ0ahixB5lKp1YrrCbBqQH/q4fzkkGxgFN0NG2LG2F0x7HTvVwvNNUIonhOcH +k4/2FQJy3UorIYmmvt4lQZ56rM6XgdMQuxs+r+W1RXLQNivrY1c+SAMevXde9t+aZhd hfdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kyx4bSU7; spf=pass (google.com: domain of linux-wireless+bounces-1390-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1390-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f13-20020ac859cd000000b0042832b0d2f5si829265qtf.235.2024.01.02.07.58.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 07:58:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1390-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kyx4bSU7; spf=pass (google.com: domain of linux-wireless+bounces-1390-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1390-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8C5111C21F50 for ; Tue, 2 Jan 2024 15:58:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BBB614A9A; Tue, 2 Jan 2024 15:58:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="kyx4bSU7" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 AD43F14AB1 for ; Tue, 2 Jan 2024 15:58:41 +0000 (UTC) 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 (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 402FdOTm007528; Tue, 2 Jan 2024 15:58:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=WH/ybcYMMgYaDUTtkQUjkQiZrqsnIAxhUCtLVk8HJMI=; b=ky x4bSU7NjTdxij6rbVsApaFrDC/ekK5tD82rvuOsGhRTlLIBoqURFXp8qFpgwKuDm WTWjlHFNDAvOocyPMzik8OqV+U9TY4mVSy8rZwP+X8eGESBv0u3dF5AFEQP9jqWU KVGyOniK2ocyfltBFEvPxD3A8eTpSdeWmMECEI/GJtBLXF3dxfbUBpiK5Tlo3rQd 9OWx1tuwFU/OlqjdmlnZwuRhdL9/2cnC5msZHCocWd/VqsJI2oVo4TObLHbzw19e A113pegEjYM0r+z7vF/a1U8m2hlescQGLiYXI7EytcYmfqilw+1OzC2KmMSKFu+t oWI4CQ3P40BpudxeC4bw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vcets8ssr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Jan 2024 15:58:37 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 402FwalS016101 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 2 Jan 2024 15:58:36 GMT Received: from [10.227.110.203] (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; Tue, 2 Jan 2024 07:58:35 -0800 Message-ID: Date: Tue, 2 Jan 2024 07:58:35 -0800 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 v3] wifi: ath12k: report tx bitrate for iw dev xxx station dump Content-Language: en-US To: Lingbo Kong , CC: References: <20231225080723.9518-1-quic_lingbok@quicinc.com> From: Jeff Johnson In-Reply-To: <20231225080723.9518-1-quic_lingbok@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: n-43zyJmCng6Xd4j4J10q3_vP_QUpyJF X-Proofpoint-GUID: n-43zyJmCng6Xd4j4J10q3_vP_QUpyJF X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 spamscore=0 lowpriorityscore=0 phishscore=0 malwarescore=0 mlxlogscore=670 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401020122 On 12/25/2023 12:07 AM, Lingbo Kong wrote: > The tx bitrate of "iw dev xxx station dump" always show an invalid value > "tx bitrate: 6.0MBit/s". > > To address this issue, parse the tx complete report from firmware and > indicate the tx rate to mac80211. > > After that, "iw dev xxx station dump" show the correct tx bitrate such as: > tx bitrate: 104.0 MBit/s MCS 13 > tx bitrate: 144.4 MBit/s MCS 15 short GI > tx bitrate: 626.9 MBit/s 80MHz HE-MCS 6 HE-NSS 2 HE-GI 0 HE-DCM 0 > tx bitrate: 1921.5 MBit/s 160MHz HE-MCS 9 HE-NSS 2 HE-GI 0 HE-DCM 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