Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp725382lqo; Fri, 10 May 2024 12:54:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW8iq+TTzgWa2urnqKVBjHeKtCYzErvEaWIyF6FyO4WMY2hMUY08DyCOrJsr5U7uaeJdPuvF3KA0rdYjAtFnf+h9EteZYN80IiVfFME8g== X-Google-Smtp-Source: AGHT+IFWl1Pk1HMz5nDi5qjtd1TECI1yYR4EoyQZn9JHCeupZRRCo6w4VNDorRaPlxrUU9+oQbO8 X-Received: by 2002:a17:902:f601:b0:1ea:42d1:1421 with SMTP id d9443c01a7336-1ef4404c180mr39356265ad.68.1715370847039; Fri, 10 May 2024 12:54:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715370847; cv=pass; d=google.com; s=arc-20160816; b=opUcdE9N2dhL2/+208l1usrNyPs/ftLGcG1PJjNQb+EtWjbwLgJOBFvEY8GGBM7VEU jc37McFFmmUUx6pVsND6A/V88lisTJPUiZsRoHCcfVOss8yUwcFimayuRKDfaoZhaDF1 VtSgDMeEqSdn7bolGRJvwon9jkcCFv5L0bymo1GLhYoFc8/xIBwRB4K3GwIHmepZzQ/o uN8Wm7sfDIqV1AlQBnvive7yg/bWwGhX3lr/p6DMPhBEqi7NwK2+h8LxdEXSOImsq8mL SgDaShkk/jEtwwzAAzqY+De5qFY6xWJIr/xQNhDk2seh6ObPputU8lopFaTEQl4krI3e Lrxg== 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=1f/Fv5oFO4CImaQsk4gfG5LFKgffIvEOZYDIgyzszxM=; fh=ahnNA3bdEYEGdZowhCrl2GwpmB5YgwPjxOeWKZ8+8Lw=; b=eG50vcI2PoMagWhBWJwlFhIcMtXh1wIOE8SAmxHB7MMEryntAVt3T/jc1RJ/z3gNIR JToGB0ndYTgf0mjtzdGuqsrZ9LPOUB2H5zLDJPIXP+p0whWrroPGTJIKyCY59alDnHv+ eCOF/r/+F8KnJafaw3d/hO7VAf8eZvVx5yQ3SXhaiZ+qBdD7+HpF7I0EmEVmqFCh3IzK XRlJ4u6KhowlPBYRI+evxv4S70pY32VHIQJs59mGaxxB3JxQe5lTEJByH5T2gS6RbgWM ZgK9h1DLHA35jZhsMNRILBE/jB1iHKI4RcL4DZ6Jduy/cm0WBkPUprl3+1ru+jP+/8kr 31Vg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=M5LdHVld; 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-7494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7494-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c03b287si45362095ad.418.2024.05.10.12.54.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 12:54:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=M5LdHVld; 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-7494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7494-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A7EAA28181B for ; Fri, 10 May 2024 19:54:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F19A3E48C; Fri, 10 May 2024 19:54:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="M5LdHVld" 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 15D3610965 for ; Fri, 10 May 2024 19:54:03 +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=1715370845; cv=none; b=rWX/deeT3M+SMutfgyM7TMw7X6cf3LowTKY/UsNxOkq8D0g0AqBrrpsW2uFGcw5aji8wX/zudmvXtNn8xG7o1otnQS2p7q8LEjI42OM5kZuMJQr+gNTukwIbds7+yxqaVH390mH/vBIuz3bxCD6fLvXHPdtyjra4CUEplNttN5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715370845; c=relaxed/simple; bh=FIrcC8oHfJ9JT6E5d1y9xkOThmVH+1QKdQwwWIIhrNU=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=pM+n7Ie34F0j+IN+97v7WQqBOr/MR9i4UYVSSJowAR9P3xFib2JmbkQjqT5ghPd3DxrJJLaLYBObxBk+PX2D6KaoGSHv/r6sxER1j1FGGiFdbLGmiXUNJrRg/nqEQX2SLqZiA/fKORHFvaSGHaYTBHqX1pN0FlvErjEQe84H130= 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=M5LdHVld; 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 (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44AEEWCh028446; Fri, 10 May 2024 19:54:01 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=1f/Fv5oFO4CImaQsk4gfG5LFKgffIvEOZYDIgyzszxM=; b=M5 LdHVldlngvE78m0fNBnIcf3zAV8D3IDhBwjtZb+OQW3BoAtLgRnOWNX5E6EvRPY9 c5KUMVmkQ5nTBuHzm2rSAYRv8y1fn50HJXvNELwvFbsUSsa3yTBRJaacwVhtB0jX G3XD/SfQ10iuzDsh+QxrDn4zBYZDr33H8pnVTEE+HPb4TQZAL5/krc1fTxaGY/pw 7iX7MLi0sbIu+NpeCHLPVPZJt4svaFA4zET5Xabzwtm5wHhfcbiopS9WL9xqSX1+ 8ehyN6s5P8/hd3QyeNOPQIkreT1Kdi0cejRFxG9ElzgV1qM1StxL1JU/fMQWCaT9 0Slbwau+DFJo5KIKT0pg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3y16w0teuw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 May 2024 19:54:01 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44AJs0gi004275 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 May 2024 19:54:00 GMT Received: from [10.110.100.57] (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.1544.9; Fri, 10 May 2024 12:54:00 -0700 Message-ID: <082b43c0-8ae0-4b9d-89fe-c2b341878e24@quicinc.com> Date: Fri, 10 May 2024 12:54:00 -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 v2 5/5] wifi: ath12k: Dump additional Tx PDEV HTT stats Content-Language: en-US To: Ramya Gnanasekar , CC: References: <20240510050806.514126-1-quic_rgnanase@quicinc.com> <20240510050806.514126-6-quic_rgnanase@quicinc.com> From: Jeff Johnson In-Reply-To: <20240510050806.514126-6-quic_rgnanase@quicinc.com> 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-GUID: rPfT8jDm6sbL5g7yRrq27DhKWU_ZWDhp X-Proofpoint-ORIG-GUID: rPfT8jDm6sbL5g7yRrq27DhKWU_ZWDhp X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-10_14,2024-05-10_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 mlxlogscore=870 clxscore=1015 suspectscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 bulkscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405010000 definitions=main-2405100142 On 5/9/2024 10:08 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_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, > > 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, > > 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