Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1444175pxm; Thu, 3 Mar 2022 18:24:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWSv9tjoIlnWB8sWgwEP0W8KbVtodKhgZbOTO0ir7PlGiBQk68dzrnOgaUBppKemOn33h8 X-Received: by 2002:a17:90a:8592:b0:1b9:7e8c:25dc with SMTP id m18-20020a17090a859200b001b97e8c25dcmr8389956pjn.224.1646360666425; Thu, 03 Mar 2022 18:24:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646360666; cv=none; d=google.com; s=arc-20160816; b=shDzyVkVwgw/jW4a+dgXgRGPHWyJue4/gofpDFrKDjxdcvQ5MQNSKysXMT7WL36Tpv C4SnooKYF+cYN6jpKbDdKCjxx3thbl7fm0XaqC6agcoQFsj0T+1AW6iGDbfabwposzE6 larKUH/b7p0LLu5oaLd3L0TtzivzQnLg1hD37ObKjCXqnrw8MdAa028JiLIXp1+5IvQ5 BfE7iDWp9zsxdMpbbZLMXe1ZroTikxdGOcewQaNs2bVtYaH1X1kwlqNU+l/1l/1qMoXm 60zUTLpfphoT6fJBMw6IWPLu8uft0+AjvCAfmUK+5a0OOmE6z3nBIUVMEXhsS4FnDI2p 6VBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZQfFwSUwHz2NlRARU6uQqwGWlUXXfodBP6i7Jl5yn1o=; b=Zs0uBgHcpduWIeP2pU749A5ICgGY9j/T6mPWgVVZ1yr0mcrfRxo79cbsqxfyDV0c9V LbDy8Lm6amktHo5t+kwivYfqo3lheB1amiwiYrZ1M3MmtfviEuME/VWzEKPi7zJhl92G yC9vUAvLqWB8cBmMZse41yUS1HA6hh2rk+yPWKWIJ+9bAx5F3TAzQlhuihv9QUjYl5rs fTFz+xK0NGwM58g28EUEOnef0ROw5u9f2m9Izh/qMeX3+um077sbrFjItMdRzLQqibXc TtKTLEKBw9cU3I5nWOrstZE/KAXitnmQf4hqvt/s0gmlkJtUnz8/ORNddhh8l8b5cZUl H/xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@w1.fi header.s=default header.b=lDDR9AbZ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=w1.fi Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n12-20020a17090aab8c00b001b9fffaf02asi9539015pjq.165.2022.03.03.18.24.09; Thu, 03 Mar 2022 18:24:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@w1.fi header.s=default header.b=lDDR9AbZ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=w1.fi Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236805AbiCCWVF (ORCPT + 72 others); Thu, 3 Mar 2022 17:21:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236814AbiCCWVD (ORCPT ); Thu, 3 Mar 2022 17:21:03 -0500 Received: from mail.w1.fi (mail.w1.fi [212.71.239.96]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 857E610C513 for ; Thu, 3 Mar 2022 14:20:14 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.w1.fi (Postfix) with ESMTP id 677C110FB7; Thu, 3 Mar 2022 22:20:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at w1.fi Received: from mail.w1.fi ([127.0.0.1]) by localhost (mail.w1.fi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VTscEQw5HsWa; Thu, 3 Mar 2022 22:20:11 +0000 (UTC) Received: by jm (sSMTP sendmail emulation); Fri, 04 Mar 2022 00:20:09 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=w1.fi; s=default; t=1646346011; bh=uxflbfWdCa9NbJ8Gck6IHCJYvQLn/GJaaaj6TtsfIOo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lDDR9AbZS9JLkiaHB/HcHf1ISFajHnbtHMDpBdDmSFnQcIIRjqkgufK6jgzkxp9KP EwsGkhZW+Br+pHHe2xXPjRcCJRkIiWj0QneCI/c6AUUU+bwpj6dfvtSk9+W3hjZejK dFwERQp3HGOwtrz0QbR0TRkUsImoZaGOqhjxF7dPwRvmIMD8jNNiCVfI8oeprqTmeP UAIh8RQXs2nVoYJmS0//yhR20t6mNtODq+AXzgSZB5KxAPjrXYMX6viF+6pJ1rc5yB zycPvKmVxkGR2u1KpiAiXABdwi7+2HLdd/jcJOzDA+JwLtq7eCqQI5RUiTpkhokjrS 3gC9Rx6GLw0LQ== Date: Fri, 4 Mar 2022 00:20:09 +0200 From: Jouni Malinen To: Lorenzo Bianconi Cc: hostap@lists.infradead.org, linux-wireless@vger.kernel.org, nbd@nbd.name, ryder.lee@mediatek.com, evelyn.tsai@mediatek.com, lorenzo.bianconi@redhat.com Subject: Re: [PATCH 8/9] DFS: switch to background radar channel if available Message-ID: <20220303222009.GC33342@w1.fi> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, Dec 20, 2021 at 04:48:23PM +0100, Lorenzo Bianconi wrote: > On radar detection on the main chain switch to the channel monitored > by the background chain if we have already performed the CAC there. Is it clear that the channel on the background chain, if one is available with CAC performed, comply with the ETSI uniform spreading requirements? The comment below feels a bit misleading, but the way patch 5/9 picks the channel for background CAC might be sufficient for this. If so, it would be good to note that in the comment here: > diff --git a/src/ap/dfs.c b/src/ap/dfs.c > +hostapd_dfs_background_start_channel_switch(struct hostapd_iface *iface, > + /* > + * If background radar detection is supported and radar channel > + * monitored by background chain is available switch to it without > + * waiting for the CAC otherwise let's keep a random channel. That first part leaves it a bit open whether the random channel part from the end of the sentence applies in practice for the new operating channel. It is important to make this clearly describe the functionality needed to meet uniform spreading requirement. -- Jouni Malinen PGP id EFC895FA