Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2025904rdb; Thu, 7 Dec 2023 16:23:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDFH6P/Isjy0aVSCODhMe/nkEpOyzcCVWc6Lat/lrBvU21CvyBKfdsOaQLJzVhp26MnXKu X-Received: by 2002:a05:6358:249b:b0:170:87e:78d with SMTP id m27-20020a056358249b00b00170087e078dmr3627843rwc.19.1701994989976; Thu, 07 Dec 2023 16:23:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701994989; cv=none; d=google.com; s=arc-20160816; b=uiz1Qw9NWPpHDuwBLhxvFvn0KgoqiiEmpi1F7zAgvLchvTXej4iVn2Dc56jNWkuprz VcbtaHMuSbdhLReKVKZkyMrW2oxRjgGIVo1t/8iVyI1GqH1MJxi0dx5A7DxqFFR9PmmV uEDq52iLRNsLJxRVCo1CLf9YFt/YhTB2CRE6Le14wYA4exyVuscpcdnIcSa1Trve9LsZ Wu8fAMR58GK0cn9XCoKW3h2oLTWlc6+XKnltr2+utKcVKyzEgzf8ALKnPj9sFKm0fiR8 /7a9Xs4on3LgBL6YYCfFjtK/G8QnIcKuOP1Ccb83A+dVRObxwPtNW3C+CartBKJjyQcI V5RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=+8ZzvxzPr/MezNcUbjarSDHvvjVU7bO3w3ZCSVYgJMo=; fh=H1n+MC6g7LKUTwELnEK0g4ZhJk1fR9LyVP/4n5c0PMs=; b=CxPt+W9bzg96yAD2nK2yPjpnZFElxXBsKNH6aRDbiV26trkmQ91drdRV/tgZzlxnat I8HvBc9NAO5eOP26iAPceTQe6ZKWj8TYi0JTsouagmY3xqdKSILEVfhgM4Ahy0eA34mf a5yDN5F8TIP3/XstX92adWlhsIwH+o/wUR/INPOw7Zcv7Z1BXLAtE55GjY3iMWLjU5rx Q7RqCAkq+lVg3auhO9M6RUXyaAalmMQ/+vb+n8P8Gm8L6aAfLsQdJdSTum7cN2qcDg0t DYsiRtPaOITBlwt9xi1u8zjvdXWS+wVIOvL3IiurqbgL+SEi8nUeyeh6EzabUFDY3laQ Cx6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aYkEqK9k; spf=pass (google.com: domain of linux-wireless+bounces-563-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d3-20020a170903230300b001d06eae7137si563151plh.260.2023.12.07.16.23.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 16:23:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-563-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aYkEqK9k; spf=pass (google.com: domain of linux-wireless+bounces-563-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-563-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6AE83281E4D for ; Fri, 8 Dec 2023 00:23:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8EB7A28; Fri, 8 Dec 2023 00:23:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="aYkEqK9k" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D3871716 for ; Thu, 7 Dec 2023 16:23:02 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B7LtbNE006399; Fri, 8 Dec 2023 00:22:59 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=+8ZzvxzPr/MezNcUbjarSDHvvjVU7bO3w3ZCSVYgJMo=; b=aYkEqK9k6E9DUXDEzPnZqbUoP4kJkowefYTUIBKZ4EAo+k8SxCHQ68JylF30QPJeYZfC g/vByKUeHD9xsZNWjFT1QVLNxbTqPkMCXuhTVlU2nQtQSR+dSyI24T5juAMsQSVC5THs L9PW0lxv2uIrFR+uCCdAFxroK43biF8sC4u0676Q/IbVz6ogvBCC9T5nJVFFV2dBxRB9 +MD1TgoVfieU+sqMjxfeozIaBKUHy4trun1RIPzHKCuutklYnVIigYLbwcOBnCjdMCHc XMQ59wawSKMbrrFGC4Ns51JlwEtSB1S34ThkXCMGlFA8T15/N+23V9y2WbLe3N84yjWW HA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uu0w53c5h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Dec 2023 00:22:59 +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 3B80MwRs004653 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 8 Dec 2023 00:22:58 GMT Received: from [10.110.111.75] (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; Thu, 7 Dec 2023 16:22:58 -0800 Message-ID: Date: Thu, 7 Dec 2023 16:22:58 -0800 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/4] wifi: ath12k: Refactor MAC setup channel helper function Content-Language: en-US To: Karthikeyan Periyasamy , CC: References: <20231206034920.1037449-1-quic_periyasa@quicinc.com> <20231206034920.1037449-4-quic_periyasa@quicinc.com> From: Jeff Johnson In-Reply-To: <20231206034920.1037449-4-quic_periyasa@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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: YkJvC11MOeRij_qcQF2nPoWDhtiqnqfx X-Proofpoint-ORIG-GUID: YkJvC11MOeRij_qcQF2nPoWDhtiqnqfx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-07_18,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 suspectscore=0 bulkscore=0 spamscore=0 malwarescore=0 mlxlogscore=427 clxscore=1015 impostorscore=0 priorityscore=1501 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312080001 On 12/5/2023 7:49 PM, Karthikeyan Periyasamy wrote: > Currently, the MAC setup helper function is accessing the mac80211 hw > data. In the future, to support single/multi link operation, need to > decouple the mac80211 hw data from this helper function so that it can be > easy to scale these functions to support single/multi link operations. So > remove the mac80211 hw access from the ath12k_mac_setup_channels_rates() > helper function. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy Acked-by: Jeff Johnson