Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes home network. #34

Open
noobermin opened this issue Mar 19, 2014 · 11 comments
Open

Crashes home network. #34

noobermin opened this issue Mar 19, 2014 · 11 comments

Comments

@noobermin
Copy link

I am really at a loss for understanding this, but with the latest commit to the kernel_version branch 60e49d3 I am no longer able to connect to any networks and trying to connect to the wireless router in my home causes the router to disconnect all devices on the network and no other devices can connect to it until I stop trying to connect with my laptop which uses the rtl8723au driver. As before in #25 , I have a yoga 13.

In between "BOGUS urb" tracebacks as discussed in issue #25, this[1] pops up.

EDIT: Even more dmesg output [2]

[1] http://pastebin.com/6xATwxqs
[2] http://pastebin.com/DNnTxcSD

@lwfinger
Copy link
Owner

Please bisect to the particular commit that causes the problem.

@noobermin
Copy link
Author

c402874

@lwfinger
Copy link
Owner

I reverted that patch. Is it OK now?

@noobermin
Copy link
Author

Yes. 0cd652c is working again as before.

@lwfinger
Copy link
Owner

Thanks for bisecting and testing. Will try to find the error in that commit.

@lwfinger
Copy link
Owner

What make/model is your home router and what firmware are you running? In particular, are you running openWRT?

@iBigQ
Copy link

iBigQ commented Mar 21, 2014

I experienced a similar issue. In generell, WPA2 connections work with the kernel_branch version of March 19 (I guess). But my TPLink AccessPoint keeps crashing (until it is restarted). In contrast to the other routers i tested, this one is using TKIP for group key. When trying to connect to this AP, the connections is disconnected immediately. Often wpa_supplicant is throughing a "Michael MIC failure detected".
I cannot provide any further logs etc atm, but tell me if I can do anything for you.

Thank you so much for working on this driver!

@lwfinger
Copy link
Owner

When you have a problem such as this, you must say which branch you are using by noting the * in the 'git branch' command, and the output of the 'git describe --always' command. That way I will know if you are working with a stale copy, etc.

@iBigQ
Copy link

iBigQ commented Mar 21, 2014

I use

uname -r
3.13.6-1-ARCH

git branch
* kernel_version

git describe --always
df08e6c

When I start wpa_supplicant using

wpa_supplicant -i wlp0s26u1u4i2 -c <(wpa_passphrase "Nebukadnezar" "pw") -D wext

ioctl[SIOCSIWPMKSA]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWFREQ]: Operation not supported
ioctl[SIOCSIWAP]: Operation not permitted
Successfully initialized wpa_supplicant
wlp0s26u1u4i2: Trying to associate with 90:f6:52:48:34:c6 (SSID='Nebukadnezar' freq=2412 MHz)
wlp0s26u1u4i2: Association request to the driver failed
wlp0s26u1u4i2: Associated with 90:f6:52:48:34:c6
wlp0s26u1u4i2: WPA: Key negotiation completed with 90:f6:52:48:34:c6 [PTK=CCMP GTK=TKIP]
wlp0s26u1u4i2: CTRL-EVENT-CONNECTED - Connection to 90:f6:52:48:34:c6 completed [id=0 id_str=]
wlp0s26u1u4i2: Michael MIC failure detected
wlp0s26u1u4i2: WPA: Sending EAPOL-Key Request (error=1 pairwise=0 ptk_set=1 len=99)
wlp0s26u1u4i2: Michael MIC failure detected
wlp0s26u1u4i2: WPA: Sending EAPOL-Key Request (error=1 pairwise=0 ptk_set=1 len=99)
wlp0s26u1u4i2: TKIP countermeasures started
wlp0s26u1u4i2: CTRL-EVENT-DISCONNECTED bssid=90:f6:52:48:34:c6 reason=14 locally_generated=1
wlp0s26u1u4i2: CTRL-EVENT-TERMINATING 

dmesg shows:

[  121.372903] rtl8723au: Loading firmware rtlwifi/rtl8723aufw_B.bin
[  121.374409] RTL8723AU: Firmware Version 33, SubVersion 0, Signature 0x2302
[  121.884792] IPv6: ADDRCONF(NETDEV_UP): wlp0s26u1u4i2: link is not ready
[  123.358187] RTL8723AU: ERROR set ssid [Nebukadnezar] fw_state=0x00000008
[  123.562718] RTL8723AU: ERROR start auth
[  123.565191] RTL8723AU: ERROR auth success, start assoc
[  123.567881] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s26u1u4i2: link becomes ready
[  123.570444] RTL8723AU: ERROR send eapol packet
[  123.574246] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x03, mask:0x00000fff
         ==> rssi_level:0, rate_bitmap:0x00000ff5
[  123.574407] RTL8723AU: ERROR send eapol packet
[  123.577831] RTL8723AU: ERROR set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) camid:4
[  123.579307] RTL8723AU: ERROR set group key to hw: alg:2(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:1
[  123.870444] RTL8723AU: ERROR send eapol packet
[  123.897229] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x03, mask:0x00000fff
         ==> rssi_level:3, rate_bitmap:0x00000ff5
[  127.862777] RTL8723AU: ERROR send eapol packet
[  127.883807] RTL8723AU: ERROR set ssid [Nebukadnezar] fw_state=0x00000008
[  131.922743] RTL8723AU: ERROR nolinked power save enter
[  134.408553] rtl8723au: Loading firmware rtlwifi/rtl8723aufw_B.bin
[  134.789168] RTL8723AU: ERROR nolinked power save leave
[  136.793575] RTL8723AU: ERROR nolinked power save enter
[  140.443957] rtl8723au: Loading firmware rtlwifi/rtl8723aufw_B.bin
[  140.823833] RTL8723AU: ERROR nolinked power save leave
[  142.825025] RTL8723AU: ERROR nolinked power save enter

Do you want me to update to the newest commit or do you want me to keep this for further tests?

@lwfinger
Copy link
Owner

The patch that caused this problem was reverted. You should update and the problem should go away.

@iBigQ
Copy link

iBigQ commented Mar 23, 2014

Works very well, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants