Linux wireless drivers development
 help / color / mirror / Atom feed
* Receiving broadcast data frames in AP mode
@ 2025-10-02 14:52 Yannik Marchand
  2025-10-07  9:47 ` Johannes Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Yannik Marchand @ 2025-10-02 14:52 UTC (permalink / raw)
  To: linux-wireless

Hello,

I have been using nl80211 to implement local wireless communication with 
a Nintendo Switch device. The current implementation can be found here: 
https://github.com/kinnay/LDN.

We have run into the issue that we are not receiving any data frames in 
AP mode. In station mode it works fine. Inspecting the traffic with 
Wireshark in monitor mode showed that the data frames are being sent to 
the broadcast address ff:ff:ff:ff:ff:ff. Some research suggested that 
the Linux kernel might drop these packets by design: 
https://github.com/torvalds/linux/blob/7f7072574127c9e971cad83a0274e86f6275c0d5/net/mac80211/rx.c#L4443.

Currently, we are wondering if it is necessary to switch to adhoc mode. 
This would be inconvenient, as not all devices support adhoc mode, and I 
am also not sure how adhoc mode can be used correctly. We do need to 
send beacon frames, and process association requests, but 
NL80211_CMD_START_AP and NL80211_CMD_SET_BEACON seem to be unsupported 
in adhoc mode.

* Is it correct that there is no way to receive broadcast data frames in 
AP mode?
* Is there any documentation or example code on using adhoc mode with 
nl80211?
* Any general advice on moving forward?

Thanks,
Yannik Marchand

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-02-17 16:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-02 14:52 Receiving broadcast data frames in AP mode Yannik Marchand
2025-10-07  9:47 ` Johannes Berg
     [not found]   ` <c09802fb-bde5-4775-bb24-69f465c638be@me.com>
2026-02-13 16:30     ` Yannik Marchand
     [not found]       ` <bb63abe8c61a02afd67921934e15c6a943a12fba.camel@sipsolutions.net>
2026-02-17 14:56         ` Yannik Marchand
2026-02-17 16:09           ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox