linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Vincent Brillault <gentoo@lerya.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Warnings with ASUS PCE-N15 (RTL8188CE)
Date: Tue, 09 Apr 2013 13:03:25 -0500	[thread overview]
Message-ID: <516457ED.2070406@lwfinger.net> (raw)
In-Reply-To: <20130409160431.GA13599@Fea.lerya.net>

On 04/09/2013 11:04 AM, Vincent Brillault wrote:
> On Tue  9.Apr'13 at 10:32:33 -0500, Larry Finger wrote:
>> On 04/09/2013 04:47 AM, Vincent Brillault wrote:
>>> I still have the deconnection/reconnection issue. After looking on the
>>> reason, I think I have found a bug. Please look at the patched included
>>> in this mail: I think the rtlpriv->link_info.num_rx_inperiod is set to 0
>>> too early, as the '/* <4> roaming */' part uses it to see if the AP is
>>> still alive. What do you think ?
>>
>> Does that change help your issue?
> I cannot say for sure that it helped. I have now disactivated the
> powersave features of the driver and all my problems disappeared.
> The only thing I can say for sure is that my deconnections were detected
> by this part of the code, as the error message was
> "rtlwifi:rtl_watchdog_wq_callback():<0-0> AP off, try to reconnect now",
> and that this bugs seems to increase the probability to take the 'wrong'
> branch.
>
> Anyway, I think this line is missplaced: why would lines 1433-1434 use
> rtlpriv->link_info.num_rx_inperiod if its value is always 0 ?

As all of the disconnects disappeared in my system with the latest fixes that 
will be in kernel 3.10, I am reluctant to make any changes in the code *unless* 
you can prove that they fix a particular issue.

I agree that the code looks strange, but I did not write it.

In any case, it seems that power save is your problem.

Larry



      reply	other threads:[~2013-04-09 18:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-07 19:29 Warnings with ASUS PCE-N15 (RTL8188CE) Vincent Brillault
2013-03-08 21:58 ` Vincent Brillault
2013-03-09  1:53   ` Larry Finger
2013-03-09 11:32     ` Vincent Brillault
2013-03-09 18:24       ` Larry Finger
2013-03-11 18:38         ` Vincent Brillault
2013-03-13  8:00           ` Vincent Brillault
2013-03-17 14:12             ` Vincent Brillault
2013-03-25 18:29               ` Vincent Brillault
2013-03-25 19:11                 ` Larry Finger
2013-03-25 19:51                   ` Vincent Brillault
2013-03-25 20:05                     ` Larry Finger
2013-04-09  9:47                       ` Vincent Brillault
2013-04-09 15:32                         ` Larry Finger
2013-04-09 16:04                           ` Vincent Brillault
2013-04-09 18:03                             ` Larry Finger [this message]

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=516457ED.2070406@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=gentoo@lerya.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).