From patchwork Fri Feb 23 11:36:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sriram R X-Patchwork-Id: 10237459 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 937E260209 for ; Fri, 23 Feb 2018 11:36:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8088D29524 for ; Fri, 23 Feb 2018 11:36:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 756AC29533; Fri, 23 Feb 2018 11:36:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 69B3429524 for ; Fri, 23 Feb 2018 11:36:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751420AbeBWLg3 (ORCPT ); Fri, 23 Feb 2018 06:36:29 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:44764 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910AbeBWLg2 (ORCPT ); Fri, 23 Feb 2018 06:36:28 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 6220B607C6; Fri, 23 Feb 2018 11:36:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519385788; bh=MhPYDNMzPww2z/5FvYT9yX3vwHkgj/GDPOYzRyVRcNo=; h=From:To:Cc:Subject:Date:From; b=NOXMDzKw1Fq3RIoYFeiRRZSiz4T7mfafqGjfCJP/5SopPXrnG5Eg/JRDiCCa7lDJM ZL2eCltbwe2zhbGDR3f1xyskWr5shuo2FQZkPb1rhfiwJ7orTL4Jb6UKBP8x5VJSUI GwuDBvJLma6ehnZ96gd+gKtMQl7B1MHtuy8Q2x6Q= Received: from localhost (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: srirrama@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 246D9606DC; Fri, 23 Feb 2018 11:36:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519385787; bh=MhPYDNMzPww2z/5FvYT9yX3vwHkgj/GDPOYzRyVRcNo=; h=From:To:Cc:Subject:Date:From; b=golzDuTxFA6BTB75WOCPLT7osXzJVMXA10svhCa8lxAQJj0vmPAR/Uz1kYsF1rkj+ XxU/E0+xQZmi7SyHW94IOM8dr1ces9geRM2z/EiAexaT6seAGSqQDYN2YPgAG1f4Rw rw7il6y53myjXIv9X1cz0IFENg8P2dTREsderBCY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 246D9606DC 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=srirrama@codeaurora.org From: srirrama@codeaurora.org To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Sriram R Subject: [PATCH] ath: fix false radar detection in JP region Date: Fri, 23 Feb 2018 17:06:19 +0530 Message-Id: <1519385779-25816-1-git-send-email-srirrama@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sriram R This fixes false radar detection (of radar type 7) in Japan region by correcting the radar pulse type to Chirp as per specification. Signed-off-by: Sriram R --- drivers/net/wireless/ath/dfs_pattern_detector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/dfs_pattern_detector.c b/drivers/net/wireless/ath/dfs_pattern_detector.c index 4100ffd..448b83e 100644 --- a/drivers/net/wireless/ath/dfs_pattern_detector.c +++ b/drivers/net/wireless/ath/dfs_pattern_detector.c @@ -115,7 +115,7 @@ static const struct radar_detector_specs jp_radar_ref_types[] = { JP_PATTERN(4, 0, 5, 150, 230, 1, 23, 50, false), JP_PATTERN(5, 6, 10, 200, 500, 1, 16, 50, false), JP_PATTERN(6, 11, 20, 200, 500, 1, 12, 50, false), - JP_PATTERN(7, 50, 100, 1000, 2000, 1, 3, 50, false), + JP_PATTERN(7, 50, 100, 1000, 2000, 1, 3, 50, true), JP_PATTERN(5, 0, 1, 333, 333, 1, 9, 50, false), };