Received: by 10.213.65.68 with SMTP id h4csp241885imn; Tue, 3 Apr 2018 19:52:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx488MzLwrPsLZxQFQiqf4e8BHeoxqHDIVOrmMlqYrvT1hF6in9rwQAf1oYzUpnNYQ5Zctqqr X-Received: by 2002:a17:902:1665:: with SMTP id g92-v6mr16269070plg.195.1522810367106; Tue, 03 Apr 2018 19:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522810367; cv=none; d=google.com; s=arc-20160816; b=TSZIVOCwBce+iM3eSx4XRCwrjFF+ORPhWGM4GAge5NgUr5744Wf2RzovRhYnrD+92+ Mzc1pR/fspWvZuxmelebNa+EdMfS/MYQALK83mXWrR+BkayqfM1w+G/oC2MrHYLAf5Oj pC8HPRVU0XQHqkIuN7cROchTyCk4X9QZ8Rfa/WjICGA5i3jtlnSIYrdAhKy9TJRMH3Qm 9Q5G/HjJIxxGNWYHD06j35ekV27dxFsSgq65HCy4/OSmK3hFvHi4X8STawdi2WRJQSgX nx0Zr5JbyWWS6hBFaE0FGcrgCnC+lmez0+9SzVoF/TL7Fz28WTw0TzHm4JOacYPaCmbm gHMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=Yt6zNwvM22cv2e1khxsx7W9GSKjCRI+Hy1GXcLs2UUE=; b=q5uKE1OnyqYOuUSdeOJB7O0FUVojDM61TqaVhx5g0tFOcbzQrZBXAfF5rGa+6o7JjV Kzzh9OVDm86fH6EPCE+Z2kcvP3zpvsiWEcdlW4cSknA3h9jEKbTT0bGM0AoV/FdxrE8Q EYnb6Zd+oMuhSMo75kl/gjpp6JqQH8YICT4hEf7k1nSDh6kixeoHVW+05pZHNnTPR1Mr BO/pCzwnY3bZA8bi4AOFxoOZbYh8xVv93P/FBcrgGMWt/eQV8w4aeu5v+k0w9X1st8hQ vAzdafbULeb4uAn/+0YQzoAh2V3MiYT57PGL7K1I2jSe1YRhQBW8etTYbuDIEbrPCIax T5dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=UuvPWc9L; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si2969319pgr.219.2018.04.03.19.52.30; Tue, 03 Apr 2018 19:52:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=UuvPWc9L; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752987AbeDDCvW (ORCPT + 99 others); Tue, 3 Apr 2018 22:51:22 -0400 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 Received: by mail-ot0-f171.google.com with SMTP id f47-v6so12820840oth.2; Tue, 03 Apr 2018 19:51:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Yt6zNwvM22cv2e1khxsx7W9GSKjCRI+Hy1GXcLs2UUE=; b=UuvPWc9LvkOegJuUKu0/v34UW36KK1aZWUt3CWZ8hkM2mHpEf+cJqhjs+uQElDivva KVvwQvLwS68wwW1x1idu7reNT6K3dEnwW62pZhJbNk4OxTHNRxapVVOoiBovFQqypVw9 6lXqxSUw5INi71UkeLs2CFzoahJIOM8LAXo2dn14l/GhahFs2FBU7FkgGY/QWUXnuTZ3 L6kSH/a8sGa5Qx0kFmzUs6VqXgpE8p3GLdpA41+kWvx8Iiicd07JBTMojrDkYxeQqjdF DZ+TWWlYgraBtVxMO6EPJtX7gowXfTQ6euMsPYRskBpjKT86rpqBHn76xOKabPIWTTM0 7MQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Yt6zNwvM22cv2e1khxsx7W9GSKjCRI+Hy1GXcLs2UUE=; b=T8uNabafyOe/1o2+GM454spQyq56tzn/77nhjUQM0nRRRG0rh0kwS9O3UPqNrguN3W e4bsuk90JPZHQ0ViC4wGUzJArJKbE9uJNrogtWjYadkkQW5Fy84oKF1f9bywRKO6IscX JlAenKjCPIzZW+95qdw5WV6VFmPfKJBjUGluueN/BLDitSUknWuNtSv9A3sObspr1PiZ yxdEkU8amjpiaHlbVJ/PGeDe/F0UqEwkszxuFm6nQu2w+xbsx2PFgTPshCuQ7QFLepWk 3DlI1/4YBjA/TwpA1g+rnHMMGmQFk4ELT7LfqZj4hQTwVekFPNq5RNw6MQcC754/Zf4a s4vg== X-Gm-Message-State: AElRT7Ggi5I3fk0uAzQBcxzemzNz5aUNWbJYdbUsmfHJLl5inDIHEyyo H1vXWHH1qHD24U92wibwleg= X-Received: by 2002:a9d:42da:: with SMTP id c26-v6mr9090945otj.120.1522810279653; Tue, 03 Apr 2018 19:51:19 -0700 (PDT) Received: from Larrylap.localdomain (cpe-24-31-251-255.kc.res.rr.com. [24.31.251.255]) by smtp.gmail.com with ESMTPSA id x4-v6sm2515234otx.13.2018.04.03.19.51.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Apr 2018 19:51:19 -0700 (PDT) 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> Date: Tue, 3 Apr 2018 21:51:18 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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