ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
kidplayer666 has quit [Quit: Connection closed for inactivity]
pounce has quit [Ping timeout: 480 seconds]
pounce has joined #asahi-alt
possiblemeatball has joined #asahi-alt
hightower3 has joined #asahi-alt
hightower2 has quit [Ping timeout: 480 seconds]
jeisom has quit [Read error: Connection reset by peer]
jeisom has joined #asahi-alt
jeisom has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
kidplayer666 has joined #asahi-alt
veebop has joined #asahi-alt
pjakobsson_ has quit [Ping timeout: 480 seconds]
kidplayer666 has quit [Quit: Connection closed for inactivity]
kidplayer666 has joined #asahi-alt
<yuka>
my wpa_supplicant keeps disconnecting from my wifi with kernel asahi-6.6-2, does anyone else have that?
<mps>
yuka: don't know about wpa_s but iwd works fine with 6.6-2
<yuka>
it only happens with my unifi wifi
<yuka>
not with pixel android hotspot
<j`ey>
yuka: DannyB did most (all?) of the changes to the brcm driver recently, I invited him here, so maybe he can help at some point if you dont fix it beofre then
<yuka>
I'm rebuilding my kernel with BRCMDBG y BRCM_TRACING y now :)
<DannyB>
I ask becasue it's using wpa_supplicant which is weird
<yuka>
it's not fedora
<yuka>
which is why we are in #asahi-alt :)
<DannyB>
ah
<DannyB>
oaky
<yuka>
NixOS
<yuka>
at least my wpa_supplicant.conf only has an "ssid=" and "key=" for this wifi, so no sae_password or anything
<DannyB>
Okay, so what's happening is that there is some bad interaction with the external supplicant. Can you recompile a kernel? If so i can make this very easy to debug. If not, i can figure it out but it will take longer
<yuka>
I can recompile the kernel
<DannyB>
Can you set the options BRCM_TRACING and BRCMDBG in your kernel config, and then shove options brcmfmac debug=1097734 in /etc/modprobe.d/brcmfmac.conf
<DannyB>
That will tell me what commands it's sending back and forth tot he chip and what the response is
<yuka>
good that I already rebuilt with those options :)
<DannyB>
oh
<DannyB>
then yeah you can just rmmod it and re-modprobe it
<DannyB>
with those options
possiblemeatball has joined #asahi-alt
<DannyB>
i think what is happening is that the management frame handling is screwed up somehow
<DannyB>
still
<j`ey>
DannyB: thanks for joining!
<DannyB>
Oh, the patch to handle management frames properly never made it into the branch
<DannyB>
it looks like it's not getting the key at this point
<yuka>
it's the same behavior as without the patch: it connects, stays connected, and after about one minute disconnects with "reason=3 locally_generated=1"
pounce has quit [Ping timeout: 480 seconds]
pounce has joined #asahi-alt
<DannyB>
Yes, but that's not what was really happening
<DannyB>
you are looking at what wpa supplicant is saying
<DannyB>
i'm looking at what the chip is saying :)
<DannyB>
the chip before was saying it couldn't handle external station auth
<DannyB>
that is what the Nov 28 16:20:29 m1 wpa_supplicant[1433]: nl80211: kernel reports: Registration to specific type not supported
<DannyB>
means
<DannyB>
and so it was not even trying to hande the management frames to wpa_supplicant
<DannyB>
Can you set the debug options to 1098758 and regenerate the log
<mps>
but don't want to merge to alpine because I see some issues
<DannyB>
janneg: There is nothing obvious in why the wpa_supplicant is choosing to disconnect in his case. With the patches (except the last one), it connects successfully, we report a successful connection, then the *suppllicant* decides to disconnect us anyway and we disconnect. it is not the driver deciding to disconnect on its own. The reason it gives us "DEAUTH_LEAVING" - IE it is choosing to leave this BSS for some other
<DannyB>
so it's extra weird
<DannyB>
because i doubt there are local patches tof edora that affect this
<DannyB>
the exact sequence of events post-patches is:
<DannyB>
driver auth and report success
<DannyB>
supplicant tells driver to auth
<DannyB>
Supplicant reports connect success
<DannyB>
...
<DannyB>
Supplicant asks us to change station
<DannyB>
Supplicant asks us to deauth and disconnect
<DannyB>
I can't see anything wrong in the driver logs - we are setting the key right, we are authing and reporting success, etc
<chadmed>
mps: we try not to pull in updates that are unreleased unless absolutely necessary since its just bm to package and distribute unreleased software
<chadmed>
new tags for the kernel, mesa and friends that are earmarked for release get staged locally and i test them before pushing to the remote
<mps>
chadmed: I do similarly for alpine, so I understand you
<mps>
I test all tags locally first and if I don't see anything problematic I then push
asimpson has quit [Read error: Connection reset by peer]
d4ve has quit [Read error: Connection reset by peer]
signaryk has quit [Read error: Connection reset by peer]
alethkit has quit [Write error: connection closed]
handlerug has quit [Write error: connection closed]