Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp419107rdh; Wed, 14 Feb 2024 00:16:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXBLSOOlsSe6uLPq6IMhx5qCfMLg4TVLQDm+s3sGT9c2ig5XcfoGDpLqibj7IoGfXVDgyCZP2fj5j25nxZR3HSI4RCEHQX7ahogoqfECw== X-Google-Smtp-Source: AGHT+IGWczK895hqNc3nmhLGKl5b7176FCR33n2EswXxLM1qfl9DAtEifpTV+hal6FkECw4kYx3s X-Received: by 2002:a17:906:4eca:b0:a3d:5932:293a with SMTP id i10-20020a1709064eca00b00a3d5932293amr271406ejv.77.1707898560628; Wed, 14 Feb 2024 00:16:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707898560; cv=pass; d=google.com; s=arc-20160816; b=LXdbYGIllDj0v3zKbFj8YcMHa0Mj8zbYh0GR98VOQJBleiv9El7hvAWTOtD73X/n2s aAZbmC57L04bDYTGp/bc8PLQSTZrL9Tc/letzq6z669RutQC1+6AvEpXs34IagZdiqn+ 6LzitWMsJBzJW5TKXM2D4ioYKqvmgo2aqKAEfX0h9vXXflDEOREM90745GcL2HOB2P/+ R2e6AOehTLWcGNv7oWuEZ5XZLEyTNSq1RCjkvBDhbtziIfF6e+EZBSziZGswGHhxAWP8 VYUP1HyeXC8YMdO5najo2H3iCWnqRkZFbfDBd2QA2Wu4FWaWnzbzrT7ai1kQowgEBHnJ o4YA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=dE+FoD/DpULRJbQ66+ibJ5p8wSSDaHa8OQCd6oggK5E=; fh=j/SR5A/AvJGey7jyEg0ZvbR+v6UoCHUXX6jiR1cC/OE=; b=m9Dq6OjgX2p0x+pNduNXoNVJ2UdjyDHTX6sLmdUN4oUuO577wis7jwxRD1mKyVgwHP ooi5yielGGsZMy7tRkwkKUI+WSFLgQyK+V3/ACpu8NcKO1doCWOrX3W3TfljQKZMq9co laq28/FYGN1fBGuIJC87t2QDml57F3FZ5slbTMFXTLwnX2AQezOB0M1DtxMdOKCarseJ 4ZyOG2oMfmgluuJRgN9/xpG6oasKnebIhHNVQOkLDXeeN4sX15mKt3XCBMOaB8DREssF q4fzbpJAcC7RWfk8Z9FkQtKPM/I1b9JABuWDklQUsAvh0dLEkZdqsvqj1KqssmRmPpzD GtYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ATUooogL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3568-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3568-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCU4uN8j9bkORP54zA3odkqYh3cDQDL3z0ZGf2YLrm304D8dGYntxIgnjmWrR3LfbnI8OEnvrtvpY4rUa2Fky4VA2BTfrh0cOkgqY5n3Lw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id m15-20020a1709066d0f00b00a3d56ac940fsi171955ejr.260.2024.02.14.00.16.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 00:16:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3568-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=@kernel.org header.s=k20201202 header.b=ATUooogL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3568-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3568-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 610A11F2477A for ; Wed, 14 Feb 2024 08:16:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56A39125A6; Wed, 14 Feb 2024 08:15:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ATUooogL" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 324C5125A4 for ; Wed, 14 Feb 2024 08:15:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707898556; cv=none; b=btPRzWwzQHwC3DliPyMvYbnSrVdDwwC9FRGpvVnBxoZrDBntgeMQ7Rnj7Rer1fOAjxASE3DNuy2rnqcQBK86G5emKqu1T3LjF/G8P/MW7tQxszQa/57q9OHHgAJtx6tmwg96p6W7xu5gwHQmITBQ6+LzCAbr4Mbf34/mfcKAmFM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707898556; c=relaxed/simple; bh=qOkqjcmIQarjisBZIh76v+uAW3kG2nLiaTnmAU/OxKE=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=j1+lrNPc1nfCRpyI4tz5qpoYIHgmig2x6BeOI3wgYb/uqKwU17FYvCLOMqQfF2Qgw/Ex8t7shBB+z2DX0J0TUiJsstMrXTsRVc+Rk6e+uekRY4DE6ggndGiH3yk+UuA2gMDkiwFT2t7K3E0DImt+zqUeV/2fhrAgDkX3415bur0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ATUooogL; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2E30C433C7; Wed, 14 Feb 2024 08:15:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707898555; bh=qOkqjcmIQarjisBZIh76v+uAW3kG2nLiaTnmAU/OxKE=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=ATUooogL91zyqTu4hUp+29S6PPukUun34xRjWuGPqQXULkgg9YxXLDwaCWN4oThBP dO34VIlgfE3ATsV+//lDip4CmQ+zqKanyFKcH8WQ9d1ymLZxZmQQ8rM5KRtWbTEQa4 xMo0D1skN5l+jSVOcoCZSQbslJErtZ+jq+PoH250QCPsDutJAn5jeK9bARM/ZBJZHq e7pR5fYOkkMZf4x9roPWKH4awBXX203wrnQ/MvfaZWanEqLymCOKXrloH3S62mfB/P jdSe0+RQBnC613toTxXnxNQhl0aZcjE/dDn84dp9uC5mDe3OlDIfgjeUWUmycoK8Hx R/1pPmNWNbSfQ== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2 1/2] wifi: ath11k: Do not directly use scan_flags in struct scan_req_params From: Kalle Valo In-Reply-To: <20240209113536.266822-2-nico.escande@gmail.com> References: <20240209113536.266822-2-nico.escande@gmail.com> To: Nicolas Escande Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170789855274.3088943.4437243850124616394.kvalo@kernel.org> Date: Wed, 14 Feb 2024 08:15:54 +0000 (UTC) Nicolas Escande wrote: > As discussed in [1] lets not use WMI_SCAN_XXX defines in combination with > scan_flags directly when setting scan params in struct scan_req_params but use > the underlying bitfield. This bitfield is then converted to WMI_SCAN_XXX when > filling the WMI command to send to the firmware. > > [1] https://lore.kernel.org/all/871qae51wx.fsf@kernel.org/ > > Tested-on: QCN9074 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Nicolas Escande > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo 2 patches applied to ath-next branch of ath.git, thanks. 64493a7ff74b wifi: ath11k: Do not directly use scan_flags in struct scan_req_params 79ad70c6df0a wifi: ath11k: Remove scan_flags union from struct scan_req_params -- https://patchwork.kernel.org/project/linux-wireless/patch/20240209113536.266822-2-nico.escande@gmail.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches