blocksds / sdk

Main BlocksDS SDK repository
https://blocksds.skylyrac.net/docs/
164 stars 12 forks source link

DSi Atheros Wi-Fi support #61

Open asiekierka opened 1 year ago

asiekierka commented 1 year ago

This is the other of the two tough omissions from the DSi support of BlocksDS left.

Documentation

Prior art

Challenges/Notes

AntonioND commented 1 year ago

Regarding dswifi, I'm more than happy to add another WiFi library to the SDK and to leave dswifi as legacy.

NightScript370 commented 1 year ago

I would also like to see built-in NiFi support. NesDS, GameYob & GBARunner2 all use their own implementation because upstream doesn't support it, but this would be a great chance to! It would actually benefit from here if we add the DSi WiFi chip support as well. For reference, Gericom hoped in 07/14/2020 that twl-WiFi would be 25x as fast as ntr-WiFi, which is critical when dealing with something as sensitive as timing.

asiekierka commented 1 year ago

I don't think 25x is achievable, given that even 3DS WiFi seems to only be 10-15x as fast, and that's on a good day.

NiFi/cross-console communication support should be a separate issue, as that has its own, separate prior art.

asiekierka commented 1 year ago

@NightScript370 I've opened an issue for general improvements to NTR-mode WiFi: https://github.com/blocksds/sdk/issues/64

profi200 commented 1 year ago

It's not much but this might help too. It uses the TMIO driver from dsi_sdmmc. https://github.com/profi200/libn3ds/tree/master/source/arm11/drivers/wifi wifi.c is rather 3DS specific though.

brais-sg commented 1 year ago

Can this be used as a base for it? It appears to use lwIP too