Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1249037lqj; Mon, 3 Jun 2024 15:24:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXhrAj1PCRUFHTMtri3j2G69a452LADlKXyxwGT5/q7SJSyB6IWzXBozFeoQPmStAwX6PC62WnJ9U6YekDvme8mutFJ7QpB35OObLUvSQ== X-Google-Smtp-Source: AGHT+IGbkqD/YGTxsgHsSYYJuKiQxlbeSBQgePJQ1qaEm/QQGvKyUrf8lCDkmYtbE7OfK0p7uJN4 X-Received: by 2002:a17:906:12cc:b0:a66:87d7:39a7 with SMTP id a640c23a62f3a-a6821d6480emr651998866b.57.1717453447733; Mon, 03 Jun 2024 15:24:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717453447; cv=pass; d=google.com; s=arc-20160816; b=k/R8y6eyr9726xwVjHVlt7+6LvCUqvICFZuDMG4RG7AxyJCsuYSVqjmGuNXVt486JX ITjXTrObtinWyGKcekTApg85VQZy8MQaX72o58gGuI9XDZKNC4gMBrLATsD4zHwPkKSp pVzPWHqiDDVcGRhnZy4QfVrAIZ6PH6/r/ylZjXsCL7hd1VcvBlOuvUKB5xuzOmHw5kty WtjG2chnEleiU+ltzLQhlyrfc3jKMUh59f61a6ovfhgKvAWOuGbdFavB49a/qyrGxPL1 83VfPH2zhCml/MjOKMdxxGbqPKKdSUo8dCFJEhC+2jXWPL6YcO392dQUHjwvIykFSuGR T+Pg== 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=ZPM9QLgzUNBHvDT7DB2U/IWSymxFhxnH7+0OnsvXMac=; fh=0kK7FlubcPKBVL/h8O18bwCw4+EmmX1KxzldO93frr4=; b=YmudTObP5T+2c8nbRy1ErYElXoVn8MQouEskz4Ywg35fEpWdPnU3JSDOofQUV33nHG rfK9RTfQL3LALb23+GacnmI58bQ/2Uh9C0opm8FXEFtW+NuRwDnDuB3jOC2QVP9ujxC8 SnLDpjh/+MMHek4OUirYzmaiqVOZIE3ZLmUdKv/nl9QUclGzUcrBHL9sjpEH08oon9+o Ohv6Svijp7AkkcvV4zwpE2JrHZWZGi3M2zRjFzrM5TmyIo5hf2JwToxIrk6DRE6MvfGO kGcd8Hk5iRMecGZ5n4WURGneq2HWSOUnV4YBNcpdIQ//FOJoUGD3WtmndCqtPkeLumVZ eTfA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mZ2I31QO; 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-8443-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8443-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a68fa15072esi189310366b.796.2024.06.03.15.24.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 15:24:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8443-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=@quicinc.com header.s=qcppdkim1 header.b=mZ2I31QO; 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-8443-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8443-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 746B11F23D95 for ; Mon, 3 Jun 2024 22:24:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7258D13C67C; Mon, 3 Jun 2024 22:24:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="mZ2I31QO" 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 D2E2B522E for ; Mon, 3 Jun 2024 22:24:02 +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=1717453444; cv=none; b=OVXK7CMj7CXaYE6JFsp+Cd5SsXvoROqKOOg6KgXpqNHaVEAK8pja4RGOPItY80EX0c6i6Hsi4OXVWiOXz9VrHzkNecGolCcCgzR9Y4zhurZXEGfagdrFyqcAtPKt3r7kEK4JqJM9mbKKGXmjx3lOQ1gsGLB5bJGdjIC62zJTvEA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717453444; c=relaxed/simple; bh=+Ip5rSm2pEbg//VT0bjsCp6UwN+ySTMUikBZZoJHYEc=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=mXtnf7JpABw9PNb5KMvOQBo0Ti6TtvKk4HVGomfMsQU8tSAHU9ZeNtj3/NG4kUOkeqPLtrq0BjYyON8PmakxrsmioLEBiB6KF0CCkB/iVYRH5VjhQybdyACVKERLsIqYjGrB5gS85vbikWukl1JKqm5k0pRfXro0l8y1o3x5CqM= 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=mZ2I31QO; 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 (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 453ASvVv027017; Mon, 3 Jun 2024 22:23:59 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= ZPM9QLgzUNBHvDT7DB2U/IWSymxFhxnH7+0OnsvXMac=; b=mZ2I31QO5YlTw+5J XodCKYv94DocTL9a9tSX9dIvv3cxGX1bUktDx/7rL8GBXdzqgWVN9SSJHWaP7Tzw PRpdiC7WO4xdP59WWw+4DReiiylgE9fDXNg9CyvoKcnjCcBt07c09CVwRpv6aRfD OnzPdyX/PeJW1Xb8p51+76LGgjVap9DxYkJ/fZ1HkWKPBlqXk10gAa099mSTv1Ep AUDUrvhBTrf6o7hwpfJdXVRj/4bN2K/dKnjWxm3wlAV15Hw30J9HnitaZYKdyGxC FHYyMT2FZ2RM7paWKVFbNBesf9kb/lCLl81HHP2qOuavrqXV7pUojIoaXyth1jm+ QuFUkA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw6v59tm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Jun 2024 22:23:59 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 453MNwoO019408 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 3 Jun 2024 22:23:58 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:23:57 -0700 Message-ID: <966e9a0f-f2c9-49e7-b674-c71187151431@quicinc.com> Date: Mon, 3 Jun 2024 15:23:57 -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 2/5] wifi: ath12k: Add htt_stats_dump file ops support Content-Language: en-US To: Ramya Gnanasekar , CC: , Dinesh Karthikeyan References: <20240603044214.960261-1-quic_rgnanase@quicinc.com> <20240603044214.960261-3-quic_rgnanase@quicinc.com> From: Jeff Johnson In-Reply-To: <20240603044214.960261-3-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: GeewQdKyExKjBi-DHRO0IqMpjnny1YLR X-Proofpoint-ORIG-GUID: GeewQdKyExKjBi-DHRO0IqMpjnny1YLR 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 phishscore=0 malwarescore=0 impostorscore=0 mlxscore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 clxscore=1015 spamscore=0 priorityscore=1501 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406030181 On 6/2/2024 9:42 PM, Ramya Gnanasekar wrote: > From: Dinesh Karthikeyan > > Add dump_htt_stats file operation to dump the stats value requested > for the requested stats_type. > Stats sent from firmware will be cumulative. Hence add debugfs to reset > the requested stats type. > > Example with one ath12k device: > > ath12k > `-- pci-0000:06:00.0 > |-- mac0 > `-- htt_stats > |-- htt_stats_type > |-- htt_stats_reset > > 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: Dinesh Karthikeyan > Co-developed-by: Ramya Gnanasekar > Signed-off-by: Ramya Gnanasekar Acked-by: Jeff Johnson