lwfinger / rtl8723au

Repo for RTL8723AU code before Linux Kernel commit
126 stars 46 forks source link

connection drop intermittently #17

Closed gflarity closed 10 years ago

gflarity commented 11 years ago

Not sure if I should have opened a new issue, this is with WPA personal not enterprise. I can't get a large download (100megs) to succeed before it times out. It wouldn't connect to anything for a while and then it comes back. Is there anything I can do?

Here's the dmesg output, there's probably a lot of noise in here, sorry, not sure what you'd want to see. Thanks in advance for looking at this/all the work thats gone into this. It's appreciated.

[ 3.755752] RTL8723AU: ERROR indicate disassoc [ 3.771124] RTL8723AU: ERROR indicate disassoc [ 3.779121] RTL8723AU: ERROR indicate disassoc [ 3.779976] RTL8723AU: ERROR set bssid:00:00:00:00:00:00 [ 3.780017] RTL8723AU: ERROR set ssid [g\xffffffc6isQ\xffffffffJ\xffffffec)\xffffffcd\xffffffba\xffffffba\xffffffab\xfffffff2\xfffffffb\xffffffe3F|\xffffffc2T\xfffffff8\x1b\xffffffe8\xffffffe7\xffffff8dvZ.c3\xffffff9f\xffffffc9\xffffff9a\xffffff9aD\xffffffcc1;] fw_state=0x00000008 [ 6.507290] RTL8723AU: ERROR set ssid [MsV] fw_state=0x00000008 [ 6.507304] RTL8723AU: ERROR set bssid:00:26:5a:f1:41:26 [ 6.590978] RTL8723AU: ERROR start auth [ 6.593768] RTL8723AU: ERROR auth success, start assoc [ 6.597815] RTL8723AU: ERROR assoc success [ 9.607370] RTL8723AU: ERROR send eapol packet [ 9.613179] RTL8723AU: ERROR send eapol packet [ 9.613225] RTL8723AU: ERROR set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) camid:4 [ 9.615000] RTL8723AU: ERROR set group key to hw: alg:2(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:2 [ 139.932853] RTL8723AU: ERROR indicate disassoc [ 139.932911] RTL8723AU: ERROR set bssid:00:00:00:00:00:00 \xffffffb71X\xffffffa3Z%]\x05\x17X\xffffffe9^\xffffffd4\xffffffab\xffffffab\xffffffb2\xffffffcd\xffffffc6\xffffff9b\xffffff9b\xffffffb4T\x11\x0e\xffffff82tA!=\xffffffdc\xffffff87\xffffff87D\xffffffcc1;] fw_state=0x00000008 [ 139.937187] RTL8723AU: ERROR sta recv deauth reason code(6) sta:00:26:5a:f1:41:26 [ 139.938306] RTL8723AU: ERROR sta recv deauth reason code(6) sta:00:26:5a:f1:41:26 [ 139.967779] RTL8723AU: ERROR indicate disassoc [ 146.097495] RTL8723AU: ERROR nolinked power save enter [ 166.491892] RTL8723AU: ERROR nolinked power save leave [ 168.493752] RTL8723AU: ERROR nolinked power save enter [ 199.494796] RTL8723AU: ERROR nolinked power save leave [ 201.495866] RTL8723AU: ERROR nolinked power save enter [ 242.502575] RTL8723AU: ERROR nolinked power save leave [ 244.503800] RTL8723AU: ERROR nolinked power save enter [ 295.511974] RTL8723AU: ERROR nolinked power save leave [ 297.513616] RTL8723AU: ERROR nolinked power save enter

gflarity commented 11 years ago

...so rebooting my router/network devices and it seems to have fixed things. However I was testing with a cheap little wifi dongle at the same time and the dongle worked fine but the RTL8723AU did not. I wouldn't be surprised if my cheap router (or some other device on the network) was doing something bad and the RTL8723AU just couldn't deal with it.

If there's anything I can do to help debug this please let me know. I'll post again if I see more issues with other access points.

lwfinger commented 11 years ago

The cheap dongle may not use power save the way the RTL8723AU does. As I do not have one of these devices, I have no idea if it would happen here, but no one else has reported the problem.

You might try loading the driver with a 'rtw_power_mgnt=0' option. As I read the code, that should disable power management.

gflarity commented 10 years ago

So I've been using this for almost 2 weeks now. Haven't seen this issue since. Closing. I'll reopen if I notice anything again.

Thanks again for all your efforts.

maggieroxas commented 10 years ago

Hi - I've been encountering this issue using the version as of Dec. 09, 2013. Connection drops intermittently and even disconnects sometimes, as tested in 3m, 10m range. My Linux kernel version is v3.10.24, and have been cross compiling your driver across ARM compiler. In any case, I thought it was just the antenna, however, this connection issue happen only during 8723AU being the AP mode. The connection's stable when it's in Client mode. If there's anything you need from me to debug this issue, ie, my board-specific patches, logs, screenshots - I'd be happy to provide, just say so. Thank you very much for your support.

lwfinger commented 10 years ago

I have no idea where to start. I do not have this hardware, and I have not gone that deeply into the details of this driver. The most useful thing would be a wireshark capture of what is on the air made from a 3rd computer, i.e. one that is passive with respect to the connection. The raw file will need to be trimmed to near the point where the connection is lost, and also to eliminate any transmission that involves any MAC address not belonging to the rtl8723au and its client.

joedborg commented 10 years ago

Hi, Could you explain where to set rtw_power_mgnt=0? I'm seeing the drop outs too.

FYI [joe@yoga ~]$ uname -a Linux yoga 3.15.4-200.fc20.x86_64 #1 SMP Mon Jul 7 14:24:41 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

romines commented 9 years ago

@joedborg I'm sure you figured this out, but JIC:

In /etc/modprobe.d , create a .conf file such as 8723au.conf that contains the following: options 8723au fwlps=0 swlps=0 rtw_power_mgnt=0

[edit: was targeting the wrong module]