Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2254407pxm; Fri, 4 Mar 2022 12:25:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxCdK8BqxhXVjQ/o7juhzEIHA6QaYrpOsv7eN44sPsASl/8H0mRF8G2E+e87a02/yPmle7 X-Received: by 2002:a63:5366:0:b0:376:6e72:e9ff with SMTP id t38-20020a635366000000b003766e72e9ffmr127736pgl.1.1646425512976; Fri, 04 Mar 2022 12:25:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646425512; cv=none; d=google.com; s=arc-20160816; b=xKFbQsB5UwtC2fXzv53r3NY7q8pAOWDCrz0/rVg+dSObsqvCS6mDHBrQS3hNIzg/8L 2rhaaksE9qNw+H2TMjsTG3/KDj9ZEJNNHidaax2K3SpgFO39QrkzJkloXAo/8AK2g3xk bsZxsuFtbxYA3jEL6gCNrYSXbsix6ZqUfl7K9TLHxigpPaBaPd0D4I+uCes1yYTTHFTv JrXIkJgr6X0HWFMR3uh8Z3joBBYueDZKSuZuoToaiXuuJMorFJjD/5m5X4Wl4VBa/xjE aVY08YzM19i8wD5oQtw0mPKq9+ezbQGlSr4MNCUMwAtcsDDL5bqv25A3QLMaJRy5hNsd 5d+A== 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=Wz6z65dkHPdQyQ0pWYfJjraXVAkrYsdmyBNYDdC7B3o=; b=mOCfo+MWGNCyplR6FbQdH7nHc4cI7b3HtoeZL/PtcIiPuaJ+gZg/MDPSMXZTEXGPzG v+kT8LLTqAgVQ2KC0eDiscQf2c1YpBn3Q/FbVxv5HTlI9Ry19ZZHZagpf5biRo1DuhuX vCWtEPPt3G3TpI8sb6f6uzNJ/5rVSw5y99QYwkFce87MQZxL+/cXpSr3z+ztkWyDg0lk dZvq1dSBTg66qVFIIrIaxRGQy2fJvWxN6MJpXPjLcSJ+AkRN0CoECuRfPzXNbTGoFiFL QWKn+4nv8aD/ZT2fGtII6qBDPnSh3KGjtKAnTyzYnpxPxiniZ4F7ZqFjAAOP1Q9JUi6E IhDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QdYyHR0U; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id i3-20020a170902cf0300b00151a6fddfb1si5603855plg.166.2022.03.04.12.25.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 12:25:12 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QdYyHR0U; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EA10CEBBA3; Fri, 4 Mar 2022 11:33:11 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232660AbiCDNrc (ORCPT + 72 others); Fri, 4 Mar 2022 08:47:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230415AbiCDNrb (ORCPT ); Fri, 4 Mar 2022 08:47:31 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DB5981B84FF for ; Fri, 4 Mar 2022 05:46:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646401603; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Wz6z65dkHPdQyQ0pWYfJjraXVAkrYsdmyBNYDdC7B3o=; b=QdYyHR0U21N23UpJGoKKqyOwA2n2vWh3s8Azg8zO5E9YZHcy9hufT9B+evb3EeH5+0tL/Y J7eKvgxbYIZp96xkT2+RQmaixTUshPSybI8EGlnxtnYDw4Fpi97eT47DBgwAO4OU3Y1DGg RfxJrVnaDVLbNbW6Jjpt6pRdTIzuZtQ= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-380-2IXCLo0fMt-yenot6_QCfg-1; Fri, 04 Mar 2022 08:46:39 -0500 X-MC-Unique: 2IXCLo0fMt-yenot6_QCfg-1 Received: by mail-wm1-f71.google.com with SMTP id 14-20020a05600c104e00b003897a167353so567057wmx.8 for ; Fri, 04 Mar 2022 05:46:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Wz6z65dkHPdQyQ0pWYfJjraXVAkrYsdmyBNYDdC7B3o=; b=I/A7NUZxHpm5xfWa3tzO2rWmX0Mf7/87TRbJXdb5kr/H88/FsTRjTlZQ1KJ8tXwlFh 5N6io0fk578+inTw7vyztdw/VvlxNbn45ajOE2XNcEWnugesWnjB6XQDrhIGhw4rlQDA zWQZcW0s4SPoVziJna/UoHZolB+ASe3YWjXUwZhEMRnPYkSRwcBRjEgdAkgg3pqg30II jRl/vlwM+psItXGDTdAw/YA/JqZzlq31LFOTgMKs5CsOEghFncXVBugmQf1NkuBJ1uLU 1NdXjWwiSUf/oIjrL38KWMThpB5fs8KWhmsQ+PD//2EyDjS19AKUf2sUdHfF0gJsofEv 9IRg== X-Gm-Message-State: AOAM530GGuKtnvH8Ovt1JOZQK0NhGGRAJxMSXe8sDX0nePSDNe4pC4/P ddda9ugPgdbZDkOcXJetOb8BWbyBfE4egWkTgV+5866ibgwCmtnOYB9QR2BkonV9xZvHyUu9pZK rAosqu7H4ENINnGs5m0d/08NjiJQ= X-Received: by 2002:a1c:730e:0:b0:381:103f:d6d9 with SMTP id d14-20020a1c730e000000b00381103fd6d9mr7678756wmb.46.1646401598464; Fri, 04 Mar 2022 05:46:38 -0800 (PST) X-Received: by 2002:a1c:730e:0:b0:381:103f:d6d9 with SMTP id d14-20020a1c730e000000b00381103fd6d9mr7678747wmb.46.1646401598217; Fri, 04 Mar 2022 05:46:38 -0800 (PST) Received: from localhost ([37.183.9.66]) by smtp.gmail.com with ESMTPSA id e15-20020a5d6d0f000000b001ef7dca67fasm5365891wrq.114.2022.03.04.05.46.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 05:46:37 -0800 (PST) Date: Fri, 4 Mar 2022 14:46:35 +0100 From: Lorenzo Bianconi To: Jouni Malinen Cc: Lorenzo Bianconi , hostap@lists.infradead.org, linux-wireless@vger.kernel.org, nbd@nbd.name, ryder.lee@mediatek.com, evelyn.tsai@mediatek.com Subject: Re: [PATCH 8/9] DFS: switch to background radar channel if available Message-ID: References: <20220303222009.GC33342@w1.fi> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0kc95zljO+Fjl9/s" Content-Disposition: inline In-Reply-To: <20220303222009.GC33342@w1.fi> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 --0kc95zljO+Fjl9/s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > 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. >=20 > 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: ack, got your point here. We should force channel_type to DFS_ANY_CHANNEL for ETSI regdmain in hostpad_dfs_update_background_chain() and not just DFS_NO_CAC_YET. I will fix it in next revision. Thanks. Regards, Lorenzo >=20 > > diff --git a/src/ap/dfs.c b/src/ap/dfs.c > > +hostapd_dfs_background_start_channel_switch(struct hostapd_iface *ifac= e, >=20 > > + /* > > + * 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. >=20 > 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. >=20 > --=20 > Jouni Malinen PGP id EFC895FA >=20 --0kc95zljO+Fjl9/s Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCYiIYOwAKCRA6cBh0uS2t rMAtAQC74SmxQqvKrUhntSYvQS7xZI7Pal1eDgmxft1dG45NVQD/Yf0bqfb6g8Ug u6QcANGr+2IzTV/KuLVZgQAySVF4Ngc= =Bs87 -----END PGP SIGNATURE----- --0kc95zljO+Fjl9/s--