Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp70131rdf; Mon, 20 Nov 2023 16:43:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNHrJLxGTb8ky7G0d7z6uLwa1G/kRWuoqQ+btWLwng6Zx0/naMJa0Y1EtOCvv4wYGFseIa X-Received: by 2002:a62:58c5:0:b0:6c3:703a:c394 with SMTP id m188-20020a6258c5000000b006c3703ac394mr6349550pfb.27.1700527421284; Mon, 20 Nov 2023 16:43:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700527421; cv=none; d=google.com; s=arc-20160816; b=mjAFSD9Z6BiA7laczU7uP41okhthdTTy8cScZWKK6wRux+PI1bW7dU8AdwnSCqHRfe f48xmiDTic7sBB1JTyYTCHD+Au1kqRtljoTnlpg5cwah/dAkXgUbzmJaZxrXxsfnaeFD sQ9GQwGNKJhyT3ic8IWbqhU1xzQzWvMvq6D0zfrmrjZFZ9l/7IDX+1wH6hTRNCK+pyW7 EuDToxqwxft0zcG19CklrtFBMtrFqSIpHSdzMf8cDCI0ydpKiMdn2vC7iRg4HXZ4Py7P 7RXGcrtlpn1ROSUcWA1Ln0Xo92BOiR/k8089sDqMUO0MZ5ABSJpGPcsRIxWWGkAr7osn SPaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=yAOBm449Tl1kAubAwTsoXCsiWK1Ge7McedU2Qp8DQc4=; fh=H1n+MC6g7LKUTwELnEK0g4ZhJk1fR9LyVP/4n5c0PMs=; b=lZIeG40E9H74Sr8ImoDcI92wtlQb69EKf+bvOQl0xhLP8JtyNqOdMI43sR2r+rstPH H4/Vvyy/u1V/pTI9zBvdnS8Xo5q+rrUR26HBf9nplYY+b1sWSrMvvn4Ke4Qa0HZyG7fC EF1p7fCiZaNrfriPMYHVw8rU32ffVFHNawroifFpwxh9xkVRiEZralt/vHhrStTPL5Ok 1OUDfES9DnKBspoyveJXj0TktYNGwoHwmP6LOKezyZBvGnc/FLWGhabtWC1DAu1V6WIE /4qNiieRAO48AnBf2I8DYL2eNcgMbshhcDBrmaS2SX3My2zJ3EFjxWhLJcLU1vbHBWqB 0jew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RlACDlzp; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id j1-20020a056a00174100b006cb68ae3b58si5582569pfc.182.2023.11.20.16.43.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 16:43:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RlACDlzp; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 6F8678067E27; Mon, 20 Nov 2023 16:43:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230100AbjKUAni (ORCPT + 54 others); Mon, 20 Nov 2023 19:43:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjKUAnh (ORCPT ); Mon, 20 Nov 2023 19:43:37 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABC3491 for ; Mon, 20 Nov 2023 16:43:34 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AL0FqWt024759; Tue, 21 Nov 2023 00:43:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=yAOBm449Tl1kAubAwTsoXCsiWK1Ge7McedU2Qp8DQc4=; b=RlACDlzp22A0xYGEuNoXBUBZntDqo5oqZN5VAK1iM5ILT4WkLUgP7tIJspow7y21S50D 3vg8eZVbcrycdsq3F7kbznly5m32atDcyDXtfEtbijIF/QLvtd53CziiQYvpIBPL8cC7 MBNrzIy1xx71MGf42N/o8QrUpw8JWw/BAo7DzGK+9ohlBzf+I5QqiXc6pBVo/xXvWdHW xCvOhpegqEtYVX2MvBbZKECYFo78rMZ6sWXZwfXPr56A68b747wyFHYcDtj9GxepbBcn fq5tqPh5h+CB86tOlMw8wM3ihtLf8YKVtvlsoUTuzwltXfvQeKN0+XSJFmpeAG7t3tQ3 vw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ug30mj6h7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 00:43:30 +0000 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 3AL0hUuA030361 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 00:43:30 GMT Received: from [10.110.116.223] (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.1118.40; Mon, 20 Nov 2023 16:43:29 -0800 Message-ID: <0ef439a7-dda3-43cd-9f5c-22be430bfe80@quicinc.com> Date: Mon, 20 Nov 2023 16:43:29 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] wifi: ath12k: avoid repeated hw access from ar Content-Language: en-US To: Karthikeyan Periyasamy , CC: References: <20231120235812.2602198-1-quic_periyasa@quicinc.com> <20231120235812.2602198-3-quic_periyasa@quicinc.com> From: Jeff Johnson In-Reply-To: <20231120235812.2602198-3-quic_periyasa@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] 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: jIBO5DQbMEi8y7JWgGdgfv1qc5RzwPax X-Proofpoint-ORIG-GUID: jIBO5DQbMEi8y7JWgGdgfv1qc5RzwPax X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-20_22,2023-11-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 clxscore=1015 mlxlogscore=522 priorityscore=1501 lowpriorityscore=0 spamscore=0 phishscore=0 adultscore=0 bulkscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311210001 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 20 Nov 2023 16:43:37 -0800 (PST) On 11/20/2023 3:58 PM, Karthikeyan Periyasamy wrote: > Currently, the helper functions are accessing mac80211 hw data from the > radio (ar) structure repeatedly. So optimize these helper functions by > storing mac80211 hw data locally and accessing it directly. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy Acked-by: Jeff Johnson