From patchwork Thu Apr 6 20:19:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9668373 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 1C9AD60365 for ; Thu, 6 Apr 2017 20:20:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40538285D3 for ; Thu, 6 Apr 2017 20:20:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 35021285D6; Thu, 6 Apr 2017 20:20:34 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham 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 B7F29285D3 for ; Thu, 6 Apr 2017 20:20:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753821AbdDFUUc (ORCPT ); Thu, 6 Apr 2017 16:20:32 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:35603 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755247AbdDFUUM (ORCPT ); Thu, 6 Apr 2017 16:20:12 -0400 Received: by mail-oi0-f68.google.com with SMTP id d2so8884861oig.2 for ; Thu, 06 Apr 2017 13:20:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=6QNb6wrthainCr2YNMw2kGCaBpwfLL6tWWL3gWY716g=; b=OpmU/TQwmHeYkH+iwoZxKvT05Ia6Dqw6i14mtMO/ygs8UbM2tEBvmMysqkHpyqi9Wt Uluh14I7jsGiS7z9k8TlWMYGX5WEbwNA0qb78tzSieqrcki+yu5SkWtkxTDd6mUAXwvr 4Ikoglpji/fDdEyHCxEkFLjsmARH4lwt/5yW6cim1qsOuY3VmFttyFXXmxmewM3iU9hj 6pQhsC7IJdejbX/mqMnRQrFviPIvYI4Sjxi23xjS0D4iW3uTQE87v1RsQUOWk7TR5mf1 J3GNoIYNFct/m8vVcNuh+ExScAoQyzpaxm0wHGa9Psa+eYxHsIaolrcks/g1aZRMZxbf xtFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=6QNb6wrthainCr2YNMw2kGCaBpwfLL6tWWL3gWY716g=; b=JO+CO4LNZ0t3xpdNDEGuWGr6pbQvkDrB1F4/lXzL9oiGUco1igzFY9c3FJxMsXHb62 xHHIdDTobItVmaRhl7g7wvy+hHyZ9hHrSeSvhtG5TemS/iP1CS+4dMJ1pXQfEorMlbGb N0jHIw1mBwKbc15rmiX8kewym+JaGnWF4eolcB9KLQrO696iZgIg+VvSyGNmAqgiPC6Y Si9jFUIAb/FjObJaflBEyhFJ0GSvH85dP38hXXdd/dhCjCtJa1BPp+SBKkkq+S+UNJ2L PxxBPG8cLhReoq7J1q1hLH/iZJwCE+TQIDKRpoBltcuWI9BRPTfaqmqo3UcShH3G21Mh FkDA== X-Gm-Message-State: AFeK/H2VX8vRZmbircJ9UycyE/aniaMlxmSyz8VABDb3yEo44dys2qRKvE3xD0xZM6e0Kw== X-Received: by 10.202.221.135 with SMTP id u129mr18958676oig.49.1491510011244; Thu, 06 Apr 2017 13:20:11 -0700 (PDT) Received: from linux-4v1g.suse (cpe-24-31-249-175.kc.res.rr.com. [24.31.249.175]) by smtp.gmail.com with ESMTPSA id j88sm1116558otc.22.2017.04.06.13.20.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Apr 2017 13:20:10 -0700 (PDT) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, Yan-Hsuan Chuang , Larry Finger , Pkshih , Birming Chiu , Shaofu , Steven Ting Subject: [PATCH 09/11] rtlwifi: btcoex: 23b 2ant: fine tune for bt hid_a2dp Date: Thu, 6 Apr 2017 15:19:56 -0500 Message-Id: <20170406201958.25642-10-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170406201958.25642-1-Larry.Finger@lwfinger.net> References: <20170406201958.25642-1-Larry.Finger@lwfinger.net> 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: Yan-Hsuan Chuang Let bt control the aggregation size to improve stability. Signed-off-by: Yan-Hsuan Chuang Signed-off-by: Larry Finger Cc: Pkshih Cc: Birming Chiu Cc: Shaofu Cc: Steven Ting --- drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c index a76c8d20e093..9092de2d2c7c 100644 --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c @@ -3355,7 +3355,7 @@ static void btc8723b2ant_action_hid_a2dp(struct btc_coexist *btcoexist) btcoexist->btc_set_rf_reg(btcoexist, BTC_RF_A, 0x1, 0xfffff, 0x0); - btc8723b2ant_limited_rx(btcoexist, NORMAL_EXEC, false, false, 0x8); + btc8723b2ant_limited_rx(btcoexist, NORMAL_EXEC, false, true, 0x5); btc8723b2ant_fw_dac_swing_lvl(btcoexist, NORMAL_EXEC, 6); btcoexist->btc_get(btcoexist, BTC_GET_U4_WIFI_BW, &wifi_bw);