11-04-2020, 03:55 PM
(This post was last modified: 11-04-2020, 04:17 PM by codedwrench.)
(11-04-2020, 03:41 PM)gid15 Wrote: I read about the DDS protocol and saw the implementation. It is quite simple and looks powerful.
My first thought was to implement XLink Kai at the mixed level (HLE+LLE), since it is much better tested than the pure LLE level. That would be in sceWlan.java, but the first difficulty was implementing the scanning function (IOCTL_CMD_START_SCANNING) which is the start of any Adhoc communication.
However, I don't know how this function translates to the raw Adhoc protocol. In sceWlan it is just implemented by an UDP broadcasting, but that will not work with XLink Kai, I would need to find out which frames are being sent out for scanning. That's why I wanted to try it out using the AdhocToUSB method + wireshark.
The LLE implementation for the Wlan is not complete yet, it is still a work in progress. I have not yet put much priority on it as the mixed HLE+LLE seems to work quite well for networking. That's probably the reason why your tests were failing.
Hi Gid, one second, i'll dm you a packet capture of some traffic, maybe that is something you can use, if you have any way we can chat directly I could also host a server of some game on my PSP for you so you can check yourself.
One thing that might be of interest to you is the following as well. The project I have going, mondevtopromisc uses a WiFi adapter in Monitor mode, it never associates (connects) with the actual PSP, it just sends the data straight to that AdHoc network. The PSP does not care about this whatsoever. As long as the PSP gets its data, it will send back to the MAC of the PSP I'm injecting the packets of. So anything regarding connecting to adhoc networks can probably be skipped!