Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3306737ybi; Tue, 2 Jul 2019 05:43:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyur8KyKwnO3aa0nMVHlb8kZ+cH4pbkRdMW0DynVrzMI1nbsGvrUnd/td/ig+PnHt7LOmNK X-Received: by 2002:a17:90a:8d0c:: with SMTP id c12mr5255543pjo.140.1562071409465; Tue, 02 Jul 2019 05:43:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562071409; cv=none; d=google.com; s=arc-20160816; b=hSnzXOre9Qq6/pxloDSlimoApjihI3dBezPU2J142BIULvJlxDF5+r5h9cRR58oAR9 wjCilwAvdYTSOEy6JsyMu3lb3XVo2tPKE1TKcSZRBN32FLykPw1syLqT79cydMUFCBtF hnwg46iSe41lpXniZbXeIeLqcumW3veBasYZWfjAZhz/05o4zdF3cKNjFGdxlIHew6Cc XaQXwvmnPHlTnohx6J7V/KkPAtdgmA3ZUORtJAIgDz8c/Iq+kYTgM4y3KzkWx3DBh4bR o3EJmKifl10Vxj/ezbO6cbGgZy77k8iJm/iEed+3QTQoWqUhMhGjj7jFssNKX48oBl5g 5fAQ== 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:references:cc:to:subject:from:dkim-signature; bh=x3LZzViuZUg2mLa3zMKZEbZrrDd07dQcCRhiLsF8NxA=; b=S7AIUxIVtB20Tovidqp/Vo3RpqAc5b+U+0CD6Tjh7X5sy0F1ZsDd/fJbOXL4BY7XXQ Fb7K0dILxn6Gq8NtLkT2bG5WU++308eyGYOu3yubCGt/2e8OiUhDndzu+/r4ckqqEacB Bncg0bfA2h6OXD4yP1ziyhj1JNMV4qPKuv7BHNt+Q4Umin6kZILlz9v958K7wvwEVbjj kTnjVMzQslysVCYdEwn9xMgE1XGhAVTvZnAFuu2bhuWATZBTVhi58n1HD8W+lNxNg4TX aZpBdpA/zoJQ85JneLFmPi219gwtb0YTRIKvIGm1vUleIWwCojgsOrqREgypgowvK+U/ Q76g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="XLCts/r1"; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j2si12244127plt.171.2019.07.02.05.43.13; Tue, 02 Jul 2019 05:43:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="XLCts/r1"; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726732AbfGBMmX (ORCPT + 99 others); Tue, 2 Jul 2019 08:42:23 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:39275 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726167AbfGBMmX (ORCPT ); Tue, 2 Jul 2019 08:42:23 -0400 Received: by mail-qt1-f195.google.com with SMTP id i34so18207334qta.6; Tue, 02 Jul 2019 05:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=x3LZzViuZUg2mLa3zMKZEbZrrDd07dQcCRhiLsF8NxA=; b=XLCts/r1KWC2c0MMDqqiVkBXRczb0ax5ii4Ofa5fcOJUAVmBaOIicYl0ydbNCBWd8D uVaqoLbc0TyQYUulFQ5Q0cczUbI7gFe9xWjmHsyVNtVlKo78LG9dmKjSlCyGFr1K6Hj4 ncHV7hKEreDOU71+bIBNOVPfoFULBuB2m0BpNzABgwDCtx/uLn7R/LFvhYlpGJyad5ZY TOxtXx95znxnyon76eE+9VcC7PedLh/DEMsw/S7vlUgyb6oLudjzZ0ew7Im4XxuBjoEI PIJspWj2UCjqibTEqEvkH1w5PE+0kuUQ41DxPcd/ofGYe5CN7gVAFriYO6njf/yPYGIJ gh+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=x3LZzViuZUg2mLa3zMKZEbZrrDd07dQcCRhiLsF8NxA=; b=q6P42B5sn36F0S9KuJwl/hTxSGtwCYhWgVQVuvUBypiaTG5/JzBW1+DNwEIOEmonsq QqZSZSCFyGxKjps4bv0EpCxBBwoTIRYQ0MwEMQPYoUxCdaATairA9sbc0d0kKwy4Dm52 6OfRWgXp51DcAnC1Fh4LwcjgFsomwvGYPCrYBQhm8n+Q+xfAR01UtfOsVRjGMsVkU3gV Xp/Og6js0bnm14PLF7aAFB9dDEKHwXmlnOxC3qyzjxgsFmrAYOiNtbSW6yHfCaB44bJI sZumZCuznb3/bur45GLnvojwMqcnZ9Dksh2bWooDXD/kUsH67xy0MAKZLDky0iXqb93O 1Z/g== X-Gm-Message-State: APjAAAW4sOp7hDnKKyFgIVx+rN3KWz8VouK2iPJf69XyAZUqHonjrpsy xWjpEm5uJmWNKI0UFJ6pZxRCFSaGqbk= X-Received: by 2002:ac8:768b:: with SMTP id g11mr26011093qtr.182.1562071342327; Tue, 02 Jul 2019 05:42:22 -0700 (PDT) Received: from ?IPv6:2620:10d:c0a8:11c1::1019? ([2620:10d:c091:480::c41e]) by smtp.gmail.com with ESMTPSA id l63sm6070734qkb.124.2019.07.02.05.42.20 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jul 2019 05:42:21 -0700 (PDT) From: Jes Sorensen X-Google-Original-From: Jes Sorensen Subject: Re: [PATCH] rtl8xxxu: Fix wifi low signal strength issue of RTL8723BU To: Daniel Drake , Chris Chiu Cc: Kalle Valo , David Miller , linux-wireless , netdev , Linux Kernel , Linux Upstreaming Team , Larry Finger References: <20190627095247.8792-1-chiu@endlessm.com> Message-ID: <4c99866e-55b7-8852-c078-6b31dce21ee4@gmail.com> Date: Tue, 2 Jul 2019 08:42:19 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 7/1/19 4:27 AM, Daniel Drake wrote: > Hi Chris, > > On Thu, Jun 27, 2019 at 5:53 PM Chris Chiu wrote: >> The WiFi tx power of RTL8723BU is extremely low after booting. So >> the WiFi scan gives very limited AP list and it always fails to >> connect to the selected AP. This module only supports 1x1 antenna >> and the antenna is switched to bluetooth due to some incorrect >> register settings. >> >> This commit hand over the antenna control to PTA, the wifi signal >> will be back to normal and the bluetooth scan can also work at the >> same time. However, the btcoexist still needs to be handled under >> different circumstances. If there's a BT connection established, >> the wifi still fails to connect until disconneting the BT. >> >> Signed-off-by: Chris Chiu > > Really nice work finding this! > > I know that after this change, you plan to bring over the btcoexist > code from the vendor driver (or at least the minimum required code) > for a more complete fix, but I'm curious how you found these magic > register values and how they compare to the values used by the vendor > driver with btcoexist? We definitely don't want to bring over the vendor code, since it's a pile of spaghetti, but we probably need to get something sorted. This went down the drain when the bluetooth driver was added without taking it into account - long after this driver was merged. Cheers, Jes