Date: Sat, 12 Sep 2020 15:05:47 +0000 From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 247528] RTL8192EU usb wifi dongle can't connect to AP Message-ID: <bug-247528-21060-DNu6tx5CFc@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-247528-21060@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247528 --- Comment #4 from Danilo Egea Gondolfo <danilo@FreeBSD.org> --- Regarding the ifconfig up and down issue, it seems that the function r92e_power_off() is breaking the firmware state machine. According to the driver provided by the vendor [1], transitioning the device from Active to Low Power State consists of this sequence of steps [2]. The driver in fact does that (plus a few more actions) when you ifconfig down it. In fact, interrupting the code after it moves the state machine to LPS (inserting a return; right here [3] for example) fixes the device-being-disconnected-from-the-bus issue, what is probably due to a crash in the firmware. Hopefully it will provide some insight to whoever looks into this issue in the future. It's still not working when used with wpa_supplicant. [1] - https://static.tp-link.com/TL-WN823N(EU)_V2_160315_Linux_1479970241132h.zip [2] - https://gitlab.cosmoproducts.de/cosmocard/rtl8192eu-linux-driver/-/blob/c50f3f80b97a5ab2d2582021ae93e0a5f07118b7/include/Hal8192EPwrSeq.h#L106 [3] - https://github.com/freebsd/freebsd/blob/master/sys/dev/rtwn/rtl8192e/r92e_init.c#L327 -- You are receiving this mail because: You are on the CC list for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247528-21060-DNu6tx5CFc>
