Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1250121lqj; Mon, 3 Jun 2024 15:27:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXclisvLXgAUDeS7GkD0w8dZR+w61+SDc83cGdZucDS+sBf2fyrc9tjDMbWFV2d74l7ZbB0Mj/1ZK81y4dmqBxuPoU1Hys6uhGfMqCZGA== X-Google-Smtp-Source: AGHT+IERuKT7wKn09N8hB5BXvot7p/9VM6MSR3OIdmzWrWGerfA2a7MTQcSqcaZD3XQqi+mGZWek X-Received: by 2002:ac8:5709:0:b0:43d:f527:a755 with SMTP id d75a77b69052e-44019970236mr18142371cf.13.1717453645105; Mon, 03 Jun 2024 15:27:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717453645; cv=pass; d=google.com; s=arc-20160816; b=AxYqa3pBwesEZz4Kuj3BzK0rHUaghd2pT/MtFyNr5RoDamE1vA7tljYYVHDG+Bbq1v 1xtIs6wrIJ0K37X+/dFhhjaDi13BXxTwqq03yifnVxG/zdCbJ6jPASOPdEIrV3kUxcK6 xBx8tVzbrmaPpnxylfr2IKt9vPHI011Xo8f6WdwTIRf76VfS3gmjnAqUOh9ixaPV4uJk Zdi7a1voz00+uzD/O6ue6uvTgFwUW1cgsjn2IaOtBBEmR06MxwVoVYnQS8kcTW9H6Lfq vNvcY5Ke57pK7CDSU118xWANGO2PG2ufEVUiPP3GjDYCSqBnhkdFo4aFzrONTtgNRfO1 dALw== ARC-Message-Signature: i=2; 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=57hx5xxbGNwdYJAOiks37N+7/+V3KpL0gHklVMBpCRk=; fh=ahnNA3bdEYEGdZowhCrl2GwpmB5YgwPjxOeWKZ8+8Lw=; b=N26otIszJvhRHUh5INw2YwP6OD7/fijCyJNQ5DwK/hEJmkNVzjkNXkor378VhvjMD9 x8zWYLLeGLU8+Lq1ZyHX+/KCP5BaNaoZ6kNSv4dXXuHisZJBsXGAdZu3uUYxg3TT2WRi yqX5lePByPcL7bCJjKdE2UaoQ9eOgQ8DQneymVvVmmFgFyCITx/j2Ul/Z4YlfXRuFvWg w9FeZCJ9vogVCGBgwGIvIshr0U0UOxM/Fngt0mwqtNyAhK1rWxkC+ZNV/KBjgtlo5PI1 93rxuybpXGOdYsKIpgCFSnPqFjPsKqe18Y1xWpEfksbbUcOe0KgCVUvKicbQJLrg3LC/ CznQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XiwhIORc; 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-8446-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8446-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 d75a77b69052e-43ff259e5b7si16446221cf.674.2024.06.03.15.27.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 15:27:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8446-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=XiwhIORc; 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-8446-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8446-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 AF4181C20B91 for ; Mon, 3 Jun 2024 22:27:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C533113C67C; Mon, 3 Jun 2024 22:27:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="XiwhIORc" 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 54489522E for ; Mon, 3 Jun 2024 22:27:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717453641; cv=none; b=mHkLw1nFJECsE5w8iEEhdZVFBVtfigxD9HOY56IrVzwUezPbI+HOI48Kl6QKyM2gkH0ZSgxmCY2bsXdqocMyEIoo0Y3ym+Vc9KCRVt1UrL+l93wxQLmqJTBwqauQETP9oaaZU5u+fWiVrQhTN4wic3QnluV7TcCIkC8dd7k7Iyk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717453641; c=relaxed/simple; bh=/ernTPRENc26YgcbLUkK27yAsg1lUalHs9Co/Wll80w=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=PZTEXAF8dYddkwuMTiHBafERhn/zkHit+5o3v25jkOa0cdAEkT5PwtmBb8FXpttiU1eX5fvsc2r169GBTOjAa690IyCtVStUJSp0jHnWAGpL0Yn1xGM9IhwtN0N9OcvvN+fQI2OjZwA66zDW1Um3MK/GP4bFeWkZN8NMFpSIoA4= 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=XiwhIORc; arc=none smtp.client-ip=205.220.168.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 (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 453DENNi000456; Mon, 3 Jun 2024 22:27:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 57hx5xxbGNwdYJAOiks37N+7/+V3KpL0gHklVMBpCRk=; b=XiwhIORcSZpiBmSr l/xNTy6jfmJzjeLdvyAAhciPMLJAVr8oDHCNoAij4gxYvkNIhyTjF1neByXVOQ/F mu7L+ZwIOidgMUeqhWMehU9k7PjhMvjlGTvLpVH2DSWZXqrZiJEKdfsUoge1zLv0 CRJS44ANGOq3P0Cw+zEwkcyrJM2l4ElczWh5W/ArGFMdVsR/LjD0EsPEdOqWB60u yZXWJiDQmKrJZTMxgw7Ok2KoynRfnOaB+bg/vk8w63UbLkTCaQOVjre5ZUM0EJcZ 19CRQ5Ng6uoL6oIzDU7eKR6W0iy+suqknH5o9WNRAiazdjBTslvo60FLl3BYxSPH htTTxg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw59mxae-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Jun 2024 22:27:17 +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 453MRFrC006640 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 3 Jun 2024 22:27:15 GMT Received: from [10.48.241.139] (10.49.16.6) 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.1544.9; Mon, 3 Jun 2024 15:27:15 -0700 Message-ID: <0554a6c5-bb82-4295-adaa-80c130dd13d3@quicinc.com> Date: Mon, 3 Jun 2024 15:27:15 -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 v4 5/5] wifi: ath12k: Dump additional Tx PDEV HTT stats Content-Language: en-US To: Ramya Gnanasekar , CC: References: <20240603044214.960261-1-quic_rgnanase@quicinc.com> <20240603044214.960261-6-quic_rgnanase@quicinc.com> From: Jeff Johnson In-Reply-To: <20240603044214.960261-6-quic_rgnanase@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) 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-GUID: 3bmAxzJWgcRKztO4E3bYDqysjIXDzq67 X-Proofpoint-ORIG-GUID: 3bmAxzJWgcRKztO4E3bYDqysjIXDzq67 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-06-03_17,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 suspectscore=0 adultscore=0 clxscore=1015 mlxlogscore=868 bulkscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406030182 On 6/2/2024 9:42 PM, Ramya Gnanasekar wrote: > Support to dump additional Tx PDEV stats through HTT stats debugfs. > Following stats dump are supported: > 1. PDEV control path stat to dump Tx management frame count > 2. Tx PDEV SIFS histogram stats > 3. Tx MU MIMO PPDU stats for 802.11ac, 802.11ax and 802.11be > > Sample Output: > --------------- > echo 1 > /sys/kernel/debug/ath12k/pci-0000\:06\:00.0/mac0/htt_stats_type > cat /sys/kernel/debug/ath12k/pci-0000\:06\:00.0/mac0/htt_stats > HTT_TX_PDEV_STATS_CMN_TLV: > mac_id = 0 > comp_delivered = 0 > self_triggers = 13 > ...... > ...... > HTT_TX_PDEV_STATS_CTRL_PATH_TX_STATS: > fw_tx_mgmt_subtype = 0:1, 1:0, 2:0, 3:0, 4:38, 5:0, 6:0, 7:0, 8:0, 9:0, 10:0, 11:1, 12:0, 13:7, 14:0, 15:0, > > HTT_TX_PDEV_STATS_SIFS_HIST_TLV: > sifs_hist_status = 0:237, 1:185, 2:1, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > > HTT_TX_PDEV_AC_MU_PPDU_DISTRIBUTION_STATS: > ac_mu_mimo_num_seq_posted_nr4 = 0 > ac_mu_mimo_num_ppdu_posted_per_burst_nr4 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > ac_mu_mimo_num_ppdu_completed_per_burst_nr4 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > ac_mu_mimo_num_seq_term_status_nr4 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, > > ac_mu_mimo_num_seq_posted_nr8 = 0 > ac_mu_mimo_num_ppdu_posted_per_burst_nr8 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > ac_mu_mimo_num_ppdu_completed_per_burst_nr8 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > ac_mu_mimo_num_seq_term_status_nr8 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, > > HTT_TX_PDEV_AX_MU_PPDU_DISTRIBUTION_STATS: > ax_mu_mimo_num_seq_posted_nr4 = 0 > ax_mu_mimo_num_ppdu_posted_per_burst_nr4 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > ax_mu_mimo_num_ppdu_completed_per_burst_nr4 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > ax_mu_mimo_num_seq_term_status_nr4 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, > > ax_mu_mimo_num_seq_posted_nr8 = 0 > ax_mu_mimo_num_ppdu_posted_per_burst_nr8 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > ax_mu_mimo_num_ppdu_completed_per_burst_nr8 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > ax_mu_mimo_num_seq_term_status_nr8 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, > > HTT_TX_PDEV_BE_MU_PPDU_DISTRIBUTION_STATS: > be_mu_mimo_num_seq_posted_nr4 = 0 > be_mu_mimo_num_ppdu_posted_per_burst_nr4 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > be_mu_mimo_num_ppdu_completed_per_burst_nr4 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > be_mu_mimo_num_seq_term_status_nr4 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, > > be_mu_mimo_num_seq_posted_nr8 = 0 > be_mu_mimo_num_ppdu_posted_per_burst_nr8 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > be_mu_mimo_num_ppdu_completed_per_burst_nr8 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, > be_mu_mimo_num_seq_term_status_nr8 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > Signed-off-by: Ramya Gnanasekar Acked-by: Jeff Johnson