linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rtl8192cu goes silent/dead after some time...
@ 2013-02-25 16:51 Jussi Kivilinna
  2013-02-27 19:05 ` Larry Finger
  0 siblings, 1 reply; 11+ messages in thread
From: Jussi Kivilinna @ 2013-02-25 16:51 UTC (permalink / raw)
  To: linux-wireless; +Cc: Larry Finger

[-- Attachment #1: Type: text/plain, Size: 2001 bytes --]

Hello,

I've been trying to get rtl8192cu work on ARM board I got recently.  
While I don't get crashes anymore and I can connect to AP, open  
connections, do short transfers, eventually rtl8192cu goes silent  
(bulk-IN urbs stop completing, no packets received). Bringing  
interface down and back up does not help, I need to rmmod/modprobe to  
wake the device.

I noticed that, when doing large transfer (with iperf), "signal avg"  
reading from iw started to behave interestingly...

Idle (0.1 sec interval):
         signal avg:     -75 dBm
         signal avg:     -68 dBm
         signal avg:     -72 dBm
         signal avg:     -73 dBm
         signal avg:     -74 dBm
         signal avg:     -75 dBm
         signal avg:     -75 dBm
         signal avg:     -75 dBm
         signal avg:     -75 dBm
         signal avg:     -74 dBm

While doing TCP transfer, rtl8192cu at RX side (0.1sec intervals):
         signal avg:     -88 dBm
         signal avg:     -13 dBm
         signal avg:     -38 dBm
         signal avg:     100 dBm
         signal avg:     -11 dBm
         signal avg:     122 dBm
         signal avg:     51 dBm
         signal avg:     77 dBm
         signal avg:     -14 dBm
         signal avg:     -18 dBm
         signal avg:     78 dBm
         signal avg:     46 dBm
         signal avg:     -65 dBm
         signal avg:     -103 dBm
         signal avg:     -90 dBm
         signal avg:     88 dBm
         signal avg:     -43 dBm
         signal avg:     -12 dBm

This keeps on until rtl8129cu goes silent.

I have attached kernel log with rtl8192cu loaded with debug=4.  
Connection stops working around timestamp 1377. (Log shows some BUGs  
which do appear with debugging on but not without.)

Apparently triggering this hang becomes much harder to trigger when  
debug=4 is enabled... probably because debug logging increasing CPU  
usage, transfer rate drops to 1Mbit/s and above symptom mostly  
disappears. Without debug=4, RX runs at ~28Mbit/s.

-Jussi


[-- Attachment #2: lsusb.txt --]
[-- Type: text/plain, Size: 3178 bytes --]

Bus 004 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x8176 RTL8188CUS 802.11n WLAN Adapter
  bcdDevice            2.00
  iManufacturer           1 Realtek
  iProduct                2 802.11n WLAN Adapter
  iSerial                 3 00e04c000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)


[-- Attachment #3: log.txt.xz --]
[-- Type: application/x-xz, Size: 49856 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-03-12 19:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-25 16:51 rtl8192cu goes silent/dead after some time Jussi Kivilinna
2013-02-27 19:05 ` Larry Finger
2013-03-10 12:29   ` Jussi Kivilinna
2013-03-11 19:17     ` rtl8192cu gets confused when scan is aborted by bringing interface down (Re: rtl8192cu goes silent/dead after some time...) Jussi Kivilinna
2013-03-11 20:25       ` Larry Finger
2013-03-11 21:06         ` Jussi Kivilinna
2013-03-11 21:10           ` Larry Finger
2013-03-11 21:31           ` Larry Finger
2013-03-12  9:10             ` Jussi Kivilinna
2013-03-12 16:51               ` Larry Finger
2013-03-12 19:49                 ` Jussi Kivilinna

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).