Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2344285ybd; Thu, 27 Jun 2019 10:48:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxIcZAlh6lZ7CcaTtBhZ82Mol23IR6zWp7R4pb8oAFh26xVKTooP+gTYef3oQMDtOsuLsD X-Received: by 2002:a17:902:f204:: with SMTP id gn4mr6090026plb.3.1561657697812; Thu, 27 Jun 2019 10:48:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561657697; cv=none; d=google.com; s=arc-20160816; b=c1/S2SJv5HYDXscBFdBYxtC3IzvqmzIk9kTGqKIj2oC/qumpZ6/ey0F0+WPJVkGjPZ kaJAUsG3CqQjJEf4drrfH5spRdREjLcPALr5nrmq2Zc8fSwuCxxcadqMKu+DgAt63GQJ fpMhYQJuChSkj7B4p6khcVnXPLUb2wWjNXJjO0IXKerBZwxrzawkwJgO/sryM68AHtYa EUfMhof/a48lmvPnoBETkaxb/VWLHb5UvSKBHW9Rhmyf0gm7jy4BQoJWEfqERu9egbYF hUpZCPYGB9BJs2ZhmB2CZKcb8t1Epw5XmzQw6NIAmMNaLVBZa5GgfIsLxJbQLOVe/Kat BbLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature; bh=2HBg67dEMpK1q6Yh+8uc9cOs5LlXTFuX3YN6sReFwZM=; b=AOG5H5CHmK6Ffak7Jerg4Nh8Ro8UgKj4IxWUvOGK5d2JwjIChIin5yGHkYSwaI5cae KMi+qXstBhoMSZjKeqk3EXwBt2EK/Ji6AEzayQS7+MhO7JCL88X/5c4lLMFdbApJ1UaL 4iwERygQFYKVfkhx2KPNPdcTbVf7xar1RyZoFnIxUJMxZoMuJYKiUywizHTUxdd2CZGD iXoxAnasyqJ9JG0uHqd2eK6b4go6TNB2fOvksH3FWIg7xwvPshx/BX8lBwPTul7D/cfh PrJl/gbNo+2JD3qGw+nJ5K08m0b6afvTwdTomkyMGXQiRdRjSLUcs0sYVvnzrR9zIkvl PlDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="i/IHB2vT"; dkim=pass header.i=@codeaurora.org header.s=default header.b=g1fK3R8g; 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 y187si2685678pgb.480.2019.06.27.10.48.03; Thu, 27 Jun 2019 10:48:17 -0700 (PDT) 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; dkim=pass header.i=@codeaurora.org header.s=default header.b="i/IHB2vT"; dkim=pass header.i=@codeaurora.org header.s=default header.b=g1fK3R8g; 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 S1726900AbfF0RqW (ORCPT + 99 others); Thu, 27 Jun 2019 13:46:22 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:52392 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726722AbfF0RqW (ORCPT ); Thu, 27 Jun 2019 13:46:22 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 24CD160AD1; Thu, 27 Jun 2019 17:46:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561657581; bh=8/QiJ8OWT6ufL4GhYuoT3gx0n8TN9kD6X9JuL3lTTjk=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=i/IHB2vTa+r/ThI9Wso8spdbT9aSJyQkjQw7l2Tt9mmjitytkXvFflLrdtpsSQOW2 7CQ4UX15HHWRM+KAr9XS6PUqj3aWPuuPWCGPLsLkEt9FG43n1rM2kgdYGHR9ArkkCw iIQ4mXa3Rr/5ZlIRjgziqGRdlW4rz6MNgWrdyffM= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MISSING_DATE,MISSING_MID,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9294C60A0A; Thu, 27 Jun 2019 17:46:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561657580; bh=8/QiJ8OWT6ufL4GhYuoT3gx0n8TN9kD6X9JuL3lTTjk=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=g1fK3R8gbJeCA23A/rvShc2krRrk21dIxvttFgKItVCMgQ5FRrUwCnmCrX3F1GcEZ xyKrKAaRkiJDxNsl/irO9SE4v52l4dYANorsUgFOdHQMQJF7QD9SOm+bFhdV8Qk31k sm9y56P5w96AcuBC0/iSfPdaP549oisVRFvOfCPs= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9294C60A0A Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2] ath9k: correctly handle short radar pulses (fixes 3c0efb745a) From: Kalle Valo In-Reply-To: <20190611133656.16964-1-zefir.kurtisi@neratec.com> References: <20190611133656.16964-1-zefir.kurtisi@neratec.com> To: Zefir Kurtisi Cc: linux-wireless@vger.kernel.org, nbd@nbd.name User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20190627174621.24CD160AD1@smtp.codeaurora.org> Date: Thu, 27 Jun 2019 17:46:21 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Zefir Kurtisi wrote: > In commit 3c0efb745a17 ("ath9k: discard undersized packets") > the lower bound of RX packets was set to 10 (min ACK size) to > filter those that would otherwise be treated as invalid at > mac80211. > > Alas, short radar pulses are reported as PHY_ERROR frames > with length set to 3. Therefore their detection stopped > working after that commit. > > NOTE: ath9k drivers built thereafter will not pass DFS > certification. > > This extends the criteria for short packets to explicitly > handle PHY_ERROR frames. > > Fixes: 3c0efb745a17 ("ath9k: discard undersized packets") > Signed-off-by: Zefir Kurtisi > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. df5c4150501e ath9k: correctly handle short radar pulses -- https://patchwork.kernel.org/patch/10986957/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches