From patchwork Tue Mar 31 18:16:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Oh X-Patchwork-Id: 6133291 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2D569BF4A6 for ; Tue, 31 Mar 2015 18:18:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 62AED20155 for ; Tue, 31 Mar 2015 18:18:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4356520142 for ; Tue, 31 Mar 2015 18:18:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753829AbbCaSSE (ORCPT ); Tue, 31 Mar 2015 14:18:04 -0400 Received: from wolverine02.qualcomm.com ([199.106.114.251]:61697 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754063AbbCaSRp (ORCPT ); Tue, 31 Mar 2015 14:17:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1427825867; x=1459361867; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=FX6aUhwytiKCTrgmtO9Ix+iFd9JwvnNRvw8TSOLwvcQ=; b=I/3x5sM/YGRuEigGScse1SIFGIwYitqgbwgps/BuZsRu9gI3ctJVb/cg 8bc5wYH50eaLQ6RAHPyzytXpfDgz6N2MilHclEsEzhlvpZ8c8KOk4ksFp Bd3BBrQg9OmV6H+BxsZAxYVAMDA3UENzmPnBH15JOjw2v0XTfSzEbitlH g=; X-IronPort-AV: E=McAfee;i="5700,7163,7757"; a="203345401" Received: from ironmsg01-lv.qualcomm.com ([10.47.202.180]) by wolverine02.qualcomm.com with ESMTP; 31 Mar 2015 11:17:46 -0700 X-IronPort-AV: E=Sophos;i="5.11,502,1422950400"; d="scan'208";a="32747633" Received: from nasanexm01b.na.qualcomm.com ([10.85.0.82]) by ironmsg01-lv.qualcomm.com with ESMTP/TLS/RC4-SHA; 31 Mar 2015 11:17:44 -0700 Received: from poh-linux2.qualcomm.com (10.80.80.8) by NASANEXM01B.na.qualcomm.com (10.85.0.82) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Tue, 31 Mar 2015 11:17:37 -0700 From: Peter Oh To: CC: Subject: [PATCH 2/2] ath: lower JP W53 band DFS detection threshold around 30% Date: Tue, 31 Mar 2015 11:16:25 -0700 Message-ID: <1427825785-21389-2-git-send-email-poh@qca.qualcomm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427825785-21389-1-git-send-email-poh@qca.qualcomm.com> References: <1427825785-21389-1-git-send-email-poh@qca.qualcomm.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01F.na.qualcomm.com (10.85.0.32) To NASANEXM01B.na.qualcomm.com (10.85.0.82) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Japan's W53 band requires 50% data traffic during its DFS test, but WLAN baseband used by ath9k and ath10k is not able to achieve current threshold rate, 50%, under the data traffic rate. In other words, HW occasionally fails detecting radar pulses, so that SW cannot get enough radar reports to achieve the rate. Signed-off-by: Peter Oh --- drivers/net/wireless/ath/dfs_pattern_detector.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/dfs_pattern_detector.c b/drivers/net/wireless/ath/dfs_pattern_detector.c index 8d1e082..7ad1932 100644 --- a/drivers/net/wireless/ath/dfs_pattern_detector.c +++ b/drivers/net/wireless/ath/dfs_pattern_detector.c @@ -105,8 +105,8 @@ static const struct radar_types fcc_radar_types = { PPB_THRESH_JP(PPB, RATE), PRI_TOLERANCE, CHIRP \ } static const struct radar_detector_specs jp_radar_ref_types[] = { - JP_PATTERN(0, 0, 1, 1428, 1428, 1, 18, 50, false), - JP_PATTERN(1, 2, 3, 3846, 3846, 1, 18, 50, false), + JP_PATTERN(0, 0, 1, 1428, 1428, 1, 18, 29, false), + JP_PATTERN(1, 2, 3, 3846, 3846, 1, 18, 29, false), JP_PATTERN(2, 0, 1, 1388, 1388, 1, 18, 50, false), JP_PATTERN(3, 1, 2, 4000, 4000, 1, 18, 50, false), JP_PATTERN(4, 0, 5, 150, 230, 1, 23, 50, false),