Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp50078rdf; Mon, 20 Nov 2023 15:58:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IEujoUmF35tgkrIRCy9RiqWBNNzHlwsMXiGVuQjuNX0dU2WGKm6Y227r9nSNuogfQHIcY6Z X-Received: by 2002:a05:6359:5b0c:b0:16d:e922:f859 with SMTP id oe12-20020a0563595b0c00b0016de922f859mr1167357rwb.30.1700524738690; Mon, 20 Nov 2023 15:58:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700524738; cv=none; d=google.com; s=arc-20160816; b=d3pCjG6g/BxOHnySORJmcUOWOI1Yryxqsza2MLWtZ5gnmIo344ZHwdqLqjHXzgBiEA 0Z308Yr52BCB0cQwuLUG3UEH6fwUVPNsznGyybRgtjp/+757mZE/B2eCta6I7WDM8W+1 gXJutQYyWDgRfIDaI1Gf7eaHG34jbZtPtRjss4SetVKxL+pWVjjdcORX8uAghm4iYEd9 TObmNGCeyqxY20aCtaXGJA9hDEhI7M/gCJ++0GHb+Redr2LbJmtZOAEBI28+q/f+/zJI fOjYoqDmevUhB9P6ffHwz0NY2AcShSYAl6uHafzulIJMCNZaUfbQNBiGaWfTOWdYGMBU fk0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ZXj/gw0tFQrBQIUMkbJeBTKkb9iY11+VM1rEQSWq38w=; fh=MxTMBbpPis+LJg6f98kFxxaQtu01YonzaHniHOzTjro=; b=gfNDzKvv3HuIGpOads8jH8RTVchdPcx2uKGplq5hCzjmSZGCjSArau9HMyr586lFH+ nIH6acp5utF2hwCXAMxCtf7S71XnIObMKObt0jIYFlWDIbRcrjLhKj7EGZmS3wCM88sj ms5bJjS4ekGc3miOgQiO2FKGLCpUYGIpEeYU5RX3kt5eLbotzFPZ7vX5G27y1Yshjyhb KyinQGLRo4H/3cWzaF/8YEoAKKYfGuwssOkDo9xAnKJPnR8Lz1mvZb1G36f7PF0+qIod 2+V6SL4lFkYsWpQrTCGfNOQxMgIJ3Lwuyb/vxr3laPXNqF8D9HFSsjNGCfy3qaayWVZM 0pNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="BqeFgW/r"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id l10-20020a63570a000000b005c1b30b1b65si8861223pgb.648.2023.11.20.15.58.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 15:58:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="BqeFgW/r"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id BBC7D805699B; Mon, 20 Nov 2023 15:58:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229945AbjKTX6r (ORCPT + 54 others); Mon, 20 Nov 2023 18:58:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjKTX6q (ORCPT ); Mon, 20 Nov 2023 18:58:46 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 605679E for ; Mon, 20 Nov 2023 15:58:43 -0800 (PST) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AKNr0Hx020224; Mon, 20 Nov 2023 23:58:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=ZXj/gw0tFQrBQIUMkbJeBTKkb9iY11+VM1rEQSWq38w=; b=BqeFgW/rUzQSmofZS8mdMA0Izr7cznoeOGGb/eINUkbY8p1F7EKbF/4PJBMrDebSS1iy QZFQTRv6HH1VKEm0rgnJLsm8lUgUuMAr/MywWHiIHyyhKdvedI3khsUuBfa5Y7IZJTDz GdqDBq2QI1/jD2f5rVO6Ea/dasjTzgvvGdlxYMEpQ4Q69NEyZoieV0Weqi20i56BYhM8 tgmcP2IT8l5djAMkFw59y0q6fY1rWfuTVmrjJhkEERnlNOOAdt8S9o9Vfjb2Cy6jUt4d 17w9qmbPKZVdHHj4RmbgxYV3u8cCYtKWbMWVPQn2nmkIJiv8egFk0K0e9Aabamb+Hv9e dQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ug2axaa64-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Nov 2023 23:58:29 +0000 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 3AKNwS3R029491 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Nov 2023 23:58:28 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.1118.40; Mon, 20 Nov 2023 15:58:26 -0800 From: Karthikeyan Periyasamy To: CC: , Karthikeyan Periyasamy Subject: [PATCH 0/2] wifi: ath12k: Optimize the mac80211 hw data access Date: Tue, 21 Nov 2023 05:28:10 +0530 Message-ID: <20231120235812.2602198-1-quic_periyasa@quicinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: dv9A6BP4Eh2DIb7-dsCkAgsozt9l5ZI0 X-Proofpoint-ORIG-GUID: dv9A6BP4Eh2DIb7-dsCkAgsozt9l5ZI0 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=16 clxscore=1015 lowpriorityscore=0 bulkscore=0 spamscore=16 suspectscore=0 phishscore=0 mlxlogscore=72 impostorscore=0 adultscore=0 malwarescore=0 priorityscore=1501 mlxscore=16 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311200176 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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 20 Nov 2023 15:58:50 -0800 (PST) Optimize the mac80211 hw data access expression statements by avoid the unnecessary access and repeated access statements. Karthikeyan Periyasamy (2): wifi: ath12k: Optimize the mac80211 hw data access wifi: ath12k: avoid repeated hw access from ar drivers/net/wireless/ath/ath12k/mac.c | 172 +++++++++++++------------- drivers/net/wireless/ath/ath12k/reg.c | 19 +-- drivers/net/wireless/ath/ath12k/reg.h | 2 +- 3 files changed, 100 insertions(+), 93 deletions(-) base-commit: e9e36ed2ffc1bc4ab439d992af01269f50815dde -- 2.34.1