Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6312223ybl; Wed, 15 Jan 2020 02:31:20 -0800 (PST) X-Google-Smtp-Source: APXvYqxH3lTx0aufzaBXmeov3YngjGXdvsNdpAk0IWLveehemtpxVOZJ63hA5DrJSRetNGUYBX8h X-Received: by 2002:a05:6830:1016:: with SMTP id a22mr1285315otp.83.1579084280214; Wed, 15 Jan 2020 02:31:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579084280; cv=none; d=google.com; s=arc-20160816; b=V2v+5LmelmfP91W0QhXkyynenIw3wslnLsPvNCzvVcGSwcrQAoDHwSL8bjp5DsFHQT nXZdGKt/6y+XoL77jaF2O9tTtUwspgqyG9XcbRPgZT/VHqhzWPwC5aT6zwcShlOaXpZj OwrHAztEIM80iCy6n1gKzsk5P3AlIGHn9q8e8ajwW6h9a7kGae1fpeEWn4HixfUA1k0l 8FPdOTS1Zcqym7DyVL0Pf4ujaSaA1BlcCVQea4N/yh3GHX90fkkpENP0KhU8dISqJSnK SO/XBC7dKzfm5LgQWW7xNlWGXokW2fKt1pF4sH3XC4WDnz0CPlX96oLcGIh4Z6vaW1BM +LEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=3kg9eX8fREuwdGjiyYNNpsh99sLh6+EuLg6lJ6l+b4U=; b=HkhBnmqp0beVcFADFNIWIbjkoFw3r24reij3Jj40nVdnY62Htx7oKMATAtYI1aZTkc WCIeLDdn/B7/YYI3lGeiN8oYQFyxtYB6HrEBTlf93l5pT5G4CSaZYQ5yuXaQ1VFZBTNJ Ue7z1aAbp776PTrq5unlALzTavNYZgTwIVOl0p4xH3rrIz4ylx6Qh0FPVh+zUOrzAZq8 ltyEQk8tsZpAqExNKyke5DuFuIz+gGwHerDWPmy8cKT5j+V2J9oqSMcMHIHTp/3Ig9kz BZrOc5hvfcBYXbnthPkE3VEbZV1m3i7N2IgGpLKNxg9HuAg0y1/VxVvzjgJJ8Itj5Wl2 prRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m19si9197492oig.91.2020.01.15.02.30.58; Wed, 15 Jan 2020 02:31:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729714AbgAOK2w (ORCPT + 99 others); Wed, 15 Jan 2020 05:28:52 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:38972 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729657AbgAOK2v (ORCPT ); Wed, 15 Jan 2020 05:28:51 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) (envelope-from ) id 1irfup-008ops-SR; Wed, 15 Jan 2020 11:28:47 +0100 Message-ID: <2244739a6198d56e8f3a81aaa561a0ed1f2e4a25.camel@sipsolutions.net> Subject: Re: [PATCH] subsystem: Fix radar event during another phy CAC From: Johannes Berg To: Kalle Valo , Orr Mazor Cc: "linux-wireless@vger.kernel.org" Date: Wed, 15 Jan 2020 11:28:46 +0100 In-Reply-To: <87d0bl1822.fsf@tynnyri.adurom.net> References: <20191222145449.15792-1-Orr.Mazor@tandemg.com> <87d0bl1822.fsf@tynnyri.adurom.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 (3.34.2-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, 2020-01-15 at 09:40 +0200, Kalle Valo wrote: > Orr Mazor writes: > > > In case a radar event of CAC_FINISHED or RADAR_DETECTED > > happens during another phy is during CAC we might need > > to cancel that CAC. > > If we got a radar in a channel that another phy is now > > doing CAC on then the CAC should be canceled. > > If, for example, 2 phys doing CAC on the same channels, > > or on comptable channels, once on of them will finish his CAC > > the other might need to cancel his CAC, since it is no > > longer relevant. > > > > To fix that the commit adds an callback and implement it in mac80211 > > to end CAC. > > This commit also adds a call to said callback if after a radar > > event we see the cac is no longer relevant > > > > Signed-off-by: Orr Mazor > > The title prefix should be "cfg80211: ", not "subsystem: ". Yeah, but I fixed it when I just applied it :) johannes