Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1143964rdb; Fri, 1 Dec 2023 08:05:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgSP9ILCAwC2OZR3fcAVS6MNAiW5XSLIyjL9oBgwXDpRcVa8qMzR3PeDoWi3HbOvGCjz2m X-Received: by 2002:aa7:981d:0:b0:6cd:f399:be00 with SMTP id e29-20020aa7981d000000b006cdf399be00mr4403846pfl.28.1701446752177; Fri, 01 Dec 2023 08:05:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701446752; cv=none; d=google.com; s=arc-20160816; b=FMBdcuR+LdFvD0OcnFx/kVjd/CQPMdYNbH7ZXHHAhVvE5Fbn6Ga3y/Da58KGc2HKTn 1j+5zXLawzOFqQvbVVEPiHCg3DJDGsxOZRATDhZvoX6jYu9bjVXWNOFqrPifXISo/I8X 1i32vrufnzPtahYDrBUvS2tl+fB57gui171wj1NHVEyS2OXFyQfMAirDPfHgWRtXjOTp EU0lrchRZiCIXIv0IIHUtHTklm+7NLp3xH0w8ehiUm2x6PLfz9soYklGZJlmS5I7FoLa rp2h+NcwlTNyLisj3raD5N5r+nBO82SkDMGhmSV3500jB3EOFYJ6N87nkbRIxH9X3LF9 dpIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=QONFaCObi+57YVHH1P010FvvsTIvQNW0idS8qlgcTLg=; fh=029kuYAq1hc6mF1SMOQ2x0i7+BRmAYgL/pzlnEU+puQ=; b=M5Lkr6wcBcj2RN47RLC2vwJSyqQbJr/eso75yZXKuejPzL50c5roawrFf2G4ZLGlJV SXyk73sKCyPhx5Brvm5EzSxofeN4hduMl0Cqr06DQI8RCkX8oB9+gbUVUKy7hnSXrzjH LwChhYKY+CVsU8hAQCPax58c5DIZ1OWRlMg3z738uB5zWpyJ72nnMHQUIX8rNfaVixJm rH4ln5wdEORg20mgKPCW1MDbGOGB2DhqWk+BMnQLD3uzJMcYh945LQk6eqx/1+aFlg8D e52pRS99RpoLL0oLfq7hz437Nt3KcESqfo1w+WOtXZtRytVQrAvaf4IWQnr/VZa5/Q9u tFoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZUeujLyb; spf=pass (google.com: domain of linux-wireless+bounces-302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-302-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o13-20020a635d4d000000b005c602e138b6si3439781pgm.639.2023.12.01.08.05.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 08:05:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZUeujLyb; spf=pass (google.com: domain of linux-wireless+bounces-302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-302-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7D22A28139E for ; Fri, 1 Dec 2023 16:05:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D6C54BA85; Fri, 1 Dec 2023 16:05:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZUeujLyb" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 50E8FC8EA for ; Fri, 1 Dec 2023 16:05:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAE27C433C8; Fri, 1 Dec 2023 16:05:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701446748; bh=nDl/aaAVTMBelGPOB6ViJvy/FJt4deD09PE/7R1bxFM=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=ZUeujLybmuJFInTuwuYKDt2h3+Z1ytIBh3k9tNxmlPrxn23Jib8dZciNcHLQGn8HB w/aoqL4LNzAefRd5ulTiq/uIcjkswukLtauHZcpEatm61msttJCkYNMRDHgJrU9TWi UxTReEzxiNqaHpEou4zcXwcKAFh7rfLgJWh7C+MmHfIjo3MvGqlrOfk5yAdJy74wZU oZsKaowZ0cFK/b4HXZJwEXSDucIu5uN7SZTgjXMTk9QSxyFVhPY/JD6qdpPVB9Ho4r dbU2+rllrQMwnja4YwcDTv1MHrxjSKEPL3tKV61ri61pZDStaNVaq+uX6BPuAsMeot cel/3dzgYWNqA== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/2] wifi: ath12k: Optimize the mac80211 hw data access From: Kalle Valo In-Reply-To: <20231120235812.2602198-2-quic_periyasa@quicinc.com> References: <20231120235812.2602198-2-quic_periyasa@quicinc.com> To: Karthikeyan Periyasamy Cc: , , Karthikeyan Periyasamy User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170144674601.2201420.17048744977292270118.kvalo@kernel.org> Date: Fri, 1 Dec 2023 16:05:47 +0000 (UTC) Karthikeyan Periyasamy wrote: > Currently mac80211 hw data is accessed by convert the hw to radio (ar) > structure and then radio to hw structure which is not necessary in some > places where mac80211 hw data is already present. So in that kind of > places avoid the conversion and directly access the mac80211 hw data. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo 2 patches applied to ath-next branch of ath.git, thanks. 842addae0208 wifi: ath12k: Optimize the mac80211 hw data access 940b57fd0e77 wifi: ath12k: avoid repeated hw access from ar -- https://patchwork.kernel.org/project/linux-wireless/patch/20231120235812.2602198-2-quic_periyasa@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches