All of lore.kernel.org
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: AceLan Kao <acelan.kao@canonical.com>, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] rtlwifi: rtl8723be: disable FW control power save
Date: Fri, 7 Aug 2015 11:33:57 -0500	[thread overview]
Message-ID: <55C4DDF5.6010901@lwfinger.net> (raw)
In-Reply-To: <1438917073-5720-1-git-send-email-acelan.kao@canonical.com>

On 08/06/2015 10:11 PM, AceLan Kao wrote:
> There are many rtl8723be wifi unstable issues that wifi lost connection
> after working for a while. The wifi signal and status it's show connected
> also ifconfig have IP but can not connect to internet and filed to ping 8.8.8.8
> The problem should result from the power saving controlled by firmware.
> I'd suggest to disable it by default and re-enable it after firmware fixes
> this issue.
>
> BTW. the firmware I tested from linux-firmware git tree is
> rtlwifi/rtl8723befw.bin
> be225d6 Update firmware for rtl8723be
>
> Signed-off-by: AceLan Kao <acelan.kao@canonical.com>

NACK for this patch. If you were to make this change, you should also change the 
text in the MODULE_PARM_DESC() for this parameter. It shows a hard-coded default.

I am not sure this is a firmware problem as some users report that they need to 
run with the "ips=0" option, not with "fwlps=0" as your patch would force. 
Conversely, the driver works fine as is with other AP/environment combinations.

The Realtek engineer has told me that he is aware of problems with the dynamic 
management for all the drivers, and that they are working on major replacements; 
however, there is no timetable for the new code.

If we make a change in the default power settings, I would prefer changing 
inactiveps and its MODULE_PARM_DESC() text; however, that would have a negative 
impact on power usage on the host.

I have BCc'd the Realtek engineer and I hope to get his comments on this change.

Larry

> ---
>   drivers/net/wireless/rtlwifi/rtl8723be/sw.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/rtlwifi/rtl8723be/sw.c b/drivers/net/wireless/rtlwifi/rtl8723be/sw.c
> index 1017f02..02fe2cc 100644
> --- a/drivers/net/wireless/rtlwifi/rtl8723be/sw.c
> +++ b/drivers/net/wireless/rtlwifi/rtl8723be/sw.c
> @@ -266,7 +266,7 @@ static struct rtl_mod_params rtl8723be_mod_params = {
>   	.sw_crypto = false,
>   	.inactiveps = true,
>   	.swctrl_lps = false,
> -	.fwctrl_lps = true,
> +	.fwctrl_lps = false,
>   };
>
>   static struct rtl_hal_cfg rtl8723be_hal_cfg = {
>


  reply	other threads:[~2015-08-07 16:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-07  3:11 [PATCH] rtlwifi: rtl8723be: disable FW control power save AceLan Kao
2015-08-07 16:33 ` Larry Finger [this message]
2015-08-10  3:38   ` AceLan Kao
2015-08-10  4:19     ` James Cameron
2015-08-10 10:47       ` Kai Heng Feng
2015-08-10 12:01         ` James Cameron
2015-08-11  1:45           ` Kai Heng Feng
2015-08-12  1:17             ` AceLan Kao
2015-08-17  1:16               ` AceLan Kao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55C4DDF5.6010901@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=acelan.kao@canonical.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.