#
✕ nick:marcan
#asahi-dev · 2021-12-20 10:31
marcanwell, the thing is bit 0 is "passphrase"
#asahi-dev · 2021-12-20 10:30
marcanI wonder what chain of fail led to both the mainline driver and that Android one I found doing the hex dance for no reason
#asahi-dev · 2021-12-20 10:29
marcanwell, that makes this easy then
#asahi-dev · 2021-12-20 10:29
marcanoh huh, nice
#asahi-dev · 2021-12-20 10:24
marcan:p
#asahi-dev · 2021-12-20 10:23
marcanthat was fast, I was considering asking twitter
#asahi-dev · 2021-12-20 10:23
marcanI saw it in the hex dump
#asahi-dev · 2021-12-20 10:23
marcanno bueno
#asahi-dev · 2021-12-20 10:23
marcankettenis: it was leaking uninitialized stack to the wifi card
#asahi-dev · 2021-12-20 10:22
marcanah nevermind, it works now?
#asahi-dev · 2021-12-20 10:21
marcanfirefox317: xorg?
#asahi-dev · 2021-12-20 10:19
marcankettenis: hey firefox and chromium are not a monoculture!
#asahi-dev · 2021-12-20 10:18
marcanI think someone said the xorg fbdev driver (on top of simpledrm, not simplefb) worked?
#asahi-dev · 2021-12-20 10:17
marcansomething something 16K pages and/or llvmpipe
#asahi-dev · 2021-12-20 10:17
marcanI would but all my browsers crash right now :D
#asahi-dev · 2021-12-20 10:17
marcan... now I actually get to clean up the git history for the rest of this.
#asahi-dev · 2021-12-20 10:16
marcanand with this silly patch tacked on, wifi works on the M1 Pro/Max: https://mrcn.st/p/NQoDO2et
#asahi-dev · 2021-12-20 10:14
marcanthe problem is that now I don't know if this method works for all broadcom cards, or I need some kind of feature flag for this too
#asahi-dev · 2021-12-20 10:12
marcan(or is this new?)
#asahi-dev · 2021-12-20 10:12
marcan... so you're telling me the kernel didn't have to hexify stuff all along?
#asahi-dev · 2021-12-20 10:12
marcanand that worked
#asahi-dev · 2021-12-20 10:12
marcanI... set flags to 0 and passed in the binary PSK instead of hex
#asahi-dev · 2021-12-20 10:11
marcanso normally flags = 1 "passphrase"
#asahi-dev · 2021-12-20 10:11
marcanahaha I fixed it
#asahi-dev · 2021-12-20 10:10
marcanyes
#asahi-dev · 2021-12-20 10:07
marcanso there *has* to be some way of doing this, but I guess it changed?
#asahi-dev · 2021-12-20 10:07
marcanah wait... the max passphrase is longer these days it seems, for SAE
#asahi-dev · 2021-12-20 10:06
marcan... please tell me there *is* some way of sending the raw hashed PSK
#asahi-dev · 2021-12-20 10:06
marcanI tried the ascii passphrase and it worked
#asahi-dev · 2021-12-20 10:06
marcanso normally the Linux driver sends the hashed PSK in hex form, which is one common way to represent it in contexts where a plain passphrase is accepted
#asahi-dev · 2021-12-20 10:05
marcanomg I made it work... please don't tell me this is the problem
#asahi-dev · 2021-12-20 10:03
marcanagain macOS works so obviously it meets the spec :-)
#asahi-dev · 2021-12-20 10:02
marcanum, no, macOS works
#asahi-dev · 2021-12-20 09:50
marcanI don't see anything weird in the handshake though... it's like the key is wrong somehow
#asahi-dev · 2021-12-20 09:46
marcanok, connecting to a no security network works, so it's definitely an auth issue
#asahi-dev · 2021-12-20 09:17
marcanit smells like an auth failure, but as far as I can tell the PMK passed from the driver is correct...
#asahi-dev · 2021-12-20 09:17
marcansigh, this wifi... now it tries to associate but fails
#asahi-dev · 2021-12-20 07:49
marcanjannau: indeed, but that's relatively easy, I was thinking about how to do that earlier
#asahi-dev · 2021-12-20 06:37
marcanJamie[m]1: apciec, you had me scared there for a second with "ACPI Embedded Controller" :p
#asahi-dev · 2021-12-20 06:35
marcanjust do something with AVD, break and dump the DART with the existing tools; any changes should be fairly evident
#asahi-dev · 2021-12-20 06:35
marcananyway, this sounds like it should be pretty easy to work out with the hv
#asahi-dev · 2021-12-20 06:34
marcanheh
#asahi-dev · 2021-12-20 06:33
marcanwere there actual registers there?
#asahi-dev · 2021-12-20 06:33
marcanI just remember the TLB cache thing
#asahi-dev · 2021-12-20 06:33
marcanah
#asahi-dev · 2021-12-20 06:33
marcanalso I wonder what all the SMMU strings are about, or is this for VMs?
#asahi-dev · 2021-12-20 06:32
marcan*CTT
#asahi-dev · 2021-12-20 06:32
marcannow we have TTBR -> CTE -> STT -> PT
#asahi-dev · 2021-12-20 06:32
marcanso before we had TTBR -> STT -> PT
#asahi-dev · 2021-12-20 06:31
marcanyeah

plus ›