From patchwork Thu Oct 17 03:10:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kang Yang X-Patchwork-Id: 836648 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 A1E281F94D for ; Thu, 17 Oct 2024 03:11:36 +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=1729134697; cv=none; b=ivsx8mmYfpym1MAq3pwLHpHcz2h/RC++Djw6anmTiTPwz9GdMpzz6iCLORuPrwKdiC5deBpDsPtE/wyb3dLz8zesRURwecZzqIx9VqEm3GIsGT/eJhEpdhKJN/4lpbCVJFgvBCGduHJz1ixOQ6ojgOhei0hPxDpDp+9ZBwGzI9I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729134697; c=relaxed/simple; bh=PEGwSu85J66nYFBQxoHCePhii8ZtBGPxjvFVccqA2Xs=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=AeiVi3hnlGMo783Iqdc2gZiiU3yw+rtli6Px/SQyy4PKHokQ8lgVLvD4wpLxTXF8fNFYKjxBtZ8CkNWWgXEzzFcB5O5d6jBry/8C8mBLL/7ztnBnEImbg9cvOn+ZARasN4E4rcn/okByEidwCzkVhyNmNww6V76IUhfEFHkQpCY= 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=DW161D3w; 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="DW161D3w" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49H0NBSY010253; Thu, 17 Oct 2024 03:11:31 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=vzyCIs5Nv1G0WuO34FgFid RMSeAUcmca8qRBJ1kl0Ec=; b=DW161D3wufpE1ezhPalbcNHHI75EMHU89DaS6T S79riwydzll+ibWXl9BS5ZZP1kVkfbHsC8FXBXmdZyP6lYhXK1NWVCYSjb8FyvkX aH9o8qMOKYZM1Al+3Jzp5qIUAcObS0yG8oabY2rLhDliioR6euvIa2IMYVOceXSY lmAisD9GHGzZsZfGHz6YFDAJNPrjgQ9t3TM0e3P7/Ab+/DeUYc/+TGdiGVPnrkqf bjrsE9Pov83p9+o9WDMuI3wcK+Sigb+fnh6Qhm2oo9b4I/On6sYli9v0+7BRNWBL SCgsPGrlmpn7QWm39/+NSha6BbV76uRamMPkRoERTtlDxshg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42ar050bnn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Oct 2024 03:11:31 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49H3BMeR025650 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Oct 2024 03:11:22 GMT Received: from kangyang.ap.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 16 Oct 2024 20:11:21 -0700 From: Kang Yang To: CC: , Subject: [PATCH v4 00/11] wifi: ath12k: some fixes and clean up for monitor mode Date: Thu, 17 Oct 2024 11:10:45 +0800 Message-ID: <20241017031056.1714-1-quic_kangyang@quicinc.com> X-Mailer: git-send-email 2.34.1.windows.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: PY61g1YJMs3Qk9vay19nP8ISd5NjANp4 X-Proofpoint-ORIG-GUID: PY61g1YJMs3Qk9vay19nP8ISd5NjANp4 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 phishscore=0 mlxlogscore=846 clxscore=1015 spamscore=0 suspectscore=0 bulkscore=0 adultscore=0 priorityscore=1501 mlxscore=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410170022 This patch set does some fixes and clean up for monitor mode. v4: rebase on tag: ath/main(ath-202410161539). v3: rebase on tag: ath/main(ath-202410111606). v2: rebase on tag: ath-202410072115. Kang Yang (11): wifi: ath12k: remove unused variable monitor_present wifi: ath12k: optimize storage size for struct ath12k wifi: ath12k: fix struct hal_rx_ppdu_end_user_stats wifi: ath12k: fix struct hal_rx_ppdu_start wifi: ath12k: fix struct hal_rx_phyrx_rssi_legacy_info wifi: ath12k: fix struct hal_rx_mpdu_start wifi: ath12k: properly handling the state variables of monitor mode wifi: ath12k: delete NSS and TX power setting for monitor vdev wifi: ath12k: use tail MSDU to get MSDU information wifi: ath12k: fix A-MSDU indication in monitor mode wifi: ath12k: delete mon reap timer drivers/net/wireless/ath/ath12k/core.c | 5 ++ drivers/net/wireless/ath/ath12k/core.h | 23 +++-- drivers/net/wireless/ath/ath12k/dp.c | 25 ------ drivers/net/wireless/ath/ath12k/dp_mon.c | 107 +++++++++++++---------- drivers/net/wireless/ath/ath12k/hal_rx.h | 53 ++++++----- drivers/net/wireless/ath/ath12k/mac.c | 24 +++-- 6 files changed, 115 insertions(+), 122 deletions(-) base-commit: fa934bf3e0a825ee09f035c6580af513187d59a2