Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3325553ybt; Mon, 29 Jun 2020 23:08:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztc77Q1AykK8ajoAjYq+sXgB5k1618xZ3pbF8Tkyp+B96Aiff+Q1XW/gHdOuktdJljhmL+ X-Received: by 2002:a17:906:27c9:: with SMTP id k9mr16558298ejc.74.1593497312755; Mon, 29 Jun 2020 23:08:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593497312; cv=none; d=google.com; s=arc-20160816; b=UkDc434uacQg2KuNNpabNM9ljBjpHFbKjb59UucjBANQEiqkjD2gYLS/eL5al/pfYW ElPI3Dc0AGpUJQzQDflhoPkcRpjS0rH7WnALwOqv6yA8usIKvXFsltLAVRP5YIQEIXiI 2e3/aey4lTDY7ymiCmM53GEqXH1uIcYCh1WA2aafgbF9d1b0q43mojfTzldRMH9Mzxtr IumM3xeQ0Umh/ULLD+XzfBop3ZE8CXrJmfdOw1upoeE4ROiosI4pXCf+zCBrv/YtVPkg iM831A7F+aWugxPtcZ6Nk+z22bqzar1Alk5mOXZNMM5XVET+hc7xjvWY6P/9sPNDaQJv AcBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject; bh=A3WQ2IXDEyJCU+k+h4wp/TplqB5feRAeXrkdPP/7sgQ=; b=O0BPBpuLVy0dt+HYnm9PQkNvC3L8ZDsLT3a6zJYlebzsXwTORNtY280g9PX3oQz3QE AjfbGncCANb/M8oWc+kYGHTFimGUIvX4xM+AliizKneWs1Ix2f4zpoVZUzIw+uV72XVX PKpvPubrJVmyN2O66TQzT+9VvqsQo7Ers9Rrp7ZKEQBVOlk5I2XEtnMOpBmYf/QbSn2R pKCsZH8klxluR5x34+hdTPrnI9PRraUk3uw4T+l91v1z20xGy4dIPZJpAsk/zKz23Hr5 Ur071luS2o7Mf0HhbSydI9Wbkrd6T56tuU2fneA2jW5595DMaGtwU+C6ykMW1Wybu9A8 EZuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cb18si1143890ejb.534.2020.06.29.23.07.57; Mon, 29 Jun 2020 23:08:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726575AbgF3GFN (ORCPT + 99 others); Tue, 30 Jun 2020 02:05:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726047AbgF3GFN (ORCPT ); Tue, 30 Jun 2020 02:05:13 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C99A6C061755 for ; Mon, 29 Jun 2020 23:05:12 -0700 (PDT) Received: from [2a04:4540:1401:f200:538:2dce:6e38:ac54] by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1jq9OH-0000IW-SH; Tue, 30 Jun 2020 08:05:09 +0200 Subject: Re: RFC: Remote Off-Channel CAC for DFS To: Markus Theil , Johannes Berg , linux-wireless@vger.kernel.org References: <99ae192566a7c5ae91c6ee92b8c4ddb41a29e34e.camel@sipsolutions.net> <9f36bb56-8aa6-e759-5024-cfe5e58e41cf@tu-ilmenau.de> From: John Crispin Message-ID: Date: Tue, 30 Jun 2020 08:05:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <9f36bb56-8aa6-e759-5024-cfe5e58e41cf@tu-ilmenau.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 29.06.20 22:00, Markus Theil wrote: > On 6/29/20 9:35 PM, Johannes Berg wrote: >> Hi, >> >> On Mon, 2020-06-29 at 19:40 +0200, Markus Theil wrote: >>> When using DFS channels, it would be nice, if I could dedicate a small >>> amount of interfaces only to CAC checking channels and set them >>> available or unavailable on multiple other remote APs/Mesh Points in >>> order to use them, when switching to lower utilized channels without >>> going through a full CAC. >>> >>> Whats the opinion on the mailing list about adding a new command to >>> nl80211 in order to set the DFS state of a currently not used channel >>> after a Off-Channel CAC on another device nearby, but not on the same >>> host? The parameters would roughly be the same as for a channel switch >>> and an additional DFS channel state. Internally, I would trigger the DFS >>> state sync code between multiple interfaces. >> But wait, don't we already sync this within the kernel? > Yes, the kernel already syncs this between interfaces on the same host. > I'd just like to sync between multiple hosts, in order to make use of > fast switches to other DFS channels in a mesh network (in my case), if > some other node nearby already had performed a DFS CAC of a particular > channel and sync this state between hosts. This might work on ETSI but certainly not on FCC. With the latest changes in regulation zero wait dfs is de-facto no longer possible in the FCC domain. the BSS is expected in FCC to do CAC and then has a 2s grace period to start transmitting on said channel. If it fails to do so the kernel will automatically switch the channel back to usable. That being said, even in ETSI a distributed non-occupancy list is questionable as the BSSs might be quite far apart in your mesh and one APs CAC might not produce the same as another. In the ETSI domain the best thing to do is trigger 4 wideband scans on boot. this will cost you 4 minutes but the channels will then be free forever, until you detect a radar pulse.     John