From patchwork Thu Feb 19 17:55:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajkumar Manoharan X-Patchwork-Id: 5853381 Return-Path: X-Original-To: patchwork-ath10k@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1E0A79F36A for ; Thu, 19 Feb 2015 17:56:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4EF94202C8 for ; Thu, 19 Feb 2015 17:56:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 50AE0202BE for ; Thu, 19 Feb 2015 17:56:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YOVKI-0007Bs-IR; Thu, 19 Feb 2015 17:55:50 +0000 Received: from wolverine01.qualcomm.com ([199.106.114.254]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YOVKG-00076q-Kk for ath10k@lists.infradead.org; Thu, 19 Feb 2015 17:55:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qti.qualcomm.com; i=@qti.qualcomm.com; q=dns/txt; s=qcdkim; t=1424368549; x=1455904549; h=from:to:cc:subject:date:message-id:mime-version; bh=fPH5tHh1IBEtKiXe38QPNvy++gEdmkXp2ftXjC+Mp4g=; b=myjex/kEcCLGZadqqCK5bcSwvWelqmflUP5yfGEp33ObyKSGlijd0V0q htK1cGgjeefluYrrbaOingViBauFvoc6hUR7f3KK2NS7ETpHKlS5eV/zC J7QH+dnLz/qvTIS8cYiILpx+mSw0HnX+EYIDnulWLKNWhfxHxaJxwSM7L U=; X-IronPort-AV: E=McAfee;i="5600,1067,7717"; a="104283098" Received: from ironmsg02-lv.qualcomm.com ([10.47.202.183]) by wolverine01.qualcomm.com with ESMTP; 19 Feb 2015 09:55:27 -0800 X-IronPort-AV: E=Sophos;i="5.09,609,1418112000"; d="scan'208";a="31798935" Received: from nasanexm02f.na.qualcomm.com ([129.46.53.253]) by ironmsg02-lv.qualcomm.com with ESMTP/TLS/RC4-SHA; 19 Feb 2015 09:55:26 -0800 Received: from aphydexm01b.ap.qualcomm.com (10.252.127.11) by nasanexm02f.na.qualcomm.com (129.46.53.253) with Microsoft SMTP Server (TLS) id 15.0.995.29; Thu, 19 Feb 2015 09:55:24 -0800 Received: from qcmail1.qualcomm.com (10.80.80.8) by aphydexm01b.ap.qualcomm.com (10.252.127.11) with Microsoft SMTP Server (TLS) id 15.0.995.29; Thu, 19 Feb 2015 09:55:17 -0800 Received: by qcmail1.qualcomm.com (sSMTP sendmail emulation); Thu, 19 Feb 2015 23:25:07 +0530 From: Rajkumar Manoharan To: Subject: [PATCH 1/2] ath10k: increase duty cycle maximum limit Date: Thu, 19 Feb 2015 23:25:05 +0530 Message-ID: <1424368506-18193-1-git-send-email-rmanohar@qti.qualcomm.com> X-Mailer: git-send-email 2.3.0 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01B.na.qualcomm.com (10.85.0.82) To aphydexm01b.ap.qualcomm.com (10.252.127.11) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150219_095548_708999_8436ADAC X-CRM114-Status: UNSURE ( 7.57 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.1 (-----) Cc: linux-wireless@vger.kernel.org, Rajkumar Manoharan X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, 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 Allow user to configure the duty cycle upto 100%. Since thermal mitigation algorithm is running in user space, remove the driver level limitation and let the user to control the temperature. Signed-off-by: Rajkumar Manoharan --- drivers/net/wireless/ath/ath10k/thermal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/thermal.h b/drivers/net/wireless/ath/ath10k/thermal.h index bccc17a..5e87d9a 100644 --- a/drivers/net/wireless/ath/ath10k/thermal.h +++ b/drivers/net/wireless/ath/ath10k/thermal.h @@ -19,7 +19,7 @@ #define ATH10K_QUIET_PERIOD_DEFAULT 100 #define ATH10K_QUIET_PERIOD_MIN 25 #define ATH10K_QUIET_START_OFFSET 10 -#define ATH10K_QUIET_DUTY_CYCLE_MAX 70 +#define ATH10K_QUIET_DUTY_CYCLE_MAX 100 #define ATH10K_HWMON_NAME_LEN 15 #define ATH10K_THERMAL_SYNC_TIMEOUT_HZ (5*HZ)