Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp736238lqj; Sun, 2 Jun 2024 21:09:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXy4NP+dy5jU7pYhpoKX2l1mUK5WJRu1ZJjlCh7/H4P4HYMZOXqqMGACC4/Hz1Rba1ktg63Xf9LA2gH+JHpqevL4+Yb201ZdFt43+Hw4A== X-Google-Smtp-Source: AGHT+IGT+GcBWg/6bjrZNe515n4sDFo+PWgTIt6YNyIFbl6bR9jlsOk+62KtXiihrN9NcSn7I+iV X-Received: by 2002:a05:6a00:234b:b0:6f6:9601:b0b9 with SMTP id d2e1a72fcca58-702477e9f72mr9766717b3a.11.1717387794802; Sun, 02 Jun 2024 21:09:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717387794; cv=pass; d=google.com; s=arc-20160816; b=0cHp18Z/CfU1+la29mLMLDXLxD6AMznig5wxeT3eX3/y01nSw+Q5h92FfKyIitBxON 5TO9rWiV2fQZOpME6K0UGXqHsvEuk8BgnwjjBLUj9XKhWzpRfArNwzutEaX6lC8TUAuM XJT+jj9Mh62kkJdeIqfx275Rw8MpVyJIywCDqOduy5awZ9QNGTy3VGq+7GvJYzFenOjr yw8AehN8mq3QrCfYm/AreGapeJiU/KV/Vsv+Ld1n4KaYOI87r+K9Zx0ow8XdbkY2Nrlf fFfUSdBURiYlaV9IjNisaFhnSBbu/MtBF7I5m+UeA4jqjSU23PiHLb43cimJFQXxIp0f AvNw== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=4hREzmyQrAyx/aNr3ngY3Hr79mdhAFG+MQzcBek4ghY=; fh=iuT7hybwPTwRgORCXDEfziFycsbMl38R7mEpaqq+Y78=; b=QPI9LI9fJ4zIhtvHqew2xABoO+/FxAQzOyEyLqAHmnznrTMYyRPx6Y7aomoXEAeiyD jNJXnvXowzElrwbeLc4Bs+oKb13QRn+Psh6ydmcPm3x0Qpmu21stRN+xdRnWw8uqqTUG Y4kZ2Slhqo5QoxXhg2tpdYG9iULN6qKnCR/jb7RNk0o7w9nWo+Klom9iVRwEF7M+K3ZM fwio75IOhuhk2/tj4ycxYTcO4YOilu6N+5HC6TCzgOLNuckN5ALmTBNUDfn2AX4y9E0m NVvhtYnSiKVXgTHurJUV5sN5Zs8jHl+o3SuawXHhyVMoQLsTFzb+wc9Q85/cp1EyYNVy BhGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eXjfWyT3; 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-8391-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8391-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. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-70242d58ec5si5693332b3a.314.2024.06.02.21.09.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 21:09:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8391-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eXjfWyT3; 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-8391-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8391-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 F006B281884 for ; Mon, 3 Jun 2024 04:09:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E44613207; Mon, 3 Jun 2024 04:09:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="eXjfWyT3" 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 25AAC10962 for ; Mon, 3 Jun 2024 04:09:49 +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=1717387791; cv=none; b=sk3DlxDSI++nryeGSwDNavxzSv0WHnK+mNUH5/hnLvj7bGisdDoNdik8+7gTlyX1ebwSJyByfPblsc8go4r1/+2kV1BO17MgFsJIvxFqY0aNcdAcGloe28hdXdqbAvRaxb7ca3YKO6tenC5LjNZU5gfi6eboZKH1QLJDZBzTsYs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717387791; c=relaxed/simple; bh=Y/GDLEGqy9fs0jmiKSf/Dn0xzZo/49rdRnJK8Z/mzQc=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=B3dsCYV13MTazrEFyChi1mPktKsvAg3HNlk6wfatPxadG2S19O3eXiVUsecJ5sA2emry67TyxoNX/MBCrGlSuKlyMZw8VETRBW322PrwNWPWJXsqJz7/m/kikOc367gjaWnSGokNaVvXooITPiVbC2HDsw+HahSgaC3uH2I4Xo8= 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=eXjfWyT3; 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 (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 452NVKPq022462; Mon, 3 Jun 2024 04:09:45 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= 4hREzmyQrAyx/aNr3ngY3Hr79mdhAFG+MQzcBek4ghY=; b=eXjfWyT3wU3ahI9X mrnZ7+5peOHA3FXoDUT7H7aVhKROcO9M2wsgWXq0C5MQo72aaY+eDy5l4uwChDVq VBJ+kzn3+J/CfCS9JP1TWwvVYD8TJxHpHKzWPRRZDjbHR5DHp2j1TDhwBGi5Kxf1 APYrd7KmhDiLqsUJU1prW2yESMu6r+YHu8JY8OsFH/w5jAcPUGPTdKQQHXeSstSD zQ0Dso09lR6Nq6pQVnbtyUwN4cM9RT4qnnzFaqzPjAlxMdXcChu+skExTbu/tqPp xbYiYbQ628THF7DW7VDzbJIKtorm+0DkaQ9ZdcN1xNyMXr1kcmJGhxZX12kAjdV+ BE4m8A== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw5t2s7f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Jun 2024 04:09:45 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 45349hsO005525 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 3 Jun 2024 04:09:43 GMT Received: from [10.152.203.249] (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; Sun, 2 Jun 2024 21:09:42 -0700 Message-ID: Date: Mon, 3 Jun 2024 09:39:38 +0530 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 0/5] wifi: ath12k: Add support to enable debugfs_htt_stats To: CC: References: <20240531202545.2021028-1-quic_rgnanase@quicinc.com> Content-Language: en-US From: Ramya Gnanasekar In-Reply-To: <20240531202545.2021028-1-quic_rgnanase@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: VBTky8kqIHPJIRdAk4ecErTqgy92O_JK X-Proofpoint-GUID: VBTky8kqIHPJIRdAk4ecErTqgy92O_JK 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-02_15,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 bulkscore=0 spamscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 clxscore=1015 malwarescore=0 phishscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406030032 On 6/1/2024 1:55 AM, Ramya Gnanasekar wrote: > Bring in the basic infrastructure necessary for enabling htt_stats via debugfs. > Patch series bring support to request stats type to firmware, dump the stats > and request to reset the stats from firmware. > > Schema with one ath12k device: > > ath12k > `-- pci-0000:06:00.0 > |-- mac0 > `-- htt_stats > |-- htt_stats_type > |-- htt_stats_reset > > Dinesh Karthikeyan (3): > wifi: ath12k: Add support to enable debugfs_htt_stats > wifi: ath12k: Add htt_stats_dump file ops support > wifi: ath12k: Add support to parse requested stats_type > > Lingbo Kong (1): > wifi: ath12k: Fix Pdev id in HTT stats request for WCN7850 > > Ramya Gnanasekar (1): > wifi: ath12k: Dump additional Tx PDEV HTT stats > > drivers/net/wireless/ath/ath12k/Makefile | 2 +- > drivers/net/wireless/ath/ath12k/core.h | 11 + > drivers/net/wireless/ath/ath12k/debugfs.c | 3 + > .../wireless/ath/ath12k/debugfs_htt_stats.c | 714 ++++++++++++++++++ > .../wireless/ath/ath12k/debugfs_htt_stats.h | 300 ++++++++ > drivers/net/wireless/ath/ath12k/dp_rx.c | 10 +- > drivers/net/wireless/ath/ath12k/dp_rx.h | 4 + > drivers/net/wireless/ath/ath12k/dp_tx.c | 8 +- > drivers/net/wireless/ath/ath12k/mac.c | 61 ++ > drivers/net/wireless/ath/ath12k/mac.h | 3 + > 10 files changed, 1110 insertions(+), 6 deletions(-) > create mode 100644 drivers/net/wireless/ath/ath12k/debugfs_htt_stats.c > create mode 100644 drivers/net/wireless/ath/ath12k/debugfs_htt_stats.h > > > base-commit: 2580be9ee6f5d97d6763b5d4ae4f9c0383fdf130 Please ignore the cover letter. Patches got missed due to mail issues. Will be sending incremental version for the series.