From patchwork Mon Apr 17 00:06:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9683303 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 E60C3601C2 for ; Mon, 17 Apr 2017 00:07:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D782C27BA5 for ; Mon, 17 Apr 2017 00:07:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC86F27D4D; Mon, 17 Apr 2017 00:07:25 +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=-4.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID, URIBL_BLACK 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 767F327BA5 for ; Mon, 17 Apr 2017 00:07:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932316AbdDQAHW (ORCPT ); Sun, 16 Apr 2017 20:07:22 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:32906 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756972AbdDQAHM (ORCPT ); Sun, 16 Apr 2017 20:07:12 -0400 Received: by mail-oi0-f68.google.com with SMTP id a189so578887oib.0 for ; Sun, 16 Apr 2017 17:07: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=OVIim6Uxf6Q3gp0yMX+8BDoDD/tAxHooZvyw2jWz7qM=; b=CWtsFapfMwqsx+ISQuJwkXP15sXUQZhml2HtRr5r/IbqMJPdWMplMYjc7mQDmWglQo BYc8isc+135ifx0jY0tEem/iqSfYTGwpku3BS1Af2/WwG/FLsz1fdVywFHporeQqUqkU MZx5zfB8f0QgT1IYumPtpiUN2Ye542wwUrvLCuxspyGwXgelg36YKgXIWAtPMDgLm04+ YHGjgaFKZ37bR9OwJVOOjGR8X0ukznCGDso4uHNxPs2ucou3JDlDOygdlmeEuTPBYSQR vFg6lGvMN9Pybo6yUgK4CsuoJ8R7JOgVdcFOos8rEExqW3veNtxVSGJU+r6WA1TnjcSc k9ew== 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=OVIim6Uxf6Q3gp0yMX+8BDoDD/tAxHooZvyw2jWz7qM=; b=o7O8oScjGILrhkRRC8HLkqKsA2c425CJT2HJVSg1T+dqRMbG27Iu+UPj9ky1G6w1am nJNbmZTfUNKvqTqqKZInlW/Wb0Bd+/VB8tXw0xHdrFYSEAXchzEUAh++0aAM1K6o9GKE LsckcYazdve1mM/Uv04kOVFG8H/vK3oa0r3NHWNAKelaZqmGUJVvg2eKYKq5UZ/ww7BZ +sLAuR+AiNoZNmPWBCe7R0sZhS0q+TnANt8r9sFbgcmGWNvQ4PlYiMqnFm3rU/vgdE1M mRvLOZBHQP5TUNBnKXStFW6rkUhHRoZantTqLinWQsDaum3Q+5yUflmF6TDSsb3S+UBE P/dw== X-Gm-Message-State: AN3rC/5ikWMhfbDdCpP8xs1S0wAi+kK/KV9uXvau8Zz3Bc0k4iO6K9aN +NLX4PKrjps2fA== X-Received: by 10.202.67.195 with SMTP id q186mr3197888oia.61.1492387631989; Sun, 16 Apr 2017 17:07: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 v49sm3963286otb.13.2017.04.16.17.07.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 16 Apr 2017 17:07:11 -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 07/13] rtlwifi: btcoex: 21a 1ant: normal mode for retry limit when connected Date: Sun, 16 Apr 2017 19:06:54 -0500 Message-Id: <20170417000700.29057-8-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170417000700.29057-1-Larry.Finger@lwfinger.net> References: <20170417000700.29057-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 When wifi is connected, use normal mode to set retry limit. 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/halbtc8821a1ant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c index 0877ca020e63..5b624e76303d 100644 --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c @@ -2028,11 +2028,11 @@ static void btc8821a1ant_run_coexist_mechanism(struct btc_coexist *btcoexist) (wifi_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { btc8821a1ant_limited_tx(btcoexist, NORMAL_EXEC, 1, 1, - 1, 1); + 0, 1); } else { btc8821a1ant_limited_tx(btcoexist, NORMAL_EXEC, 1, 1, - 1, 1); + 0, 1); } } else { btc8821a1ant_limited_tx(btcoexist, NORMAL_EXEC,