linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Dougie Lawson <dl1ims@gmail.com>, linux-wireless@vger.kernel.org
Subject: Re: RTL8192CU / RTL8192CE frequent disconnections on Raspberry Pi
Date: Mon, 05 Jan 2015 15:54:42 -0600	[thread overview]
Message-ID: <54AB0822.7070609@lwfinger.net> (raw)
In-Reply-To: <54AAFFD5.8050606@gmail.com>

On 01/05/2015 03:19 PM, Dougie Lawson wrote:
> Hi Linux Wireless maintainers,
>
> I'm currently working with the 3.18 kernel and the new ARM device tree support
> on my Raspberry Pis. One major difference from the 3.12.35 kernel is that the
> out-of-tree driver for the RTL8188CUS WiFi dongles has been removed by the
> Raspberry Pi kernel maintainer. So the device is now using the
> rtlwifi/rtl8192cu/rtl8192c_common drivers from the upstream Linux source.
>
> Kernel version is 3.18.0
> Current kernel .config is below
> ver_linux output is attached below
>
> lsusb for the WiFi dongle shows:
> Bus 001 Device 005: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n
> Wireless Adapter [Realtek RTL8188CUS]
>
> When the system is booted the wlan0 device comes up active, associates to my
> access point and runs OK. Some time later and I've frequently had the failure
> while running apt-get update (pulling lots of data from the Raspbian Wheezy
> repos) the network simply collapses. There's no abnormal messages in dmesg,
> nothing in syslog it just silently fails.

The mac80211-based driver for the RTL81XXCU has not been updated by the USB 
group since it was first released. Kernel 3.18 did include some changes in the 
core routines in rtlwifi. Those came from the PCI group, which is separate, and 
were not necessarily intended to fix rtl8192cu.

No one outside Realtek has any knowledge of the internals of any of the chips, 
thus I have no way to figure out what might cause the driver to fall over on 
heavy loads.

The one think I notice is that you are using old firmware. You can get the 
latest from 
git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git. As I 
have no idea what was changed, I do not know if it will help.

Larry



      reply	other threads:[~2015-01-05 21:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-05 21:19 RTL8192CU / RTL8192CE frequent disconnections on Raspberry Pi Dougie Lawson
2015-01-05 21:54 ` 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=54AB0822.7070609@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=dl1ims@gmail.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 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).