Return-path: Received: from mail-wg0-f49.google.com ([74.125.82.49]:42125 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752892AbbBHNRu (ORCPT ); Sun, 8 Feb 2015 08:17:50 -0500 Received: by mail-wg0-f49.google.com with SMTP id k14so21782799wgh.8 for ; Sun, 08 Feb 2015 05:17:49 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1420645811-17877-1-git-send-email-eliad@wizery.com> <1420645811-17877-3-git-send-email-eliad@wizery.com> <20150207115758.GA503@w1.fi> Date: Sun, 8 Feb 2015 14:17:49 +0100 Message-ID: (sfid-20150208_141754_003991_76752CE4) Subject: Re: [PATCH v2 3/3] mac80211: don't defer scans in case of radar detection From: Janusz Dziedzic To: Eliad Peller Cc: Jouni Malinen , "linux-wireless@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 8 February 2015 at 11:57, Eliad Peller wrote: > On Sat, Feb 7, 2015 at 9:17 PM, Janusz Dziedzic > wrote: >> BTW, what in case we will start AP on first interface (DFS channel), >> on second one we will try to connect to other AP. As I understand this >> correctly, second iface (STA iface) will not allow to scan (connect) >> ...? >> > right. > The rationale behind it that you must listen constantly to detect > radar events, which prevents scanning off-channel. > (i guess an exception for on-channel scanning can be added if needed, though) > Still I can image hw with hw_scan() support that could have dedicated "hw part" for scanning. So, driver should made this decision (allow or not) base on hw features. BR Janusz >> Other case, what if we start DFS AP and allow to scan in AP mode (eg >> for ACS purpose, allow to choose better channel and do CSA ...)? > ditto. you just have to make sure you keep listening on the operating channel. > > Eliad.