Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1817631rdb; Thu, 7 Dec 2023 09:28:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IGAWNOewGh4MNkIg2JtW4c0kfLesyzwRc2kMZCBI8zPISJ7C/ulb9OpC/vlAIyDHMX6K+xw X-Received: by 2002:a05:622a:118b:b0:415:1683:9cf1 with SMTP id m11-20020a05622a118b00b0041516839cf1mr3238036qtk.21.1701970097842; Thu, 07 Dec 2023 09:28:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701970097; cv=none; d=google.com; s=arc-20160816; b=LauZ+XZktJ6rf4dH1c727ZDFCRM6FCu0awBLF2C68dIwJQobWKhPU/58ZgMuSVgSbj 4qfRF85FpbQbwiSE37E+AEElrjBbUT5nnG+RJAmnWUy0GqbL/AQUpmqg+HUbx6ozwNdM tMT9hh988TKIWATDQzageqgabvEXWW3XD6cb6ul5BlUQA1MHQ/cyfh8c5SgQsYf+F95N epLj8VHn9tLlUOCm/rHoL0ywPP0WEkrVSJgUuFQc9NRO/7jNd8lDadv0K2wrRzzDsyPY W9pRl1z0tfY0K5dgMKyNcwGsI6xWeeF3Ye2oCAKHltdbTCEVqKpUI0XC4nBero+ALbqB Q1yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:from; bh=ieCM9QfCFCxf9HKT3GIFEUdcjpfP9qA7KGhg+yZrbo0=; fh=WpmPm9jCKLrKvGDtPLszCmCut+IE+JD2EsCtI5z5aIQ=; b=Wr04L/T8ZlGMPPIlN5Qq68HFgErF1Wr3t9bk4gCawHBtWZXckZR+YYAQRdQxHF7RUQ i0yPGI8mtS/WSFlSbkIEHI9776A/G5pMFTlbOU0Pg0SvcyDZMNDIl7mcNUkGY7V1oxVa oi3CYAXrPsFIV19vb+D5F5dSiscajBRZ7dwRdlh7wxFV6UpeRRCaNduKKJjpadRSSF/O GLXioFvaRDvVlEqtQfua2AzZ6Btt+M7sw7C3zNly0Y9yugg+rlOIqe+TvPBQwY2Ows3j doUHnfJVpBRKe0jK7UDSpKF8NSZZfi3BI1BmNAyZxbRlWWgzT7cg4fK734Wwz2EjBd3C hw4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=GVhuPJSB; spf=pass (google.com: domain of linux-wireless+bounces-556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v31-20020a05622a189f00b004258286722csi255860qtc.357.2023.12.07.09.28.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 09:28:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-556-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=@toke.dk header.s=20161023 header.b=GVhuPJSB; spf=pass (google.com: domain of linux-wireless+bounces-556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk 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 969451C20434 for ; Thu, 7 Dec 2023 17:28:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5ABA449F89; Thu, 7 Dec 2023 17:28:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=toke.dk header.i=@toke.dk header.b="GVhuPJSB" X-Original-To: linux-wireless@vger.kernel.org Received: from mail.toke.dk (mail.toke.dk [45.145.95.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51E4BA3 for ; Thu, 7 Dec 2023 09:28:06 -0800 (PST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1701970084; bh=ieCM9QfCFCxf9HKT3GIFEUdcjpfP9qA7KGhg+yZrbo0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=GVhuPJSBsbykzRB5sBd6Ro2YYQdH41JyGkV6yXH6mAL6ZsrmvS/6W67JICL05VTx4 NRQSSuPSOzOM7iTgY98gqDQhOWJqpGtDccwp/b4yKggBw+GA98lpZCTPsejzJmUU7Z 5BGR+BA0NDMItIqfD4YCUztx+LJsx7PhnRBZwMqUicR4U3KCEJWCDF69BHDyXaukpb XlCvTEE/L2Kirqe1DYCaCK78k/Cq1gw/ymdt1BL3+hYHZhNUqjduvWtxg6klS94wU/ /L+QSkbTWjnX+ShbzOsT1TImhezxapAkKOxRewzqCQDiQy8kke/9Ey5GeHuSiDywjL 4e4cRzxbULUKQ== To: Hancheng Yang Cc: hyang@freebox.fr, linux-wireless@vger.kernel.org, kvalo@kernel.org Subject: Re: [PATCH 1/1] ath9k: reset survey of current channel after a scan started In-Reply-To: <20231205170623.3029689-1-hyang@freebox.fr> References: <20231205170623.3029689-1-hyang@freebox.fr> Date: Thu, 07 Dec 2023 18:28:04 +0100 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <874jgtly6z.fsf@toke.dk> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hancheng Yang writes: > In the `ath_set_channel()` function, we only reset surveys that are not > from the current channel. This leads to the accumulation of survey data f= or > the current channel indefinitely. This may not be the most optimal=20 > approach, as we want the ACS to rely on the most recent survey. > So reset the survey data for the current channel at the start of each sca= n. > > Signed-off-by: Hancheng Yang Acked-by: Toke H=C3=B8iland-J=C3=B8rgensen