Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2428838rdd; Fri, 12 Jan 2024 09:06:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IEr3gkyFBAQpjieOYsJ1OCOX2pkVBuTVCnefjo5o7lSyGodOCnlr2U/PiBIycz2ZqGLNKiB X-Received: by 2002:a17:903:124a:b0:1d3:33b1:f57c with SMTP id u10-20020a170903124a00b001d333b1f57cmr1143747plh.28.1705079195369; Fri, 12 Jan 2024 09:06:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705079195; cv=none; d=google.com; s=arc-20160816; b=QIjWshZjW8xJsjWuh0PLwxaI6h+FZwWWjwh/dZIveTdV0gSfA+GuHTHALIqXyvsUft Z9t943kWj3Wu/t+bALWxUBz+VPbNi0YC08zaoaCdn33pblXA54+mj9jr2ZON5/5g5Hjq th82aQf1o9DdfWvA7VX45S4MPfsFeoIo8/i1KtTGKsdYeP9idBZqe1mgfcDOS6rQHZyt QzdQnPASu8vOagEBnUFQzWEMic2lyai0Qli7O4rEv4npToPlQ0MlhiRltdXNhvRflvVU Vuf7Eg/Fs3p8yybhpn0cjpwtTw0ZX5Izh+oJgYQq7rZX6L3E5IRTK56Hyv6ygG9E3LYp JTGw== 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=Ocs6VVOtEstn22OywDjnCDoMp9EJ9LgH1g/53J6rB3k=; fh=GCRpT/7dbLSsQAWbCa8UoWpPButACfBkfM7tAyJ3xhE=; b=04e9urPxN0Z17gOADhhRs/fthTS2M/QzY9HBz68DEmh1GAAndS5CsBnoenCTN/w7NK mpgq758v7w9aGlW4qhTHd3hMjk39zCFa7LbfDx+YuSvYqU7eX5Jki4/AYfAkuNlIGBNP zpQlJN+QeSEJPAwb7cnEEn3WbFBwYkdo33X6D51bT8YQxJDlf1iSqJHfgSWyoiGIER/k TzVDxOOJnkYowAR/SrzkYTuF9Q/8+HvJQKmjyJtmlkfj7BFS2r4AF99eDomCyT/lqLB1 Xqv5VcGsrxP4yWtSuONTvIWx+LG7UqGznIXKfjXAKWqNN4WMlj8Idnaqf9Y/E74s6S29 YDXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iNzNUiL1; spf=pass (google.com: domain of linux-wireless+bounces-1826-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1826-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2-20020a17090a6f0200b0028dc527c485si3581839pjk.26.2024.01.12.09.06.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 09:06:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1826-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iNzNUiL1; spf=pass (google.com: domain of linux-wireless+bounces-1826-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1826-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1FB1FB23EE8 for ; Fri, 12 Jan 2024 17:05:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 790FD1B59B; Fri, 12 Jan 2024 17:05:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="iNzNUiL1" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 2CDAF5683 for ; Fri, 12 Jan 2024 17:05:39 +0000 (UTC) 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 (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40CFCnNs009142; Fri, 12 Jan 2024 17:05:38 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=Ocs6VVOtEstn22OywDjnCDoMp9EJ9LgH1g/53J6rB3k=; b=iN zNUiL14IrbhwKRfL+Wo8/bMkDE7ptPomnUri2ErTbBQKtyqA3oJt7fboJWLLOkKL BU3WCnLDV8862F8iD0/M3ucPIFiIAeQrkz2B+akiYoGPnVYqaVdWGbAiMgwm5SDH e32CsiV+n9PJF/85pjd5KY0fSDs7Ngxfnr4Sjq2ldqGjF977l2ilCzeLhFHjDlPt MnQ6iuxw9gAb2WJDqxNrKDkGCm38qReR6IGzakG8wk8pVIJYh/1ajKpiPJvZVGwK FjxJkJQkxKPSi94HmbsVpbgxa/I/E+tQUy/Dj8BYYDbTHezUvzjEVHZIXUOBNJjI a9dJ885XA2Dr4lHuzFTw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vjpuj2mfc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jan 2024 17:05:37 +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 40CH5bKf014143 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jan 2024 17:05:37 GMT Received: from [10.110.16.29] (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; Fri, 12 Jan 2024 09:05:36 -0800 Message-ID: <7b671721-054e-4caa-a3c8-723b65c24838@quicinc.com> Date: Fri, 12 Jan 2024 09:05:36 -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 02/12] wifi: ath12k: Modify add and remove chanctx ops for single wiphy support Content-Language: en-US To: Sriram R , CC: References: <20240111045045.28377-1-quic_srirrama@quicinc.com> <20240111045045.28377-3-quic_srirrama@quicinc.com> From: Jeff Johnson In-Reply-To: <20240111045045.28377-3-quic_srirrama@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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: OQaAw9DdxlXFgxtu8_npxnFbAIeGt5XY X-Proofpoint-ORIG-GUID: OQaAw9DdxlXFgxtu8_npxnFbAIeGt5XY 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-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 spamscore=0 mlxlogscore=470 lowpriorityscore=0 bulkscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 clxscore=1015 phishscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401120134 On 1/10/2024 8:50 PM, Sriram R wrote: > Modify add and remove chanctx mac80211 ops to fetch the correct > radio(ar) based on channel context. > > This change also introduces new helper function to fetch the > radio/ar based on channel context and ieee80211_chan which internally > uses the radio's low/high freq range. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > Signed-off-by: Sriram R Acked-by: Jeff Johnson