From patchwork Fri Feb 21 16:41:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karthikeyan Periyasamy X-Patchwork-Id: 867459 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 63AD7211473 for ; Fri, 21 Feb 2025 16:41:33 +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=1740156095; cv=none; b=V77+akW08bJ/47FyroPZqPw1QPNFgDWRx/lnwRGh0z9KZXOUCvamxHI7Ba79LhYWBxomZ220wr2yd3c5EaCguOcE+5lW9Fg3pjc6AkNXz7gQfeKwHCpXryamP7G2MuulkjPFUvmtT6Y7FhkZv2mYLdobORhds0ALklZ6aUGRkrs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740156095; c=relaxed/simple; bh=EQz/3Pi0Yi6adcG5cT9i/u3v8CYnTRLvwlazFDRN9JA=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=mbXp6uUhZ/2yhirge3lrtj3ET07H0EFYjlbgpnSwLbWLHAF9FIGVqPbx7e5huDjUK6AcQJ+E/zkSwLElZWKS+OYxUUYHpdXstV71ez/uGIILPxMA+YrCSXFG5S25Yh7g6vLAuMFy7s+LyJtja/B/dFM4CR1OqTbqq5glvNAQStc= 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=T14/P3iX; 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="T14/P3iX" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51L8roZ5011833; Fri, 21 Feb 2025 16:41:30 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=XSx9qjcoAAo/TxEjWO88ol 2fAMeG5ResGc9xqD37VV4=; b=T14/P3iX6IBbpV27vcDRAl8FdLE1x0gl5hLfKs PTrqHANVATmgo6fZMMBqkiAiPg5ibY3QJkEPhO9SrH8whq0VXQ5SlZCTwp7AigOX AFzelUw/28HQFB1rz9xYDs67jFKg8bGjpqaVlsaHb0AqVrmQYkTz6eS+chRaN2U3 67tiGqjb6Dtfg5xrg8zdz6yYEG88mqSObf/wtQ1S5q+wU5suIid0Sbw+snyAXZqu Sue2xTg130Q1oKt096V3XY79llRRPQuXUkiBgO89pmD9Y6tSwhQgDv8obpCTS/SH xf/CPSlEpM+fXTiOe0mgtTSwd5N8xWs03ygXiyc+GXgT5JKw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44x2xbctx5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Feb 2025 16:41:29 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 51LGfTvE021020 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Feb 2025 16:41:29 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; Fri, 21 Feb 2025 08:41:27 -0800 From: Karthikeyan Periyasamy To: CC: , Karthikeyan Periyasamy Subject: [PATCH v6 0/8] wifi: ath12k: Add monitor interface support on QCN9274 Date: Fri, 21 Feb 2025 22:11:02 +0530 Message-ID: <20250221164110.3277222-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: 8zEVe4mj0yYXBRc5C2loQX7CLzQ-D5h_ X-Proofpoint-ORIG-GUID: 8zEVe4mj0yYXBRc5C2loQX7CLzQ-D5h_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-21_05,2025-02-20_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 spamscore=0 mlxlogscore=996 clxscore=1015 priorityscore=1501 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2502100000 definitions=main-2502210118 Currently, monitor interface not supported. Therefore, add the missed TLV tags parsing in the monitor parser, configure the monitor vdev state identifier with HTT filter setup. v6: wifi: ath12k: fix NULL access in assign channel context handler - Added new patch wifi: ath12k: add monitor interface support on QCN9274 - Moved to NO_VIRTUAL_MONITOR mac80211 feature for adapting single wiphy usecase - Removed tags v5: - updated the s-o-b as a last tag v4: - Rebased on ToT wifi: ath12k: Replace band define G with GHZ where appropriate - Dropped the tags due to rebase changes v3: - rebased to ToT v2: wifi: ath12k: add monitor interface support on QCN9274 - remove redundant filter setting in ath12k_mac_monitor_start() - set the default filter when the htt monitor configuration get disable Hari Chandrakanthan (1): wifi: ath12k: fix link valid field initialization in the monitor Rx Karthikeyan Periyasamy (2): wifi: ath12k: Replace band define G with GHZ where appropriate wifi: ath12k: fix NULL access in assign channel context handler P Praneesh (5): wifi: ath12k: Add extra TLV tag parsing support in monitor Rx path wifi: ath12k: Avoid fetch Error bitmap and decap format from Rx TLV wifi: ath12k: change the status update in the monitor Rx wifi: ath12k: Avoid packet offset and FCS length from Rx TLV wifi: ath12k: add monitor interface support on QCN9274 drivers/net/wireless/ath/ath12k/core.c | 5 + drivers/net/wireless/ath/ath12k/core.h | 18 +- drivers/net/wireless/ath/ath12k/debugfs.c | 4 +- drivers/net/wireless/ath/ath12k/dp.h | 2 + drivers/net/wireless/ath/ath12k/dp_mon.c | 362 ++++++++++++++++++---- drivers/net/wireless/ath/ath12k/dp_mon.h | 5 +- drivers/net/wireless/ath/ath12k/dp_rx.c | 6 +- drivers/net/wireless/ath/ath12k/dp_tx.c | 6 + drivers/net/wireless/ath/ath12k/hal_rx.h | 15 +- drivers/net/wireless/ath/ath12k/hw.c | 4 +- drivers/net/wireless/ath/ath12k/mac.c | 109 ++++--- drivers/net/wireless/ath/ath12k/wmi.c | 36 +-- drivers/net/wireless/ath/ath12k/wmi.h | 16 +- 13 files changed, 452 insertions(+), 136 deletions(-) base-commit: 2dba67975394b47249189fcf975352105306962b