Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2474940rdd; Fri, 12 Jan 2024 10:27:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IEkbamm3e8DCX5wHt6EqNbmwXmgFjPQNdcqBHrMtwh3HpO6/ygaNP/gqZ0TWkNLwVrLadDe X-Received: by 2002:a05:6402:308e:b0:558:f2db:1ce7 with SMTP id de14-20020a056402308e00b00558f2db1ce7mr5985edb.12.1705084021583; Fri, 12 Jan 2024 10:27:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705084021; cv=none; d=google.com; s=arc-20160816; b=PI325m8AHDpB5rUE2H1B6yjVqZbIsFIPimOpbVsvrIeNDzb72zqraODFBjGXj/G5SS E5dS5SHTFlLtz51TAsPt6p65w7k2UxY1RxJFA4twc4iOzP8GtDl0dwQ8do/H+EYc/sOs Z0bBM8ZycXX3R3RBO5iYICDbe/V0AQ+nLO6jRP0dJS3yPT/5bMMf8W9FEAoyoSxGy9oz SD9tz7BesF1r5xPhcCognJizB7UJA5R7onOg+XGKrsPokMUuwMEli/Z7y9xQmxTjqtz9 hSZk5ZY5p6sufnW1UJbf0yv0r4ZErbajA/FsgyJRm0d+rae1DSz8URLOvpXTaGDqjDci TqEg== 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=YUvmIGwkynFNBeAGTQIzjlReq48aS5AfQWBJlSHwD+8=; fh=GCRpT/7dbLSsQAWbCa8UoWpPButACfBkfM7tAyJ3xhE=; b=iicyUCJuQmSwhN811CWZbL568i2vTZ2SE9lrhdJ9bvkt0LxP0c7h4JJuDh5Sqvm7lE OlRCgmKhGgzYcySkBBG2/UdCkegZfo4KD5Xj/5/iC8t47SYoD2ULc9RdjYIZBe011Dx3 DtGIAvXSr8L1igCTmNPSylARlEdOHCDtSOMyftPHL3j3xw00tobbuxeDetGMk18hc3GZ 0oA9WSxUZIugjwnokjpNsEU4vmJq+SuFAO6GjpkP8R5P5yCN2ZFLpMWmEEllfmP6iXum O+xYdNAzN8UspJ4TPAQ3R6T+VsFobcyi1NIRJvmKdBKbQ+oE1Do3rgEhn2/EL5mCx4V0 Tk9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lWaC2q4O; spf=pass (google.com: domain of linux-wireless+bounces-1841-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1841-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gy5-20020a0564025bc500b0055411a2bb22si1644928edb.371.2024.01.12.10.27.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 10:27:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1841-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lWaC2q4O; spf=pass (google.com: domain of linux-wireless+bounces-1841-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1841-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 572161F246D2 for ; Fri, 12 Jan 2024 18:27:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6296125611; Fri, 12 Jan 2024 18:26:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="lWaC2q4O" 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 120961AAC1 for ; Fri, 12 Jan 2024 18:26:50 +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 (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40CGSSIh005629; Fri, 12 Jan 2024 18:26:48 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=YUvmIGwkynFNBeAGTQIzjlReq48aS5AfQWBJlSHwD+8=; b=lW aC2q4O5vgbP3MS1fD0vhmSGpWQpJlsy9tCQRYEn0EntRDckNEPipGtUCvIYBK0fC 9WdPKAlMZlmHt3xdVXivsvoJk+sAB5Ym0J//U10w2Mw01WrA4NRRsee0qwHr8WRl FGE3nFDajNZEtyvOkHXbG21iu5LB16pFTPCAk/sXMWzwq9es7DR6hzHhsvXpXCGN YPwl5EMfrJSnWqQbTR38bnPXwj8LTJbrNkzGPW67Y2MQqIuW5dEaWtyDnh4pwBqF jILZl+lXrnia47xiR+XK1n8LVKXea+jH88Kpeg23huS9nhKln/cTW/kyYXPh2sjP XGYpV8IR8j8qN6DPnKKQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vk6ee8mdt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jan 2024 18:26:48 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40CIQlfb016841 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jan 2024 18:26:47 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 10:26:46 -0800 Message-ID: <8c1bf2b1-48d9-4643-acd6-dd2168560ee6@quicinc.com> Date: Fri, 12 Jan 2024 10:26:46 -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 12/12] wifi: ath12k: support get_survey mac op for single wiphy Content-Language: en-US To: Sriram R , CC: References: <20240111045045.28377-1-quic_srirrama@quicinc.com> <20240111045045.28377-13-quic_srirrama@quicinc.com> From: Jeff Johnson In-Reply-To: <20240111045045.28377-13-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-ORIG-GUID: IHgcGiQ5GenIqABoa8DFG1Jo3CJG8eOe X-Proofpoint-GUID: IHgcGiQ5GenIqABoa8DFG1Jo3CJG8eOe 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 suspectscore=0 bulkscore=0 lowpriorityscore=0 mlxlogscore=604 clxscore=1015 malwarescore=0 impostorscore=0 mlxscore=0 adultscore=0 spamscore=0 priorityscore=1501 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401120144 On 1/10/2024 8:50 PM, Sriram R wrote: > The radio for which the survey info needs to be collected > depends on the channel idx which could be based on the band. > Use the idx to identify the appropriate sband since multiple > bands could be combined for single wiphy case. > > Also use the channel idx and sband to identify the corresponding > radio on which the survey results needs to be populated. > > 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