From patchwork Tue Dec 24 16:14:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karthikeyan Periyasamy X-Patchwork-Id: 853461 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 E7B001CDA09 for ; Tue, 24 Dec 2024 16:15: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=1735056904; cv=none; b=lGhQuCTwt08LAPRXl72fAQpv96nVadHAVbuNtCXR3DdtbLe6bzVKbTHRMSRogVl4IUVagfSaBe25EzxRlknS8Qcn3oHze4sJsdJ+RiymCAzq/Hicf6R5q1fztDNUsGrrPkyALMJbEF/GRlN2+Uh4vsA0OynNM6PI0FjpRLzLnO4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735056904; c=relaxed/simple; bh=qPl+4gzEPtjSVHmC+Q5rA7G9aaTmzlYzLueL5nL09gQ=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Oml9zSwxU2w+zm/wksnB8qvI0HhoFfmlqvkqKHZTLJOWqC1yG2z6ECLCDD2G9zyCZk/54cyP2XzzkI97DHgVUfC6SbanQrTBjN7S3kJ4WLScIq2KD5lb/ovN3ysueARfoCQx6kNYKDW2XELcYN0+iNq3PcdqlxM9cmBk54ADX9I= 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=b4D9MyDv; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="b4D9MyDv" 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 4BOC5Ogb009740; Tue, 24 Dec 2024 16:15:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=4s40uuyWUmjl0SkgOoa2Rm U+BOOqZR1cUedv2LsSl1U=; b=b4D9MyDvySl8YUNVbbItPkZU7TsFYpvuubypny MrhmCJaaV4cGFRa5liU3hbMhKG/wR8pYrYDutKnRQAMLERM/fjddKpFYmFTcOZ8l SnE04eblaznHxUK3OC1jzUJ9dbspR5i4G1sK+CkLv0ITjmHAvERkX5U1cyXkgW9v By+eJMqSo2+CG14IeR3nBKRi8sz7U5EYyh6YA3y1ySLaTXLje2nFmjbB4+jjel+a jlMuTWM6LODoYbdaPk2ze2py1cp6kGCFudcOCBDw/LDt5PfHUEYZ/WnmeyX5wG5X utCpGzYUGUYeUkxwXrTUrOr6PCc5jpwTr9gQgCuTS18JWW6w== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43qvnggy9t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Dec 2024 16:15:00 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4BOGEx7b014079 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Dec 2024 16:14:59 GMT Received: from hu-periyasa-blr.qualcomm.com (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; Tue, 24 Dec 2024 08:14:57 -0800 From: Karthikeyan Periyasamy To: CC: , Karthikeyan Periyasamy Subject: [PATCH v2 00/10] wifi: ath12k: Add peer extended Rx statistics debugfs support Date: Tue, 24 Dec 2024 21:44:32 +0530 Message-ID: <20241224161442.263729-1-quic_periyasa@quicinc.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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-GUID: dQQpAqBJZq0dobO1KKaB857zD7bbmGQS X-Proofpoint-ORIG-GUID: dQQpAqBJZq0dobO1KKaB857zD7bbmGQS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 adultscore=0 mlxlogscore=653 priorityscore=1501 mlxscore=0 bulkscore=0 phishscore=0 spamscore=0 clxscore=1015 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412240140 Currently, peer extended Rx statistics are not supported. Peer extended Rx statistics are collected form the TLV data reported in the monitor status Rx path. Therefore, add support for TLV tag parser handling and debugfs to configure and dump the collected information. Additionally, this series does not impact the WCN7850. Depends-On: [PATCH v3 0/3] wifi: ath12k: Refactor monitor Rx handler https://lore.kernel.org/all/20241224143613.164921-1-quic_periyasa@quicinc.com/ [PATCH v2 00/14] wifi: ath12k: Enable monitor ring for updating station dump in QCN9274 https://lore.kernel.org/all/20241223060132.3506372-1-quic_ppranees@quicinc.com/ v2: wifi: ath12k: Add HAL_PHYRX_GENERIC_U_SIG TLV parsing support wifi: ath12k: Add HAL_PHYRX_GENERIC_EHT_SIG TLV parsing support - fixed the length calculation in the EHT radiotap procedure Balamurugan Mahalingam (2): wifi: ath12k: Add EHT MCS support in Extended Rx statistics wifi: ath12k: Refactor the format of peer rate table information Karthikeyan Periyasamy (7): wifi: ath12k: Add HAL_PHYRX_GENERIC_U_SIG TLV parsing support wifi: ath12k: Add HAL_PHYRX_GENERIC_EHT_SIG TLV parsing support wifi: ath12k: Add HAL_RX_PPDU_START_USER_INFO TLV parsing support wifi: ath12k: Add HAL_PHYRX_OTHER_RECEIVE_INFO TLV parsing support wifi: ath12k: Update the peer id in PPDU end user stats TLV wifi: ath12k: Add EHT rate statistics support wifi: ath12k: Add peer extended Rx statistics debugfs support P Praneesh (1): wifi: ath12k: fix the ampdu id fetch in the HAL_RX_MPDU_START TLV drivers/net/wireless/ath/ath12k/Makefile | 2 +- drivers/net/wireless/ath/ath12k/core.h | 10 +- drivers/net/wireless/ath/ath12k/debugfs.c | 93 ++ drivers/net/wireless/ath/ath12k/debugfs.h | 9 + drivers/net/wireless/ath/ath12k/debugfs_sta.c | 336 ++++++ drivers/net/wireless/ath/ath12k/debugfs_sta.h | 24 + drivers/net/wireless/ath/ath12k/dp_mon.c | 1060 ++++++++++++++++- drivers/net/wireless/ath/ath12k/dp_rx.c | 15 + drivers/net/wireless/ath/ath12k/hal_rx.h | 430 ++++++- drivers/net/wireless/ath/ath12k/mac.c | 11 +- drivers/net/wireless/ath/ath12k/mac.h | 4 +- drivers/net/wireless/ath/ath12k/rx_desc.h | 10 +- 12 files changed, 1948 insertions(+), 56 deletions(-) create mode 100644 drivers/net/wireless/ath/ath12k/debugfs_sta.c create mode 100644 drivers/net/wireless/ath/ath12k/debugfs_sta.h base-commit: 09fa3b6974a1245ddd0751747609431494ba5b4f prerequisite-patch-id: 5f5721a4c9f1c26659fd8f09a8eda648d8ecccf5 prerequisite-patch-id: 59cc2121e734e4e1e7e461a3ae24f3f1f9d0fa02 prerequisite-patch-id: fdc512e43ea7cb6c097ba4c0d9c661a74c0c2a6f prerequisite-patch-id: afb04ab90da26435239077de723d1276946a194a prerequisite-patch-id: 1b12bea72973c14f461b8202eed9432f27932876 prerequisite-patch-id: a6719494f46b8568504be8c64255676e67b4deda prerequisite-patch-id: 054756eb1705babff324a743e62685bb78035198 prerequisite-patch-id: 889c4a0174fac23261705a42b46e923d7e7a0a18 prerequisite-patch-id: ea0321fbd8a59c09191873f59b6aea8225f4b8e5 prerequisite-patch-id: 3c8ccb635d319f8755649e445b68feb615fd82c4 prerequisite-patch-id: d516b2a3196218f42fdf4567516a1fd2c8b4c40f prerequisite-patch-id: a2c59b4e468384e27d934a986e5fe9a951685fd9 prerequisite-patch-id: 359fecf93ef53f39243cc1b3466ab06fbd33cc71 prerequisite-patch-id: bf0b6542c65299c0bfa7fef2da6f09dd8453c39f prerequisite-patch-id: 1dc79cafb399be590d1e418afcc5a719ae35834f prerequisite-patch-id: fb1e39f2dce024ff692b0e6b112dc90c6a43ad00 prerequisite-patch-id: 9ea3943ae0b6e6a5a09cb648eaa35f8087967ac3