lwfinger / rtl8723bu

Driver for RTL8723BU
283 stars 143 forks source link

eduroam does not work with rtl8723bu, but works with rtl8xxxu from kernel #202

Open JetpackJackson opened 2 weeks ago

JetpackJackson commented 2 weeks ago

Hi, I've noticed something strange with the two different drivers. the rtl8723bu outputs these kinds of messages in the logs (and doesnt connect to eduroam):

Jun 14 09:00:42 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: Trying to associate with <address removed> (SSID='eduroam' freq=2412 MHz)
Jun 14 09:00:42 greyfox kernel: RTL871X: rtw_set_802_11_connect(wlp0s21f0u7i2)  fw_state=0x00000008
Jun 14 09:00:42 greyfox kernel: RTL871X: start auth
Jun 14 09:00:42 greyfox kernel: RTL871X: auth success, start assoc
Jun 14 09:00:42 greyfox kernel: RTL871X: sta recv deauth reason code(1) sta:<removed>, ignore = 0
Jun 14 09:00:42 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: CTRL-EVENT-ASSOC-REJECT status_code=1
Jun 14 09:00:42 greyfox wpa_supplicant[652]: BSSID <removed> ignore list count incremented to 2, ignoring for 10 seconds
Jun 14 09:00:42 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="eduroam" auth_failures=1 duration=10 reason=CONN_FAILED
Jun 14 09:00:42 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: CTRL-EVENT-ASSOC-REJECT status_code=1
Jun 14 09:00:47 greyfox kernel: RTL871X: nolinked power save enter
Jun 14 09:00:53 greyfox kernel: RTL871X: RTW_ADAPTIVITY_EN_
Jun 14 09:00:53 greyfox kernel: AUTO, chplan:0x20, Regulation:0,0
Jun 14 09:00:53 greyfox kernel: RTL871X: RTW_ADAPTIVITY_MODE_
Jun 14 09:00:53 greyfox kernel: NORMAL
Jun 14 09:00:54 greyfox kernel: RTL871X: nolinked power save leave

whereas if i uninstall the rtl8723bu and unblacklist the rtl8xxxu, then on reboot, i connect, with these logs:

Jun 14 09:08:23 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: Associated with <removed> 
Jun 14 09:08:23 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jun 14 09:08:23 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: WPA: Key negotiation completed with <removed>
Jun 14 09:08:23 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: CTRL-EVENT-CONNECTED - Connection to <removed> completed [id=1 id_str=]
Jun 14 09:08:23 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-68 noise=9999 txrate=26000
Jun 14 09:08:52 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-74 noise=9999 txrate=72200
Jun 14 09:08:57 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: SME: Trying to authenticate with <removed> (SSID='eduroam' freq=2412 MHz)
Jun 14 09:08:57 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jun 14 09:08:57 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: Trying to associate with <removed> (SSID='eduroam' freq=2412 MHz)
Jun 14 09:08:57 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: Associated with <removed>
Jun 14 09:08:57 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jun 14 09:08:57 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: WPA: Key negotiation completed with <removed>
Jun 14 09:08:57 greyfox wpa_supplicant[652]: wlp0s21f0u7i2: CTRL-EVENT-CONNECTED - Connection to <removed> completed [id=1 id_str=]

I'm wondering why this is happening. also with the rtl8723bu, there are two entries in nmcli, a normal one and a p2p one (although i think that might be due to the concurrent mode thing?) I just want to figure out if theres a reason why the driver does not want to work with eduroam. is it a setting in the driver compilation that i can change to make it not do the stuff that outputs those "kernel rtl871x power save" messages? I'm currently using the rtl8723bu-dkms-git package from the AUR but I can git clone and build that way if that's what's needed. Thanks in advance, and thanks for your work on this driver! The speeds are faster, it just doesn't connect to eduroam lol.