Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2649014rdd; Fri, 12 Jan 2024 17:31:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2nPmx9jiW/9S0cVCmSBxL5VYLD/79Fcukag6JG2vXnfjXO1u/pc20HiHQXvg+N9ji4PfI X-Received: by 2002:ac8:58d3:0:b0:429:d886:c92d with SMTP id u19-20020ac858d3000000b00429d886c92dmr517855qta.126.1705109503567; Fri, 12 Jan 2024 17:31:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705109503; cv=none; d=google.com; s=arc-20160816; b=CvMYXm0zaYZsPOmbvJkoWr1Up7/DAsshCD9K+Of7uIluenTIrg/BBErD/2KXfz+KY4 7ICYEpPwOXUx39xFiV1l8yA/RUWTs0B5i4aRKxrT2AqjzkCx/IVQhbNf2xmmn4Nw70QI z5eFBweSyFwZkCCnpF7rDS0b5yz5JWVABDFu0uRXSx6Ak64Lb7MqB1rw2e8JapFO/wJR 0d46ZKXm4dkapo6TqKmHSeAJSOOty9Yx/3gai2+Gy+pUiosMxWUw17ufIxOdJZrX6tdL 0VvI76AjRdT1xbJSR4/ms7dRb/QWN6/wIY69xhcWfDGoq4u6EbfF3uarduauB8JeIwgK GEVA== 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=M1SWi4lB2J7rRsv9+QtLVh2rDMIlYsdu8OWHCfHteis=; fh=Ahzw9WpusEFEYnVn567yjdM3oQ5tWKzSXN4GqjStBc4=; b=hMSmw1SPDawDD0q9WLp4dmiuGMytFrfe0xW8WYRiBKtO12uz0qw4YsfR8lYQnW+XWY rxHU2FD/jepEZ9uK++nil7XYt7j4yrGjGELVRCg26tZve818ssREaGnXf5xbZ+0HW6Pn MUhiq2/Hi8vw+EYCnKCajYpi8DIfPAPZPRyILI6jL/IFOXNB7zMGl7lfZ5XjaEs58s3r eEyLEqL+u01a0Dc7OLJ4eNQOBvN2iyzPs0ydkQ60ypZctf4HQ6Nmu+aPd5STbNtQzkdh kMb5GXgdy2OgypQy9yNY2ir+OtOJ14FjD6ETdnIMXW/8xi3ffPdTKdQCJqI20hdOD/wr cc8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gGI4iCie; spf=pass (google.com: domain of linux-wireless+bounces-1861-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1861-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e18-20020ac85dd2000000b00427b7c81e5csi4210918qtx.711.2024.01.12.17.31.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 17:31:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1861-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gGI4iCie; spf=pass (google.com: domain of linux-wireless+bounces-1861-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1861-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3CA7B1C21AF6 for ; Sat, 13 Jan 2024 01:31:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BB6AE134C2; Sat, 13 Jan 2024 01:31:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="gGI4iCie" 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 67C5312E64 for ; Sat, 13 Jan 2024 01:31:38 +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 (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40D1O9Qx011857; Sat, 13 Jan 2024 01:31:35 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=M1SWi4lB2J7rRsv9+QtLVh2rDMIlYsdu8OWHCfHteis=; b=gG I4iCieesRCVKZ+CJ7yjxPKKvEXPlDYKWzX4wpl5BHeL6U5wtyEL+M7Y8zNnQgjBx jNcpAT0pyJidShtuVPoi8qHGO6rUZGLlCFuVlGmUaeS94K+QjcrlxhGvpmL8l0gg ItzT9PFlIS1FmCeu3qUA6dpopiqmNyp8FNsFU4UTSlDRml6kQpeibziFMlzos5aJ nRXN/qgkBaHp//+EqRdtyg6PgfDa2q2AUZubOPfgEdI6skXiIszUwRi4r0ddrlrf phOjihD2fZXA3NDUsFVVwk9Hu3hTfNX4IcRq7QGLOCYGCUHNc7fioYTVWb/SiCKZ RcYgSl2eGhfPhAVh4jsw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vk1x1a69u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 13 Jan 2024 01:31:34 +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 40D1VY32008818 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 13 Jan 2024 01:31:34 GMT Received: from [10.110.118.97] (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 17:31:33 -0800 Message-ID: <2e0e94d9-8519-46e9-9896-dabb79083e5b@quicinc.com> Date: Fri, 12 Jan 2024 17:31:33 -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 v2 09/10] wifi: ath12k: designating channel frequency for ROC scan Content-Language: en-US To: Kang Yang , CC: References: <20240112092824.7664-1-quic_kangyang@quicinc.com> <20240112092824.7664-10-quic_kangyang@quicinc.com> From: Jeff Johnson In-Reply-To: <20240112092824.7664-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-ORIG-GUID: aUDg5IWIl3IdEw1le9OjUxVxP4Ys1jZl X-Proofpoint-GUID: aUDg5IWIl3IdEw1le9OjUxVxP4Ys1jZl 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 priorityscore=1501 clxscore=1015 mlxscore=0 spamscore=0 phishscore=0 adultscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 mlxlogscore=857 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401130009 On 1/12/2024 1:28 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