ieee80211_nan_func_match(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

ieee80211_nan_func_match β€” notify about NAN function match event. πŸ’…

Hi bestie!! Welcome to the ieee80211_nan_func_match page from the Kernel API Manual, section 9. This is literally the tiny function that tells mac80211 β€œhey, a NAN function match just happened.” 🫢

πŸ“œ SYNOPSIS πŸ“œ

void ieee80211_nan_func_match (struct ieee80211_vif *vif , struct
       cfg80211_nan_match_params *match , gfp_t gfp );

πŸŽ€ ARGUMENTS πŸŽ€

  • vif β€” a struct ieee80211_vif pointer from the add_interface callback. That’s the interface bestie you’re reporting for. ✨
  • match β€” the match event information. This is where the tea about the match lives. πŸ’…
  • gfp β€” allocation flags. Standard kernel allocation vibes. 🌸

πŸ’« DESCRIPTION πŸ’«

Okay so this function is used to notify mac80211 about a NAN function match. In other words, it’s the β€œbestie, we matched!!” signal. 🫢

The cookie inside the match struct will be assigned by mac80211 β€” not you, bestie, mac80211 handles that part. πŸ’…

⚠️ Important vibe check: this function can’t be called from hard irq. No cap, don’t do it. 😭

🌈 SEE ALSO 🌈

Go check out these related pages too, bestie β€” mac80211 has so many besties:


πŸ’– cute sign-off bestie: source/version is ./include/net, dated October 2026. Slay your kernel dev journey! πŸ’–

πŸ“¦ where this page comes from