the best i could think of is to run wireshark in promiscuous mode on a laptop and capture all the packets.
this only work ds->router and not ds->ds since that uses a specialized protocol (as far as i can remember)
to receive all packets the wifi card on your computer needs to support monitor mode. if it doesn't then you will not catch most of the ds packets - at least for ds to ds traffic where it is not connected to an AP
iirc direct ds to ds communications have very tight timing requirements. I have no idea what you mean by "I am using wifi" so it should work. The wifi card in your computer needs to be able to enter monitor mode and send/receive non-standard wifi packets - manually set wifi packets sequence numbers etc. not all wifi cards allow you to do this. you should take a look at the source code for desmume.
I doubt that "I'm using wifi" will be enough to man-in-the-middle attack the ds wifi communications
I guess the easiest way would be providing the Internet to the DS from your Laptop or a PC with wifi and then sniff it out with wireshark but this will only work if the wifi provided by the computer is running in infrastructure mode (the mode that routers and wifi access points run in), ad-hoc mode won't work.
Edit:
If you actually really want to take a look at the wlan from a bystander position(as in not being already a user inside the wlan or even the machine providing the wlan to the DS) you should take a look at real wlan sniffing, for Linux check kismet out (passive scanner that requires your wlan adapter to be able to run in raw monitoring mode) and for windows maybe netstumbler (active scanner).
I'm really no expert on this, google is your friend.
After a couple days of Nintendo releasing their 18.0.0 firmware update, @SciresM releases a brand new update to his Atmosphere NX custom firmware for the Nintendo...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Hello, GBAtemp members! After a prolonged absence, I am delighted to announce my return and upgraded form to you today...
Introducing tempBOT AI 🤖
As the embodiment...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
Yet another casualty goes down in the never-ending battle of copyright enforcement, and this time, it hit a big website which was the host for many fangames based and...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
The romhacking community is always a source for new ways to play retro games, from completely new levels or stages, characters, quality of life improvements, to flat...
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
Retro handheld manufacturer Anbernic is releasing a refreshed model of its RG35XX handheld line. This new model, named RG35XX 2024 Edition, features the same...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Hello, GBAtemp members! After a prolonged absence, I am delighted to announce my return and upgraded form to you today...
Introducing tempBOT AI 🤖
As the embodiment...
After a couple days of Nintendo releasing their 18.0.0 firmware update, @SciresM releases a brand new update to his Atmosphere NX custom firmware for the Nintendo...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
Nintendo might just as well be a law firm more than a videogame company at this point in time, since they have yet again issued their now almost trademarked usual...
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
Yet another casualty goes down in the never-ending battle of copyright enforcement, and this time, it hit a big website which was the host for many fangames based and...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
Nintendo has recently announced through their social media accounts that a new Indie World stream will be airing tomorrow, scheduled for April 17th, 2024 at 7 a.m. PT...