Search Linux Wireless

rtl8192cu goes silent/dead after some time...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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: log.txt.xz
Description: application/xz


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux