rtl8723au icon indicating copy to clipboard operation
rtl8723au copied to clipboard

Very slow wifi speed on 3.12.7-2-ARCH

Open thekroko opened this issue 10 years ago • 4 comments

Hey, thanks for writing this driver. Awesome job!

Unfortunately I seem to have trouble getting any real throughput using this driver. I tried transferring some files in my local wireless using sftp, and all transfers never seem to exceed 196kb/s on Arch. On windows the chip has no trouble transferring data at rates above 5mb/s between the same set of devices; and even an external 8192cu usb stick manages to get up to 4mb/s.

The issue persists even when compiling the module without power management support . Any ideas on what might cause those very slow transfer rates? Sometimes it seems like it jumps up to 360kb/s, then the next second it slows down to less than 100kb/s ..

  • Linux devnull 3.12.7-2-ARCH #1 SMP PREEMPT Sun Jan 12 13:09:09 CET 2014 x86_64 GNU/Linux
  • newest git ver
  • dmesg:

[12024.158156] usbcore: registered new interface driver rtl8723au [12024.731986] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [12024.732038] RTL8723AU: ERROR set bssid:00:00:00:00:00:00 \xffffffb71X\xffffffa3Z%]X\xffffffe9^\xffffffd4\xffffffab\xffffffb2\xffffffcdƛ\xffffffb4T\xffffff82tA!=܇\xffffffbcVp] fw_state=0x00000008 [12026.086414] RTL8723AU: ERROR set ssid [cookies] fw_state=0x00000008 [12026.086429] RTL8723AU: ERROR set bssid:64:66:b3:9f:36:5a [12026.120343] RTL8723AU: ERROR start auth [12026.123566] RTL8723AU: ERROR auth success, start assoc [12026.127443] RTL8723AU: ERROR assoc success [12026.135180] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff ==> rssi_level:0, rate_bitmap:0x000ff015 [12026.151993] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [12026.278711] RTL8723AU: ERROR send eapol packet [12026.284322] RTL8723AU: ERROR send eapol packet [12026.284361] RTL8723AU: ERROR set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) camid:4 [12026.286760] RTL8723AU: ERROR set group key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:2 [12026.741494] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff ==> rssi_level:2, rate_bitmap:0x000ff000 [12030.759306] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff ==> rssi_level:1, rate_bitmap:0x000f0000

thekroko avatar Jan 23 '14 20:01 thekroko

I did not write the driver. My contribution is to take the Realtek driver and modify it to compile on all new kernels.

BTW, none of the "ERROR" lines is actually an error - all are INFO lines.

Unfortunately, I cannot help you with poor performance. I do not have one of these devices. No one has donated a Yoga 13 tablet, and I cannot justify the expense. If your card is not built in by Lenovo, please let me know.

lwfinger avatar Jan 23 '14 21:01 lwfinger

I have Yoga 13 and suffer similar problem. I can help you to debug the problem. Please, tell what to do. I can share you console with screen or supply any logs & GDB traces.

Here is the pic of Wifi card:

midenok avatar Aug 30 '14 17:08 midenok

I confirm that this only reproduces when restarting from Windows: https://github.com/lwfinger/rtl8723au/issues/44. Also the problem gets fixed after sleep mode:

echo -n mem >/sys/power/state

midenok avatar Aug 31 '14 05:08 midenok

Please, close this bug since it most likely duplicates #44.

midenok avatar Aug 31 '14 05:08 midenok