From patchwork Sun Nov 12 12:48:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramon Fried X-Patchwork-Id: 10054771 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 3324560365 for ; Sun, 12 Nov 2017 12:49:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1791829872 for ; Sun, 12 Nov 2017 12:49:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BE562994B; Sun, 12 Nov 2017 12:49:16 +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=unavailable 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 9547129872 for ; Sun, 12 Nov 2017 12:49:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751135AbdKLMs5 (ORCPT ); Sun, 12 Nov 2017 07:48:57 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:52990 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbdKLMs4 (ORCPT ); Sun, 12 Nov 2017 07:48:56 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BE06C60600; Sun, 12 Nov 2017 12:48:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510490935; bh=dhSLtufl0/gXlCXvxgwEIDs9Ytme4DXm07vsgjNk47I=; h=From:To:Cc:Subject:Date:From; b=ag2QLRjMYSEfK9+FkP/gxwdXsA/9mf6CfQ5PO+fwrl8zA5HXM4gfbs/NnIzSeem2Z 8v0Gj6f3duLNynDq6pH+tYjW9rVkdGBLWXJwmxlHb5yzoPlpXDTBfoJL9iYe3B9B1O ZqEaeBfawrMtdHfpdKv5BCrXExGGLK4HvCjfUpYM= Received: from lx-rfried.mea.qualcomm.com (unknown [185.23.60.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rfried@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id B8FEF6055B; Sun, 12 Nov 2017 12:48:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510490935; bh=dhSLtufl0/gXlCXvxgwEIDs9Ytme4DXm07vsgjNk47I=; h=From:To:Cc:Subject:Date:From; b=ag2QLRjMYSEfK9+FkP/gxwdXsA/9mf6CfQ5PO+fwrl8zA5HXM4gfbs/NnIzSeem2Z 8v0Gj6f3duLNynDq6pH+tYjW9rVkdGBLWXJwmxlHb5yzoPlpXDTBfoJL9iYe3B9B1O ZqEaeBfawrMtdHfpdKv5BCrXExGGLK4HvCjfUpYM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B8FEF6055B 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=rfried@codeaurora.org From: Ramon Fried To: kvalo@codeaurora.org Cc: k.eugene.e@gmail.com, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, nicolas.dechesne@linaro.org, Eyal Ilsar , Ramon Fried Subject: [PATCH] wcn36xx: Set BTLE coexistence related configuration values to defaults Date: Sun, 12 Nov 2017 14:48:24 +0200 Message-Id: <1510490904-21255-1-git-send-email-rfried@codeaurora.org> X-Mailer: git-send-email 1.9.1 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: Eyal Ilsar Signed-off-by: Eyal Ilsar Signed-off-by: Ramon Fried --- drivers/net/wireless/ath/wcn36xx/main.c | 2 +- drivers/net/wireless/ath/wcn36xx/smd.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index b83f01d..0d4ed41 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -27,7 +27,7 @@ #include #include "wcn36xx.h" -unsigned int wcn36xx_dbg_mask; +unsigned int wcn36xx_dbg_mask = WCN36XX_DBG_NONE; module_param_named(debug_mask, wcn36xx_dbg_mask, uint, 0644); MODULE_PARM_DESC(debug_mask, "Debugging mask"); diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index 9c6590d..1c75987 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -72,8 +72,10 @@ struct wcn36xx_cfg_val { WCN36XX_CFG_VAL(DYNAMIC_PS_POLL_VALUE, 0), WCN36XX_CFG_VAL(TX_PWR_CTRL_ENABLE, 1), WCN36XX_CFG_VAL(ENABLE_CLOSE_LOOP, 1), - WCN36XX_CFG_VAL(ENABLE_LPWR_IMG_TRANSITION, 0), + WCN36XX_CFG_VAL(BTC_STATIC_LEN_LE_BT, 120000), + WCN36XX_CFG_VAL(BTC_STATIC_LEN_LE_WLAN, 30000), WCN36XX_CFG_VAL(MAX_ASSOC_LIMIT, 10), + WCN36XX_CFG_VAL(ENABLE_LPWR_IMG_TRANSITION, 0), WCN36XX_CFG_VAL(ENABLE_MCC_ADAPTIVE_SCHEDULER, 0), };