Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp533382rdb; Fri, 26 Jan 2024 03:18:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIKffLPkjBuPKIrKfitnqf3j2VDKFvL8YAMGBMsANhlnirmUR8j0LPzLah8nKz27Yrq1xT X-Received: by 2002:a05:6870:a10f:b0:214:9535:dd69 with SMTP id m15-20020a056870a10f00b002149535dd69mr1348691oae.114.1706267931563; Fri, 26 Jan 2024 03:18:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706267931; cv=pass; d=google.com; s=arc-20160816; b=FwcdhC6EXFXfqf8f7osrWOzdxu3NH2DgTTk9d1EHeowlz+8Sbkl7ZCTnalCGbDseiq FKAsRBkvtYkoAZKTmFFx10NVFRSl64nE5YJ67UPmiL6ukL6M3W2qcrrG2toX0BMGnUbi dlVRJ0XkNgWyjxNjg+8fWz2dd2SpK8VGB4zOKESUkKypJQIILdCtZnRg8ipjz4NVp+Tv CEkHIXWdtg4H0XM/J5U90t1O424GwRDjetTn/EthPgwj9oCWIfR6P50M8v4rto/XmILE VoB3u/h+pt9LT7r0TtTuaXTfd4WCGcfWgt3OrvDR5n4eR+RVpz3Aj3IjTMJ/UQpsRhr/ Z4Kg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=QR7HlmwN3F/Gnb7XCRGN3KtO9h15iG4+v/IswelfeFg=; fh=xXsXjEvuhKvtuzwjmXROSmYlJK+2Lcg0UA3uf8C4nBs=; b=xIa+Ibmq1b/h+UNOQzK8tpzMnwjvVRoIQzUX7fuYS1B1+RADLelYHV1+a15PZHb0X8 QNzIzktNuzMO6JDgBYWrKsy6PG2Rdx+ID9i5blWqb3zG+jQtHtlBpImuicc7yyVrYNQt H2ebwTM6JL4k1MyDf18HbX6udC+0KKUCckpCeQrJg2PkVq6cjq1di9KFokEFjB+kbIus CsVJQZV2eVp4ljOMXx1bJZLiS83HC6J7M7yauHakZAgXCULHNrcfP9rDxddl6ZTODsFh 7jeATWqbyj17XegydVAyVn6fxph4ontEG8z+b/JTYOhnQmiIYgR+IwwvbqKbSXoZl3j9 at5Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=JyjxRhqR; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-2548-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2548-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p28-20020a63741c000000b005c279da45f1si947963pgc.566.2024.01.26.03.18.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 03:18:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2548-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=JyjxRhqR; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-2548-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2548-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net 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 11F34B3D50B for ; Fri, 26 Jan 2024 10:27:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 836B81862E; Fri, 26 Jan 2024 10:05:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="JyjxRhqR" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (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 6421C17BC9 for ; Fri, 26 Jan 2024 10:05:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706263531; cv=none; b=MBUhamav9OkFLR6nsfvdSbhLIHqmBghxLCmAx3JU/BFcCAxWrtinNNnCLhElW6b7S/oyHUc7WrqQL+1EN2p1e7A4K+2Hmyu6dRzHIoYJI1m80/SuemtaZ+lIFnHgqd+CgjNEZ4PS9k7/6cHv8cmsNWBGwL7l7wR51t+mpYPZM5o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706263531; c=relaxed/simple; bh=QR7HlmwN3F/Gnb7XCRGN3KtO9h15iG4+v/IswelfeFg=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=oCuId97+N6z3YTQhyAmc2z1p+YrgOrHSCsBePr6gb1bdrcRFKh8tVuLZkUhiJi7YEGIkXpxeI6AbUd7wC1mIuvbkVaOUd29ttKvxJBJY8GZbm46ypOk1/QPGxoQ8toBW255WLev+AO+Aiv0JCzF73gywN2fqrH5PwyPxiAzbD48= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=JyjxRhqR; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=QR7HlmwN3F/Gnb7XCRGN3KtO9h15iG4+v/IswelfeFg=; t=1706263529; x=1707473129; b=JyjxRhqRKYnwj5Hyq5SK+H/3YkufFsYBxYi/JS94n7ZqwhJ nI+v4OS6Vnove8xL3bcGNy26HrEI7Pipn1891+3eTfMSaCclLFo27XSlb/FVnhontb9Mj2KBbvjuy U/kEHPZ15QGxM9tingHdkmsKVm8kDy6Gu/6lcq3AyyI73ZsisZtFB0vDhH5/dbv16bZMFS5j+JbCY TBnWZi8ebzht4513qsxjtWr3dVVasp3dcQa2c2LyygS3xSkvI6O2/ZZf74mmkd2GHqb+Yo0CiMbTn 3iQ7wCjyWbPccFgGGtzZ+tFG/EAK5WV6y9K7nJLF8dLrCySOv4Jxq50RFpxE4LGQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1rTJ5T-000000016J8-0Aye; Fri, 26 Jan 2024 11:05:27 +0100 Message-ID: <9f8d3d53f34fba4cbacb8731bc8bb1da9bfb4d45.camel@sipsolutions.net> Subject: Re: [PATCH 0/1] Re: wifi: mac80211: don't ask rate control with zero rate mask if scanning From: Johannes Berg To: Dmitry Antipov Cc: Kalle Valo , linux-wireless@vger.kernel.org, lvc-project@linuxtesting.org Date: Fri, 26 Jan 2024 11:05:26 +0100 In-Reply-To: <20240125090737.49673-1-dmantipov@yandex.ru> References: <58970b94a314414402a932576ec54188c0675016.camel@sipsolutions.net> <20240125090737.49673-1-dmantipov@yandex.ru> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 (3.50.3-1.fc39) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Thu, 2024-01-25 at 12:07 +0300, Dmitry Antipov wrote: > Well, the literal approach to "not even use the bitrate mask for scanning= " > may look like the following. It fixes an original WARN_ONCE() as reported > by syzkaller, but I'm definitely interesting on how to check whether it > doesn't break something else. I will always run the hwsim tests in hostap, but I'm not really concerned it would break anything - this was never really _intended_ to cover scanning in the first place. johannes