cfg80211_rx_spurious_frame(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cfg80211_rx_spurious_frame β€” Kernel API Manual

okay so bestie, buckle up, we're in the Kernel API Manual today and this one's about telling userspace that a frame showed up out of nowhere. iconic behaviour, honestly πŸŽ€


✨ NAME ✨

cfg80211_rx_spurious_frame β€” inform userspace about a spurious frame


πŸ¦‹ SYNOPSIS πŸ¦‹

bool cfg80211_rx_spurious_frame (struct net_device *dev , const u8 *addr
, int link_id , gfp_t gfp );

🌸 ARGUMENTS 🌸

  • dev β€” the device the frame matched to πŸ‘‘
  • addr β€” the transmitter address, i.e. who sent this thing
  • link_id β€” the link the frame was received on; it's -1 if that's not applicable or it's just... unknown πŸ™ˆ
  • gfp β€” context flags, the usual allocation-vibes situation

πŸ’– DESCRIPTION πŸ’–

so this function is the one you call in AP mode to let userspace know a spurious class 3 frame got received β€” the whole point being so userspace can deauth the sender 😭 like, bye.

it also gets used in NAN_DATA mode to report frames coming from unknown peers (specifically: A2 not assigned to any active NDP), and that's per the Wi-Fi Aware (TM) 4.0 specification 6.2.5 β€” yes she cited her sources, periodt πŸ“šβœ¨


πŸ”₯ RETURN πŸ”₯

true if the frame was passed to userspace β€” or if this whole thing failed for a reason other than not having a subscription. yep, read that twice, it's giving "technically a win" πŸ’€


more parts coming, don't go anywhere 🫢

✨ SEE ALSO ✨

okay bestie, buckle up β€” this SEE ALSO section is a whole family reunion πŸ‘‘πŸ’– it's giving "everyone in cfg80211 showed up and brought a plus-one," and I kept every single reference in the exact order, no skips, no cap:

Okay so the rest of the squad β€” like, the whole extended friend group of manpages that live in the same orbit as this one. Go say hi to them one by one, bestie, they're all right there:


And that's the whole list, bestie β€” every single one of them, no cuts, no skips, nothing left out πŸ’œ

One lil footer moment before you go: this page lives in the ./include/net source tree, it's dated October 2026, and its official title-card is cfg80211_rx_spurious_frame(9). Now go read a manpage, you gorgeous nerd 🧚✨

πŸ“¦ where this page comes from