Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1191526lqa; Mon, 29 Apr 2024 00:21:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVhqsPb4/Per9ZUK6onOIEHFOI39Ut0PejjIAGMk3OLymM0NVxu4ZJs9DCxnB7Blwgf1Ezu3hcCgMMQmXO3wTOtUj293g54rJrJMrSlEQ== X-Google-Smtp-Source: AGHT+IH3/eEyf38BhG+S/F40gzbHMgyqOkm6fHSpEWg/3SWhzQGilqoUGNOaWSoYxAUnw2VGmSj4 X-Received: by 2002:ac8:7c4b:0:b0:43a:8248:26f with SMTP id o11-20020ac87c4b000000b0043a8248026fmr10493221qtv.27.1714375280145; Mon, 29 Apr 2024 00:21:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714375280; cv=pass; d=google.com; s=arc-20160816; b=zOCjApxnunSVF20pO/oPk3rKBEkb/fD5eOO0Ng0INMof+A3MH/6ybRIXmnXs+TnqhF kvAoFGXkcpKONRwbgbbKNZhJgRtU97k0Dwcef3wSmXBMJZFsE7EovmA6Nm1KHKFrVniy C6xTBWxiBTlj/+8HB7chF/2PwDN8wdj6J2TBF0u7hn42rpQXtof8pTr4jp6SO/XmeikW +njy7XcDGFKyw99fUCrQgZ9dwOm6yAZO3Am7EFYF1xV1DfF9N5/YK7ZvAzZAvw+JUFid hZ3gJXaIOsKQXIj8Qqa8HFJOr5rSTJeVevGoKVWnq+lVxW4wMZZQjTqSxp6/4j174/cX eHfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=jQPdjud9patTgXI8gE16zhbDBone3Y9dB2K7l4OATiU=; fh=B/BVsH0uMnPPzXCP+L8WXJkzl9zKARwPb71thbch1Ho=; b=PAh3uzcQ5EDxExi/jIcAM6fjimCWoSsydxroVmEITEOneqjDOMZpE2Pp3rSDh5X1Ap Wi2nM5xzF5FMuaVfoL7pY9x36EKU3em38yZQiFqEoFA9CDyyLq4E19W9ZItZlek909sM o+MBdo14IEzFnwj09Is/HFT6dwCY1IRk2kb2wcUFNfQfv9eFp1rHkxV45cKh0fPFTGFw eknAhrRRC5Pj6Lf8QEi7eOUBtTFoehslpyLejE/33TGj/aB+OBaPMcwOabxM+4p0HcvB zymeiFpE4UtkoQsnOkMvXnnbYgcq7HWqVHCoEnVK/HkszGi4IJQoiE7s/wMAyrQV5Mlh Tt6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Z3yxRWLs; 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-6964-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c2-20020a05622a024200b0043ae6d1c6c8si1944062qtx.395.2024.04.29.00.21.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 00:21:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6964-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Z3yxRWLs; 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-6964-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6964-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 96C6C1C211F1 for ; Mon, 29 Apr 2024 07:21:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3425E13ADC; Mon, 29 Apr 2024 07:21:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Z3yxRWLs" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 5FB9B14A8C for ; Mon, 29 Apr 2024 07:21:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714375272; cv=none; b=EjgXEH/0lufzH1DXDhkmNUGgFR8IReQOAbOA4xmXeEibfpe9Od6vzRG3akqc6NdZVccZBEfB46h9hxnJC1HstX0k+DhEWmd2KRody83BXZ13Ix/r560y81ByEDq285NDjJGkN1DA8MPF7+ztiMNLAfcAiolQA+NvRFx7m6Ah7ns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714375272; c=relaxed/simple; bh=KszD7eEXN5W0Os8M2MycK1kXSozWB2E6ov9RRXjzVjU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=btIpydGqhn2hVvuJxibtAh7Ff11yi12iMTYLUfQUfzVpkoMDElEQstPy24OYCV5S7EOoxic7sJkL+PegY+D+/F84pEP+v1SnGdFEfqoDaP5lRMYWz4HZtEUR3BefCarlZ/NXu0xUMtCnJkgNcwnwebg2iR/+Xibu3G6jNeSIMmg= 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=Z3yxRWLs; arc=none smtp.client-ip=205.220.180.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 (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43T5g6vl001538; Mon, 29 Apr 2024 07:21:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=jQPdjud9patTgXI8gE16zhbDBone3Y9dB2K7l4OATiU=; b=Z3 yxRWLse5sqztRs0l50L52Fo4arZFMPfTtmDjzO6xpwgdYgUtDuI4HhqP4JB7yr3U atzYH9OhUjsO3ZTu+kRdTNFrdieBoUYd4n1fBseJAZavSwVFaMRV4WrYUEFkhYUu hpsniYnxZE6czc9R1jHvajrg1j9vkn5mAfp/3aHGgmJq/DmcTnTD0eoRBYUQdXFz QVcHLmDXrEfyaIhOXxSSYBlNVJf+6E3HrgEqjz84QUmZgWiHY6QVPHIepxb2TliN thMd5aYxMUrra+7jyd97HxBg7fx9j+ETAV75KExpeYTQ8xPxTZHITI9KVvZjvS9n +bkUNyaijfUynKJaqdcw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xrrcck32e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Apr 2024 07:21:05 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43T7L4lF009384 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Apr 2024 07:21:04 GMT Received: from hu-tamizhr-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; Mon, 29 Apr 2024 00:21:03 -0700 From: Tamizh Chelvam Raja To: CC: , Tamizh Chelvam Raja Subject: [PATCHv3 1/3] wifi: ath12k: fix calling correct function for rx monitor mode Date: Mon, 29 Apr 2024 12:50:37 +0530 Message-ID: <20240429072039.711706-2-quic_tamizhr@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240429072039.711706-1-quic_tamizhr@quicinc.com> References: <20240429072039.711706-1-quic_tamizhr@quicinc.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: 6skTxESX3aAxnVgoK506_aDu5z78IYVe X-Proofpoint-GUID: 6skTxESX3aAxnVgoK506_aDu5z78IYVe X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-29_04,2024-04-26_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 adultscore=0 suspectscore=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=999 clxscore=1015 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404290046 Currently in ath12k_dp_tx_htt_monitor_mode_ring_config() ath12k_dp_tx_htt_tx_monitor_mode_ring_config() function wrongly called twice. Fix that by calling ath12k_dp_tx_htt_rx_monitor_mode_ring_config(). Currently monitor mode is disabled in driver so the change is compile tested and boot sequence verified. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 Signed-off-by: Tamizh Chelvam Raja --- drivers/net/wireless/ath/ath12k/dp_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath12k/dp_tx.c b/drivers/net/wireless/ath/ath12k/dp_tx.c index 9b6d7d72f57c..d002de0fd5a1 100644 --- a/drivers/net/wireless/ath/ath12k/dp_tx.c +++ b/drivers/net/wireless/ath/ath12k/dp_tx.c @@ -1050,7 +1050,7 @@ int ath12k_dp_tx_htt_monitor_mode_ring_config(struct ath12k *ar, bool reset) return ret; } - ret = ath12k_dp_tx_htt_tx_monitor_mode_ring_config(ar, reset); + ret = ath12k_dp_tx_htt_rx_monitor_mode_ring_config(ar, reset); if (ret) { ath12k_err(ab, "failed to setup rx monitor filter %d\n", ret); return ret; -- 2.34.1