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: 10237461 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 6CBA360209 for ; Fri, 23 Feb 2018 11:37:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DDC729532 for ; Fri, 23 Feb 2018 11:37:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 523672953B; Fri, 23 Feb 2018 11:37:26 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D478F29532 for ; Fri, 23 Feb 2018 11:37:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=U0j/9IiXehAnOSsbUEZurAQkyGrM/zdAb1Ec8K/UHCo=; b=SMt ib0kapPwTEBr9tkMqhUSWliX02J+qhA2i/E00NCJIVHClGplHt4WWl2Q153a0QLqtoSd5mT80S16g 94FZ8/CwszaFrgbryB+8zLnyawAAAsxgLRIlGg/e+JJdAWUVOH2RaLJD4EwgcvhDaldplV5m7Zaft rGEN27JgKlFnJw6g04fdkV0A7BIoUoZhdg2JSyaFwOjoXVFg5GkdV4Uuk1XS1PYtJ1r9DlXvLIjex kUtfX5jAi/QJVfzTJ1ah8URsMIsIKtjKWaVJ45nIVhQ6/FsMKz8prVdhaMQC0Y2MdyaRl0Vyuk2BN hJd5A4tPwve6hp6Zw3LTxhuo0Pik32A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1epBf5-0003RF-N2; Fri, 23 Feb 2018 11:37:11 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1epBeZ-00034s-TU for ath10k@lists.infradead.org; Fri, 23 Feb 2018 11:36:55 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2F906609EF; 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180223_033640_227807_9F7571E6 X-CRM114-Status: UNSURE ( 9.05 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, Sriram R MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.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), };