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: 5853361 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@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 4D5799F36A for ; Thu, 19 Feb 2015 17:55:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8E9C9202C8 for ; Thu, 19 Feb 2015 17:55:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7AF2B202BE for ; Thu, 19 Feb 2015 17:55:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752120AbbBSRz1 (ORCPT ); Thu, 19 Feb 2015 12:55:27 -0500 Received: from wolverine02.qualcomm.com ([199.106.114.251]:38364 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751736AbbBSRz1 (ORCPT ); Thu, 19 Feb 2015 12:55:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qti.qualcomm.com; i=@qti.qualcomm.com; q=dns/txt; s=qcdkim; t=1424368527; x=1455904527; h=from:to:cc:subject:date:message-id:mime-version; bh=fPH5tHh1IBEtKiXe38QPNvy++gEdmkXp2ftXjC+Mp4g=; b=tmBSuhVlJba7iDq7k5h9dpWjiFo9lPYL97ZoXK1/ok8bxeJ4GPBMf66W Ek4e4GBhsw9/Nl1k6IS8lyRNr/Pm5zYTbcEGHChLZI016KBsr7o6Tk1u0 6bwaBi0KvU4yRztnRSXMwm1Ei4G51Zfse3v20wMEWJmO9NWJYpLXv9K78 c=; X-IronPort-AV: E=McAfee;i="5600,1067,7717"; a="196284575" Received: from ironmsg02-lv.qualcomm.com ([10.47.202.183]) by wolverine02.qualcomm.com with ESMTP; 19 Feb 2015 09:55:26 -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: CC: , Rajkumar Manoharan 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) 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 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)