Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1492681lqz; Mon, 1 Apr 2024 08:00:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXLY+1I9e2p37vOCL/lgTopad22nLlhKnoBIBmdy3ovaoyTJUcAfO8c9DHSmSbnjKcxxESwB3jq1Aonanhn0wDQhpKrXEEDbQW5t5Me5g== X-Google-Smtp-Source: AGHT+IGOC6jW6kWWKVRuMnD48qA8nm9qlRSPVFzNdlthB+v/cVKaqem8cbCKKPNA66dP4LIL/ctX X-Received: by 2002:a05:6e02:18ca:b0:366:bed3:a218 with SMTP id s10-20020a056e0218ca00b00366bed3a218mr14074141ilu.32.1711983653250; Mon, 01 Apr 2024 08:00:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711983653; cv=pass; d=google.com; s=arc-20160816; b=TIuzhocEHQLv3MXMEBWoqmNH/PYUadg7hm7IaWkuzPo4Nfcsjx92E8jee05pE2ofS3 n2HoQADy9v8z/dh/erKDM8pVLjRn0/PEDd6kbXNa41x5CB4X0Jyet5b5MzfHI0cmsube zMVwWFdUnEDYfVVQK/P3Y/eD9XcJpNrF+FpHVpuKSFjcDHOsOET+wBy29rMOphZNux2L UocfzJpEZhYt82tQJGB90L7lLMXdvFlJU5OqnRqZsBicqfa5gxr73INIC6D7DYFVK2d+ dHkzI+uAI87n5xv0nktbMQoqN4+bMEwQcG47dYHRAs3K5WjrES0im3TDhu/RZujw83jv EYAQ== ARC-Message-Signature: i=2; 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=hevkxwDEgR2pYUvj9X2yFlu71zQ4lB/37iRPo7HoeyE=; fh=2wDAxrUgb8oXUDJTX7GDnmcDeVfQ0DIHxGUtRNK2Gq4=; b=DAG9d507iRFw4gikSe4MUq/9Z+6zQiMkgTrvQEzbgkwqYAJPN3OKLX/8u0bepYWple 7WslYwLkRy4RP+fez4+Th4uc8jFuEOoxE1l8TlGDE0ej0ICWbQaJcH81jM48lXaZH5ZX 94WPRT6AOZb0md/sQWIYbM+ljyQX3ZsfviYtd5wNu1Qqs1hL/33LnNDGH3YKNaTAjwjK hpprhDIbCXZ6/z420BFhwMHC3kzBJTpMoKLhSFlsZgnVizlBWAp1bIoWaOW2B0iK+xdk 6GsL8i+yxRqcBqqSE70rP8aHyWDgIAwWDOOOlMsgQXAKNbXBHQSx/ifU5/YvfKdmoCgx Gm0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="b/ovJYlW"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-5713-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5713-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 g2-20020a63fa42000000b005d7957d53e6si9114097pgk.678.2024.04.01.08.00.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 08:00:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5713-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="b/ovJYlW"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-5713-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5713-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 BBC6FB219FD for ; Mon, 1 Apr 2024 15:00:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8ACC44501E; Mon, 1 Apr 2024 15:00:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="b/ovJYlW" 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 CF44728684 for ; Mon, 1 Apr 2024 15:00:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711983645; cv=none; b=YeGVB4uZLencgwfqVVRXz+HQT6Vh/fJ9KOmtReI6sTCF6e5EVhb1dRre9fX9eshkeVdrMYS6Oqvx3YUsiPomFy9zKKn/VD75bjTOcnJ5RHMnkcN3Qp2IFxZGrYk3B/DuLcCzGTA0G1Om/bYPWIoCoNB14XmM4isfFzjgzqu8JiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711983645; c=relaxed/simple; bh=pQ34OZYl5mjseT5h3Yt5hxEvSBi8jMLY2teGeEGo4Ls=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=if6K2R07sQLCpV1tyOLxYOBiPxdu+r5SuUpgMawhjHUVijOxGaFsxCtLLtnesevtCULCbAMUKQoa/k7IGWmeVVCcFmTAgpcBumnkFnW42MdwLXLV4fh+dktFltJ//yfcEqk9gE+NIhMyEf1W7G6GHAh8m98nH3FVoABmdyODg8E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=b/ovJYlW; arc=none smtp.client-ip=205.220.168.131 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 431DwiUf000388; Mon, 1 Apr 2024 15:00:39 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=hevkxwDEgR2pYUvj9X2yFlu71zQ4lB/37iRPo7HoeyE=; b=b/ ovJYlW2s819vu9kynpJnEzcTd0bemTAo1ae1+bUR6GOlEo5MhmaqRDMoDeI20Lhc aT2hwfykNlbueQDvt0I1axAomotLQgw/sa+4dbYm9weart/Wj+ZzEZ5S+Xgp2zvz 1qtgDIST3ofllTmxpw+/gaE1whQYBrTsQLUpqL0QPW/pGI3FRm8DKhUaG8Y7e0nv /TH1NreCYZm25yo82SQyE1DliQbHoI31pDQusASoMTysTwO9G+H8vyrv19bKSk7g aMXzje2T7V4tSSIJyIIq4p0VmivO3nxN2NvSc1vmThH23pa8KYKcyvNoxD9/K1nm LRwPBC/ezvnwWjelwu+Q== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x7r0hgygy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 01 Apr 2024 15:00:39 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 431F0c38011718 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 1 Apr 2024 15:00:38 GMT Received: from [10.110.126.136] (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, 1 Apr 2024 08:00:38 -0700 Message-ID: Date: Mon, 1 Apr 2024 08:00:37 -0700 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 1/2] wifi: ath12k: fix BSS chan info request WMI command Content-Language: en-US To: Karthikeyan Kathirvel , CC: , P Praneesh References: <20240331183232.2158756-1-quic_kathirve@quicinc.com> <20240331183232.2158756-2-quic_kathirve@quicinc.com> From: Jeff Johnson In-Reply-To: <20240331183232.2158756-2-quic_kathirve@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: MKsmimNpGOk7zfhpobST5Kv8G_q2o5hF X-Proofpoint-ORIG-GUID: MKsmimNpGOk7zfhpobST5Kv8G_q2o5hF X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-01_10,2024-04-01_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 clxscore=1015 phishscore=0 spamscore=0 mlxscore=0 mlxlogscore=865 bulkscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2404010106 On 3/31/2024 11:32 AM, Karthikeyan Kathirvel wrote: > From: P Praneesh > > Currently, the firmware returns incorrect pdev_id information in > WMI_PDEV_BSS_CHAN_INFO_EVENTID, leading to incorrect filling of > the pdev's survey information. > > To prevent this issue, when requesting BSS channel information > through WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID, firmware expects > pdev_id as one of the arguments in this WMI command. > > Add pdev_id to the struct wmi_pdev_bss_chan_info_req_cmd and fill it > during ath12k_wmi_pdev_bss_chan_info_request(). This resolves the > issue of sending the correct pdev_id in WMI_PDEV_BSS_CHAN_INFO_EVENTID. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Fixes: d889913205 ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices") > remove this blank line. Fixes tag should be together with S-o-b > Signed-off-by: P Praneesh > Signed-off-by: Karthikeyan Kathirvel