All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Timothy Rundle <tgrundlesr@gmail.com>, linux-wireless@vger.kernel.org
Subject: Re: RTL8192CU continually reconnecting
Date: Mon, 09 Sep 2013 15:16:54 +0100	[thread overview]
Message-ID: <522DD856.7050309@ilande.co.uk> (raw)
In-Reply-To: <522D054B.5060205@lwfinger.net>

On 09/09/13 00:16, Larry Finger wrote:

> On 09/08/2013 06:53 AM, Timothy Rundle wrote:
>> My TL-WN821N with a RTL8192CU chipsets fails to stay connected. It
>> appears to be disconnecting every 5-10 seconds. Since the issue
>> happens with the mainline kernel, the downstream maintainer ask me to
>> post here. Here is a section of my kernel log:
>
> This problem has been reported before; however, I cannot duplicate it on
> my openSUSE KDE system that controls the wireless using NetworkManager.

Yes, this sounds like exactly the same problem that I reported a couple 
of weeks ago. Note that I see the issue invoking wpa_supplicant manually 
rather than using NetworkManager, so I don't think that this is part of 
the problem.

I can also clarify that if I remove *all* entries from 
wpa_supplicant.conf except for the one AP I'm trying to associate with, 
then I can generally get an initial association within about 30-60s. 
However I still repeatedly see drop-outs every 30s or so.

> When taking another look at the code, I realized that rtl8192cu has
> duplicated a routine that is found in rtlwifi. The attached patch
> implements that change. Please try it and report back. I don't expect it
> to do much good as your problem appears to be a bad interaction with the
> Ubuntu front-end to wireless.

I've just tried the attached patch, and while it applies cleanly, I see 
no change in behaviour in that I keep associating/deassociating from the 
AP :(

Larry, did those traces I sent you off-list help at all? I'm also happy 
to test patches that include more verbose debugging information in order 
to help further with this.

Also I notice that Debian Wheezy includes a slightly older version of 
wpa_supplicant:

# wpa_supplicant -v
wpa_supplicant v1.0
Copyright (c) 2003-2012, Jouni Malinen <j@w1.fi> and contributors

I could try building directly from source 1.1 and/or 2.0 if you think 
that would help too? Perhaps some internal Debian patches are having an 
effect here?


ATB,

Mark.

  reply	other threads:[~2013-09-09 14:17 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-08 11:53 RTL8192CU continually reconnecting Timothy Rundle
2013-09-08 23:16 ` Larry Finger
2013-09-09 14:16   ` Mark Cave-Ayland [this message]
2013-09-09 14:57     ` Larry Finger
2013-09-09 15:08       ` Oleksij Rempel
2013-09-09 15:27       ` Mark Cave-Ayland
2013-09-09 17:04         ` Larry Finger
     [not found]           ` <522E0573.4000804@ilande.co.uk>
2013-09-09 19:03             ` Larry Finger
2013-09-09 22:05               ` Mark Cave-Ayland
2013-09-09 23:04                 ` Larry Finger
2013-09-09 23:45                   ` Mark Cave-Ayland
2013-09-10  2:52                     ` Larry Finger
2013-09-10  5:58                       ` Mark Cave-Ayland
2013-09-10 15:14                         ` Larry Finger
2013-09-10 20:04                           ` Mark Cave-Ayland
2013-09-11 20:09                             ` Larry Finger
2013-09-12 23:02                               ` Timothy Rundle
2013-09-13  9:01                               ` Mark Cave-Ayland
     [not found]                               ` <CALa3VXbxQ1Z2J5weV7rQ16c53D1MQyDL1YGQrV6EkCJYfh=uYA@mail.gmail.com>
2013-09-13 17:52                                 ` Larry Finger
2013-09-19  0:42                                   ` Timothy Rundle
2013-09-19  6:48                                     ` Mark Cave-Ayland
2013-09-19 10:45                                       ` Timothy Rundle
2013-09-19 14:24                                         ` Larry Finger
2013-09-15  8:17           ` Olivier Reuland
2013-09-15 13:50             ` Larry Finger
2013-09-15 17:48               ` Mark Cave-Ayland
2013-09-15 20:26                 ` Larry Finger

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=522DD856.7050309@ilande.co.uk \
    --to=mark.cave-ayland@ilande.co.uk \
    --cc=Larry.Finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tgrundlesr@gmail.com \
    /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.