#asahi-alt · 2023-11-30 01:02
stintelgrabbing the firmware logs will not be for tonight anymore, my home automation just reminded me it's time to go to bed by switching of all the lights :P#asahi-alt · 2023-11-30 01:02
stintelyeah reverting 488b9c8d92d1b06dcc174dab2c89a4ea478345ac didn't help the disconnect #asahi-alt · 2023-11-30 00:43
stintelI've all 3#asahi-alt · 2023-11-30 00:28
stintelso it's definitely two distinct problems#asahi-alt · 2023-11-30 00:27
stintelbut SAE does not work#asahi-alt · 2023-11-30 00:27
stintelDannyB: reverting all commits in drivers/net/wireless/broadcom/brcm80211/brcmfmac/ up to and including c8161a3ae79314781c1a31e0937f9ed4c26646c1 fixes the disconnect every minunte #asahi-alt · 2023-11-29 23:44
stintelthat might be more complete #asahi-alt · 2023-11-29 23:44
stintel[ 3.203459] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4387/7 wl0: May 27 2023 01:34:59 version 20.96.31.0.8.7.148 FWID 01-126f2c4c#asahi-alt · 2023-11-29 23:44
stintelfyi, firmware version is 01-126f2c4c here #asahi-alt · 2023-11-29 23:43
stintelbut yeah I need to continue this on Friday probably, need to get up early tomorrow#asahi-alt · 2023-11-29 23:39
stintelpoor man's git bisect#asahi-alt · 2023-11-29 23:39
stintelI was actually looking at git log for drivers/net/wireless/broadcom/brcm80211/brcmfmac/ and started reverting the commits one by one #asahi-alt · 2023-11-29 22:32
stintelhmm. so it now connects to an SAE-only network, but it's still disconnecting every minute :/#asahi-alt · 2023-11-29 22:20
stintelDannyB: that worked #asahi-alt · 2023-11-29 22:14
stintelif needed I can do more debugging on Friday, with a test setup that better mimics my main setup (2 APs rather than 1)#asahi-alt · 2023-11-29 22:08
stintellet me try what you suggested #asahi-alt · 2023-11-29 22:08
stintelbefore that, I disable NM and used plain wpa_supplicant with a config file, took my old laptop and put the wifi in monitor mode, with wpa_supplicant configured to use SAE, I didn't even see assoc/auth request, I did see probe request and response#asahi-alt · 2023-11-29 22:06
stintelDannyB: sorry, got distracted with paid work ;)#asahi-alt · 2023-11-29 14:19
stintelnow it doesn't connect at all#asahi-alt · 2023-11-29 14:15
stintelbuilding with a349ce53cd28d51059ccda826ba133af52995982 reverted now #asahi-alt · 2023-11-29 14:15
stintelsetting roamoff=1 modparm doesn't fix it#asahi-alt · 2023-11-29 14:05
stintelso the driver (probably the firmware)#asahi-alt · 2023-11-29 14:04
stinteliiuc this means it got the disconnect event from the kernel?#asahi-alt · 2023-11-29 14:04
stintelnov 29 15:42:13 marvin iwd[13096]: src/netdev.c:netdev_mlme_notify() MLME notification Disconnect(48)#asahi-alt · 2023-11-29 13:55
stintelok, it's not apparantly visible in the logs to me, it says "Network is WPA3-Personal", then tries to connect to it, it connects fine, but both `iwctl station wlan0 show` and `hostap_cli sta 74:a6:cd:xx:xx:xx` show that it is using WPA2-Personal + FT (00-0f-ac-4)#asahi-alt · 2023-11-29 13:51
stintelfyi I pm'd you a link to the logs, I was too lazy to censor PII#asahi-alt · 2023-11-29 13:49
stintelhmm that was probably not the right conclusion#asahi-alt · 2023-11-29 13:43
stintellet me get you some logs#asahi-alt · 2023-11-29 13:43
stintelDannyB: so it appears related to SAE not working here. it tries to upgrade from WPA2-PSK to SAE, which fails and that results in a disconnect#asahi-alt · 2023-11-29 13:40
stintelI was actually pleasantly surprised it worked so well until now #asahi-alt · 2023-11-29 13:39
stinteloh I wouldn't be surprised, broadcom wifi firmware is a disaster ime#asahi-alt · 2023-11-29 13:38
stintelI can do that easily, hold on#asahi-alt · 2023-11-29 13:38
stintelbut I've not yet tried bss_transition=1, mbo=1, probably few more#asahi-alt · 2023-11-29 13:36
stintelyeah, I've tried many combinations in hostapd.conf (using openwrt here), until now I cannot repro it on my test network#asahi-alt · 2023-11-29 13:25
stintellooking again at the differences#asahi-alt · 2023-11-29 13:25
stintelyeah the problem is I can't repro it on my test setup with 2 BSSIDs now using the same SSID, and when I connect to my main network it's instantly broken again#asahi-alt · 2023-11-29 13:22
stintelwhat chip? BCM4387/7 here according to dmesg#asahi-alt · 2023-11-29 13:15
stintelnow I'm still trying to reproduce it on my test setup#asahi-alt · 2023-11-29 13:15
stintelinteresting though that you can connect to wpa-3 only (I assume that's WPA3-PSK), it does not work at all for me, using NM + iwd. this works fine on 6.5#asahi-alt · 2023-11-29 13:13
stintelyeah, as I said, it's complicated#asahi-alt · 2023-11-29 12:21
stintelthanks#asahi-alt · 2023-11-29 12:21
stintelor maybe 2.4 and 5 GHz using same SSID#asahi-alt · 2023-11-29 12:20
stintelyuka: do you have multiple APs ?#asahi-alt · 2023-11-29 12:13
stintelsome interesting findings though ... on 6.6-3, SAE does not work at all#asahi-alt · 2023-11-29 12:11
stintelok, it appears to be rather complicated. I can't seem to reproduce it on my test AP, but this is a single BSSID, no roaming candidates#asahi-alt · 2023-11-29 10:27
stintelbut first coffee#asahi-alt · 2023-11-29 10:26
stintelI'll boot my test AP and play around there #asahi-alt · 2023-11-29 10:25
stintelI don't immediately find how to convince NetworkManager or iwd to not use it #asahi-alt · 2023-11-29 10:24
stintelyuka: I suspect you will have 802.11r enabled in your unifi, you could try disabling it to confirm that's the culprit#asahi-alt · 2023-11-29 10:18
stintelso for some reason it downgrades from WPA3 + FT to WPA2 + FT and that seems broken