#
#asahi-alt · 2023-11-29 16:30
DannyBha
#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:41
j`eyoh right, 14.x or whatever could have a new version
#asahi-alt · 2023-11-29 13:40
j`eyDannyB: huh, we're shipping the fw that comes with macOS though?
#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:39
DannyB(they actually went backwards in firmware versions - they are now shipping an older branch than they were before, so maybe they found this bug?)
#asahi-alt · 2023-11-29 13:39
DannyBthat i can give you to try
#asahi-alt · 2023-11-29 13:38
DannyBapple also has newer firmware for all of these chips than we are shipping
#asahi-alt · 2023-11-29 13:38
DannyBt
#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:37
DannyBcan you generate logs with iwd -d the next time you can reproduce?
#asahi-alt · 2023-11-29 13:36
DannyBso either the caps are wrong (which is one of the patches above), or the supplicant gets a weird result from the driver it's not telling us about
#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:36
DannyBand can't get my wifi to disconnect the same way ;(
#asahi-alt · 2023-11-29 13:36
DannyBI have tried this on 4 different brands of wifi networks, with fast roaming enabled/disabled, neighbor reporting, you name it
#asahi-alt · 2023-11-29 13:35
DannyBbut it's not obvious at all why
#asahi-alt · 2023-11-29 13:35
DannyBand we do
#asahi-alt · 2023-11-29 13:35
DannyBIE the auth and connect is suceeding, it reports success to supplicant, and then the supplicant says "okay please deauth and disconnect"
#asahi-alt · 2023-11-29 13:35
DannyBbut if so, it's not obvious from the logs we have
#asahi-alt · 2023-11-29 13:35
DannyBit may be the driver is telling it something weird in one case but not the other
#asahi-alt · 2023-11-29 13:34
DannyBThe weird thing is that in all cases this is connecting, and then the supplicant decides to disconnect. It would be good to try to get enough supplicant debugging to see why it tries to disconnect
#asahi-alt · 2023-11-29 13:26
DannyBWhen using hardware roam a349ce depends on the station reporting the right caps to determine if the port is authorized
#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:24
DannyBI can believe fast roaming is broken somehow, if so, reverting a349c should fix it
#asahi-alt · 2023-11-29 13:23
DannyBand never have been
#asahi-alt · 2023-11-29 13:23
DannyBInterestingly the code paths aren't different for these chips
#asahi-alt · 2023-11-29 13:22
DannyB4388/4
#asahi-alt · 2023-11-29 13:22
stintelwhat chip? BCM4387/7 here according to dmesg
#asahi-alt · 2023-11-29 13:20
DannyBdriver identifies as using SAE offload, daemon shows point as WPA3-SAE
#asahi-alt · 2023-11-29 13:20
DannyBIt's WPA3-Personal (IE SAE and not PSK)
#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
DannyBand maybe 38b690940fe07348f64bd8507b8a32d01a5edbae
#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:14
DannyB4c411956766690f31c5b65d8fe24235d311b8595
#asahi-alt · 2023-11-29 13:13
DannyBa349ce53cd28d51059ccda826ba133af52995982
#asahi-alt · 2023-11-29 13:13
stintelyeah, as I said, it's complicated
#asahi-alt · 2023-11-29 13:13
DannyBand testing

plus ›