From: Larry Finger <Larry.Finger@lwfinger.net>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: Dan Williams <dcbw@redhat.com>,
Vincent Thiele <vincentthiele@gmail.com>,
linux-wireless@vger.kernel.org
Subject: Re: No connection with TP-Link TL-WN823N (rtl8192cu)
Date: Wed, 11 Sep 2013 13:24:51 -0500 [thread overview]
Message-ID: <5230B573.9030800@lwfinger.net> (raw)
In-Reply-To: <5230A440.5050709@ilande.co.uk>
On 09/11/2013 12:11 PM, Mark Cave-Ayland wrote:
> On 11/09/13 17:33, Larry Finger wrote:
>
>>> So the AP is disconnecting the device a couple seconds with reason 4,
>>> which is "Disassociated due to inactivity". My thought is that this
>>> points to a driver bug (Larry?).
>>
>> Possibly, but for reference, my Edimax EW-7811Un has been running for 37
>> hours. During that time, I have had no deauthentications and only 2
>> instances of the "AP lost" reconnections. The latter is what I am
>> currently trying to fix, but at that error rate, it is difficult. I am
>> running the latest 3.11 kernel from wireless testing.
>>
>> The only thing I am doing that is unusual is that I am pinging my router
>> at a 5 second interval using the command
>>
>> ping -i5 192.168.1.1
>>
>> It is possible that I am preventing a power save operation, which is
>> making a difference.
>
> Hi Larry,
>
> For comparison, what does your device report when plugged in? My device reports
> this:
>
> Sep 10 00:28:41 kentang kernel: [90532.399226] usb 4-1.2: new high-speed USB
> device number 26 using ehci-pci
> Sep 10 00:28:41 kentang kernel: [90532.492624] usb 4-1.2: New USB device found,
> idVendor=0bda, idProduct=8176
> Sep 10 00:28:41 kentang kernel: [90532.492627] usb 4-1.2: New USB device
> strings: Mfr=1, Product=2, SerialNumber=3
> Sep 10 00:28:41 kentang kernel: [90532.492629] usb 4-1.2: Manufacturer: Realtek
> Sep 10 00:28:41 kentang kernel: [90532.492630] usb 4-1.2: SerialNumber:
> 00e04c000001
> Sep 10 00:28:41 kentang kernel: [90532.502454] rtl8192cu: Chip version 0x10
> Sep 10 00:28:42 kentang kernel: [90532.581772] rtl8192cu: MAC address:
> 00:0b:81:89:81:b8
> Sep 10 00:28:42 kentang kernel: [90532.581776] rtl8192cu: Board Type 0
>
> Also what type of USB port are you using? I'm plugged direct (no hub) into a
> ehci-pci port on a laptop if that makes a difference to power?
My device has USB ID of 7392:7811. The logged data are as follows:
[ 2.844078] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 3.120082] usb 1-4: new high-speed USB device number 3 using ehci-pci
[ 22.448552] rtl8192cu: Chip version 0x10
[ 22.649915] rtl8192cu: MAC address: 00:1f:1f:c8:8e:cb
[ 22.649926] rtl8192cu: Board Type 0
I am plugged into an ehci port on my laptop; however, the power-saving feature I
discussed refers to the ability of wireless devices to shut down their power
during a period when no packets are expected. The station (STA) informs the
access point (AP) that it is going into that mode, and the AP will not send any
data until the STA is once again ready. Many drivers have the ability to disable
this feature on module loading, but not rtl8192cu (yet). I am looking into
adding this code.
Larry
next prev parent reply other threads:[~2013-09-11 18:24 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-09 20:40 No connection with TP-Link TL-WN823N (rtl8192cu) Vincent Thiele
2013-09-09 21:52 ` Larry Finger
2013-09-09 22:15 ` Dan Williams
[not found] ` <CAEZsi7FY8HdBcb0p1svijAdFjB0MbrYv_Zft0B_+RQTpGWCnhQ@mail.gmail.com>
2013-09-11 16:14 ` Dan Williams
2013-09-11 16:33 ` Larry Finger
2013-09-11 16:53 ` Vincent Thiele
2013-09-11 17:05 ` Larry Finger
2013-09-11 17:11 ` Mark Cave-Ayland
2013-09-11 18:24 ` Larry Finger [this message]
[not found] ` <CAEZsi7G+FqUh2fBXLLR17qiBb1ggLu2+11aYRt2Wppr1gGK-Wg@mail.gmail.com>
2013-09-12 1:53 ` Larry Finger
[not found] ` <CAEZsi7F-RxaZJNaYi53kTtsQbxL4TU6DhTPo5v-O5ry=pawb_Q@mail.gmail.com>
2013-09-12 6:24 ` Larry Finger
2013-09-12 7:41 ` Vincent Thiele
2013-09-21 17:47 ` Vincent Thiele
[not found] ` <CAEZsi7HnRxojt6=B3fy8uT2KHuVwzhzzvWV7Ykvr+fO_55Upkw@mail.gmail.com>
2014-02-13 22:05 ` Fwd: " Vincent Thiele
2014-02-13 22:47 ` Larry Finger
2014-02-14 12:20 ` Vincent Thiele
2013-09-24 22:43 ` Larry Finger
2013-09-25 12:47 ` Dan Williams
2013-09-25 16:46 ` Larry Finger
2013-09-25 19:06 ` Dan Williams
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=5230B573.9030800@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=dcbw@redhat.com \
--cc=linux-wireless@vger.kernel.org \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=vincentthiele@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 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).