#
✕ nick:sven
#asahi-dev · 2022-09-19 10:32
svenoh, interesting
#asahi-dev · 2022-09-19 10:32
svenjust need to take r's tracer and move it over to the new pcie framework and then make it spit out the commands in a way humans can read them
#asahi-dev · 2022-09-19 10:30
svenyup, pretty much
#asahi-dev · 2022-09-19 10:29
svenbut maybe it needs parameters
#asahi-dev · 2022-09-19 10:29
svenI think I tried ReadSupportedVSCs and just got "command denied" or something
#asahi-dev · 2022-09-19 10:28
sven(well, all vendor commands that existed a few years ago before they noticed)
#asahi-dev · 2022-09-19 10:27
sventhey dumped pretty much all broadcom vendor commands into PacketSniffer afaict
#asahi-dev · 2022-09-19 10:26
sveni'll try to get the bt tracer to just spit out btmon logs. staring at bluetooth hex commands isn't much fun
#asahi-dev · 2022-09-19 10:26
sventhere are a few suspicious commands
#asahi-dev · 2022-09-19 10:26
svenyeah
#asahi-dev · 2022-09-19 10:25
sven:D
#asahi-dev · 2022-09-19 10:25
svennice, thanks
#asahi-dev · 2022-09-19 10:24
sventhat's where https://github.com/seemoo-lab/internalblue/blob/master/internalblue/hci.py#L268 comes from afaict
#asahi-dev · 2022-09-19 10:24
sventhere's a cute "PacketLogger" thing you can get with xcode. older versions seem to even include names for most vendor commands :D
#asahi-dev · 2022-09-19 10:23
svenon macos it does lots of vendor specific commands but I can't easily trace the setup there
#asahi-dev · 2022-09-19 10:22
svenhave you pushed the wifi tracer? i can adapt the bt tracer and make it spit out btmon traces we can stare at then
#asahi-dev · 2022-09-19 10:22
sven4377 claims support and _does_ support that command
#asahi-dev · 2022-09-19 10:22
svenit's still weird the firmware on 4378/87 claims to support it but then disallows that command though
#asahi-dev · 2022-09-19 10:21
sven" The Bluetooth Core Specification does not specify signalling between the Bluetooth Controller and a Wireless LAN device." so jannau is right, this MWS seems to be about coex with other 2.4 GHz radios
#asahi-dev · 2022-09-19 10:19
svenit also fails with "command disallowed" and not with "unknown command"
#asahi-dev · 2022-09-19 10:19
svencould be, it's a bit unclear
#asahi-dev · 2022-09-19 10:18
svenit does some "Mobile Wireless Standard" frame configuration. it's unclear if this also includes wifi though
#asahi-dev · 2022-09-19 10:17
svenmarcan: fwiw, that command that breaks bluetooth on 6.0-rc6 is somehow related to coex afaict
#asahi-dev · 2022-09-18 11:39
svenis afraid this will be even more cursed than he thought
#asahi-dev · 2022-09-18 11:38
sventhat trace looked like it was sending two separate streams using dpin0 and dpin1
#asahi-dev · 2022-09-18 11:34
svenweird
#asahi-dev · 2022-09-18 11:34
sventhey should be able to use two dcpext0 and 1 and route them to dpin0/1
#asahi-dev · 2022-09-18 11:34
sventhat sounds pretty weird
#asahi-dev · 2022-09-18 11:33
svenhuh
#asahi-dev · 2022-09-18 11:30
sveni.e. dispext0,0 -> dpin0
#asahi-dev · 2022-09-18 11:30
svenlooks like it enables a single stream via DPIN0
#asahi-dev · 2022-09-18 11:30
svenlol
#asahi-dev · 2022-09-18 10:35
svenwell, and right now I can’t even get a single screen to work because some DCP magic is missing ofc :D
#asahi-dev · 2022-09-18 10:34
svenI’m pretty sure I can route dispext0,{0,1} to different ports but the DCP firmware itself might not be happy with that
#asahi-dev · 2022-09-18 10:31
svenI think I know what’ll happen but it’ll be interesting to see
#asahi-dev · 2022-09-18 10:31
svensure!
#asahi-dev · 2022-09-18 09:33
svenso maybe we can route that to the two separate ports and actually support two screens (possibly at a limited resolution)
#asahi-dev · 2022-09-18 09:33
svenlooks like it uses dispext0,0 and dispext0,1 though
#asahi-dev · 2022-09-18 09:30
sveni'll first finish bluetooth v3
#asahi-dev · 2022-09-18 09:30
sveni'll probably ask you to do another trace with dcp but that'll likely take a few weeks anyway
#asahi-dev · 2022-09-18 09:30
svendottedmag: thanks, will take a look later
#asahi-dev · 2022-09-16 14:45
sven:D
#asahi-dev · 2022-09-14 09:27
svensounds good to me. more upstream bindings would be great
#asahi-dev · 2022-09-12 20:39
sventhanks
#asahi-dev · 2022-09-12 20:33
sventhat very much sounds like the usual Broadcom ringerbuffer thing
#asahi-dev · 2022-09-12 20:30
svenI guess just the normal Broadcom WiFi thing
#asahi-dev · 2022-09-12 20:28
sventhat’s not related to these apple mailboxes
#asahi-dev · 2022-09-12 20:28
svenno
#asahi-dev · 2022-09-12 20:26
svenshorne: Wi-Fi doesn’t use any of the apple, mailboxes
#asahi-dev · 2022-09-12 20:25
sven*but I’m not so sure about the rest

plus ›