Return-path: Received: from mail-ot0-f171.google.com ([74.125.82.171]:35713 "EHLO mail-ot0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758AbeDDCvU (ORCPT ); Tue, 3 Apr 2018 22:51:20 -0400 Subject: Re: RTL8723BE performance regression To: =?UTF-8?Q?Jo=c3=a3o_Paulo_Rechi_Vita?= Cc: Yan-Hsuan Chuang , Ping-Ke Shih , Birming Chiu , Shaofu , Steven Ting , Chaoming Li , Kalle Valo , linux-wireless , Network Development , LKML , Daniel Drake , =?UTF-8?Q?Jo=c3=a3o_Paulo_Rechi_Vita?= , linux@endlessm.com References: From: Larry Finger Message-ID: <059b40f0-b8e2-b55f-92d5-a859ba4204a4@lwfinger.net> (sfid-20180404_045145_890002_7C1B7371) Date: Tue, 3 Apr 2018 21:51:18 -0500 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 04/03/2018 09:37 PM, João Paulo Rechi Vita wrote: > On Tue, Apr 3, 2018 at 7:28 PM, Larry Finger wrote: > > (...) > >> As the antenna selection code changes affected your first bisection, do you >> have one of those HP laptops with only one antenna and the incorrect coding >> in the FUSE? > > Yes, that is why I've been passing ant_sel=1 during my tests -- this > was needed to achieve a good performance in the past, before this > regression. I've also opened the laptop chassis and confirmed the > antenna cable is plugged to the connector labeled with "1" on the > card. > >> If so, please make sure that you still have the same signal >> strength for good and bad cases. I have tried to keep the driver and the >> btcoex code in sync, but there may be some combinations of antenna >> configuration and FUSE contents that cause the code to fail. >> > > What is the recommended way to monitor the signal strength? The btcoex code is developed for multiple platforms by a different group than the Linux driver. I think they made a change that caused ant_sel to switch from 1 to 2. At least numerous comments at github.com/lwfinger/rtlwifi_new claimed they needed to make that change. Mhy recommended method is to verify the wifi device name with "iw dev". Then using that device sudo iw dev scan | egrep "SSID|signal" Larry