Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1620604pxb; Fri, 20 Aug 2021 09:44:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycyFjFSfQ9C+8x9CV35Jt/pFEWPHaeFJKbBAR4vSDzFv5SYODulAppQ42ZReSYoohdeN6q X-Received: by 2002:a05:6402:152:: with SMTP id s18mr23035113edu.221.1629477879611; Fri, 20 Aug 2021 09:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629477879; cv=none; d=google.com; s=arc-20160816; b=qydaTGHpjeYj2USc7u90UujfLg66P+aCpVT0GHm9nVczucSvIIWdkfA5u/HoUCb/IC sYoyIRQnHqYPmylCWfjNPVxI0iX3qtqjUIP/q3zUqnd8ljabkxUuNfUfqythI91ezqPc qHgD+q48Z8U/MzzegR354IMUAXTE0pibGywbYm3sxATFXh6R8YJs3LLjOhcd/jgbSH/V 4oMS5n4qDZ8abgRtxd+bCoxmC9rm0T9/3ziX3zbycYGit1+w8D0z9zF+QEw+dVKCmiWy u39E1Ra0oMjSYAd9w0UdLwBw2ct4XmKf9vCDua4m+IIQ5OKMabZxV2anLOANJ2xU8lIl iFJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:organization:subject:from :to:dkim-signature:dkim-filter; bh=D7Gn8AezOwRksuEQjZKG5pGBD7fOn+51Vfs0xvTEIn8=; b=g4FB8YDoZWDy8LATzmUH0GJzjNWkeYAc4X7VNkTNJ4zjllHfVOah8anz0M5YO0GGs6 1PHmPGcvenFqCGri/C+SXVj9DZnzgNoJOOD3/hLEtLSCmg9TurJHALZ33hma0wTe2t83 3j6JeEEQb2wKg6zc5ZLKf6fFfdyLlZdXVsHOJTKLDdqzp+BAqd/+eUXpsaC5pmrn5Ju2 xpF49VN2DMI0QhQbzU+RpS8Fgc6teH1gGmMxkk+dxfSClF2Z/ZD4J3U09lTqA9B3umqm 4wMbGH/2auLMwXVjO0yUDIQLsbuzGc7QEoREQZDQMfgqftl7b/GzxXH8S8/3QWMJAs1c DcIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=jr0moSFJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i1si7328802edc.23.2021.08.20.09.44.10; Fri, 20 Aug 2021 09:44:39 -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; dkim=pass header.i=@candelatech.com header.s=default header.b=jr0moSFJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230520AbhHTQoe (ORCPT + 99 others); Fri, 20 Aug 2021 12:44:34 -0400 Received: from dispatch1-us1.ppe-hosted.com ([67.231.154.164]:60476 "EHLO dispatch1-us1.ppe-hosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbhHTQod (ORCPT ); Fri, 20 Aug 2021 12:44:33 -0400 X-Virus-Scanned: Proofpoint Essentials engine Received: from mx1-us1.ppe-hosted.com (unknown [10.110.51.166]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 8A9441A0065 for ; Fri, 20 Aug 2021 16:43:54 +0000 (UTC) Received: from mail3.candelatech.com (mail2.candelatech.com [208.74.158.173]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 60671900066 for ; Fri, 20 Aug 2021 16:43:54 +0000 (UTC) Received: from [192.168.100.195] (50-251-239-81-static.hfc.comcastbusiness.net [50.251.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id 87CEF13C2B1 for ; Fri, 20 Aug 2021 09:43:53 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 87CEF13C2B1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1629477833; bh=reLbaoW+xv7HVA4OQzl/IXK+kPVoSeKdMEu+xBbVe7s=; h=To:From:Subject:Date:From; b=jr0moSFJCHq1Whgpcz839QQrWNmJ4u1CMytApUD/I+O4WaysuLJykH+dQqr7606kI Q56/5b6Ndk/9ZfXsE9k9MpiCT2OhDRDhfF0Q00kBiFOrHsgz9syPnYM9xblTgTuFMY 7GxHOilDUXVJvBoSx09jtAbiPF5BIgf0M7SdEXDk= To: "linux-wireless@vger.kernel.org" From: Ben Greear Subject: CAC question: DFS -> non-dfs -> DFS Organization: Candela Technologies Message-ID: Date: Fri, 20 Aug 2021 09:43:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-MDID: 1629477835-fC5lSee2o5BR Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello, While poking at the MTK driver and trying to fix some CAC bugs in it, I noticed the following: Select ch 100, which enables DFS CAC logic. Wait for that to finish. Then select CH 36 (disable DFS) Then select ch 100 again, and the chandef->chan->dfs_state is set back to 0 which I think means we must do CAC again. I was expecting in this case that the DFS state would be set to NL80211_DFS_AVAILABLE instead, since CAC just passed a few minutes prior? Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com