Received: by 2002:ac8:7315:0:b0:429:955e:b7c6 with SMTP id x21csp211978qto; Fri, 26 Jan 2024 16:27:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzmNUfUb4F0KAdmD8euMJghhjH0221ZXmetGDm3PE19FXF8V+4EcTUs8MZf7FpVzb4W51J X-Received: by 2002:aa7:d949:0:b0:55d:71c5:55f0 with SMTP id l9-20020aa7d949000000b0055d71c555f0mr255295eds.41.1706315220534; Fri, 26 Jan 2024 16:27:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706315220; cv=pass; d=google.com; s=arc-20160816; b=k8NAJeBSwO80yRWji/Q4uldKxHiUeDOeqY1rK7VABzJsXkUm9oAWgHg4iGYxZwPqNZ 4ry/dwM/eixstuUqOu3jpkQeqrsu8teE3r7OqTPbCRabt7goezlFdfPREdb5bV+deP54 dWhLp62+TlG7wEOGj5eeS39JARV/Fhp9czzZSRo4ZY3RMbwXe/Kxnhiz31Px0DrK7oIB 4IhHTpOT7yVLjN8gobp5MS7JxwHDrWEpPbs646LOrWKBD5HROWCuoYT1+2E/uKvRlTwG 4cOPkl92Er3iJIEvtRuuV2zLQJhoNgllvxcIwAiVMoqygpScup+HtEdlZ8pxhBFSMBn0 Bslg== 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=pkXNXGewLkSwd4mM9yX4CC35BdWPH8+PA49o70Klfmg=; fh=Ahzw9WpusEFEYnVn567yjdM3oQ5tWKzSXN4GqjStBc4=; b=v8QMhI6l06hrR+jnq00n2oE1uBIJOc+LP/JPytttb3d4y7LxQZS5SftWf1rzTJ6Pml f/zNWJOzDQvfHJkdiOJJfLvQ66yc/b/n+ks4w7b5lyOXMMABwcUz0ObLySE6+DudMtni SI9nGXQSCelMwfdk6Vjdew8JIiXy0tXf655DkqyK3jzNLoqXFr575HZ9VQSm4QfOWOv/ Zmp/+ZBYjeQ2YQ5IiGiTz2cPTI5gqarEh2J2on99Qi0K2Izca7ru708X/VUVemAPRCYo WFTI+jy26DhSDhHlIrGCF/FrBQrMnLRIRs7lT5gagNUP0xNBqkwxXwHGIstMLMdbDRwe oL8Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="WDST7i/k"; 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-2588-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2588-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. [147.75.80.249]) by mx.google.com with ESMTPS id es14-20020a056402380e00b0055c68a93bcfsi1226320edb.295.2024.01.26.16.27.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 16:27:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2588-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="WDST7i/k"; 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-2588-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2588-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 055EE1F23A0C for ; Sat, 27 Jan 2024 00:26:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85E2E257B; Sat, 27 Jan 2024 00:26:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="WDST7i/k" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 DB9B22573 for ; Sat, 27 Jan 2024 00:26:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706315188; cv=none; b=PalwvDvm3vZgvekMMLuqKD7q53KJT+SHYtx7IA0ay40tkmYl+hvqoO5tp+t7YrcwiZv2mrS5ySR5aW5+jrF6m+pVAl1UK122SwrRJh1WRvrgB1WkGxbnS9z0MEjrv60+7FQjr1YgZsyDzGV1rexiOyyrntGdYiEoIQX5U8OAGrk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706315188; c=relaxed/simple; bh=aAbqAq1G0l+3iIk+6DiTmMP+o2+GzPV8LZjneDDrp7w=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=cDs+y1WqOUD3Sv01JNGcmKIDIfM/g+Hm1zNzd+zYHkBayVGRX83rbUVyTiWopobJJVQdsWzA/kDh+3OSvXQ91rz+kXHOB6VOrcSePdfAvQh8BjXLF61zGzQ79fwpnHFbXVAIlI/RC/xG3M+eGd9vQ0x5u1DqWnxb80NdLhhkzfg= 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=WDST7i/k; arc=none smtp.client-ip=205.220.180.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 (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40R0K1JY021212; Sat, 27 Jan 2024 00:26:24 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=pkXNXGewLkSwd4mM9yX4CC35BdWPH8+PA49o70Klfmg=; b=WD ST7i/kebNNGhjJymUXz/eGpVtMCgp6sfnAJeVKYWuF2v5hgeUwThtmfl5HWtDc1g NqIpDpqM7ceKqt4fyqMfeGh/hwZ1fMQbTxVBC1ErT1nQRq2Ul6POKcs/taKLBrP5 scL5SNix4BV89JNgqVHf3VXZjUSF/DE8S3kQuqzhopm4wjBADHUwlK5CCuYGVBPD rge7JjsglNh90QiFmaDaxTi6/UGxQFXAE0fKRTDnn0Y+s6rIZ/vLNwR11V8rogyy EN5l3Wcmd4YE2IeoZol9YnGKHeAyHzHokUcFAlQfqodYpjXIfqRNeqEAonJKSOzT uBk5V/KFRo16r3qWQsbQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vvq6sg0au-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 27 Jan 2024 00:26:23 +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 40R0QM6p012900 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 27 Jan 2024 00:26:22 GMT Received: from [10.110.0.209] (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, 26 Jan 2024 16:26:22 -0800 Message-ID: Date: Fri, 26 Jan 2024 16:26:22 -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 v4 09/11] wifi: ath12k: designating channel frequency for ROC scan Content-Language: en-US To: Kang Yang , CC: References: <20240126115231.356658-1-quic_kangyang@quicinc.com> <20240126115231.356658-10-quic_kangyang@quicinc.com> From: Jeff Johnson In-Reply-To: <20240126115231.356658-10-quic_kangyang@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: V-t0whNYYwynU1Nrce0-uEUnfysYN--w X-Proofpoint-ORIG-GUID: V-t0whNYYwynU1Nrce0-uEUnfysYN--w 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-01-25_14,2024-01-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 spamscore=0 phishscore=0 adultscore=0 clxscore=1015 malwarescore=0 priorityscore=1501 suspectscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=853 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401270001 On 1/26/2024 3:52 AM, Kang Yang wrote: > For P2P mode, the WLAN interface may be requested to remain on a > specific channel and then to send some management frames on that > channel. Now chananel frequency of wmi_mgmt_send_cmd is set as 0. As > a result, firmware may choose a default but wrong channel. > > Fix it by assigning chanfreq field with the ROC channel frequency. > > This change only applies to WCN7850, other chips are not affected. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Kang Yang Acked-by: Jeff Johnson