ieee80211_nan_try_evacuate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ieee80211_nan_try_evacuate β€” a whole manual page, but make it cute ✨

okay so bestie, this is a page from the Kernel API Manual β€” yes, the ieee80211_nan_try_evacuate(9) one, the niche Wi-Fi Neighbor Awareness Networking helper that nobody warned you about. Buckle up, it's short but it's important πŸ’…


πŸŽ€ NAME πŸŽ€

ieee80211_nan_try_evacuate β€” the function that tries to evacuate a NAN channel. like, it's giving "sorry, we need this channel back" energy πŸ¦‹


🌸 SYNOPSIS 🌸

bool ieee80211_nan_try_evacuate (struct ieee80211_hw *hw , struct
       ieee80211_chanctx_conf *conf );

no cap, that's the whole call. two args, one bool back. she's simple, she's iconic ✨


πŸ’– ARGUMENTS πŸ’–

  • hw β€” a pointer, and not just any pointer: the one you got from ieee80211_alloc_hw. don't be out here inventing your own, bestie πŸ™ˆ
  • conf β€” the channel context configuration you're trying to evacuate. and here's the tea: if it's NULL, the NAN channel that has the fewest slots scheduled gets evacuated. like, she picks the emptiest one and shows it the door πŸšͺ

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does this actually do? it tries to evacuate a NAN channel that is using the given channel context β€” the whole point being to free up channel context resources. it's literally the "make some room" function. channel context resources are limited, and this is how you go reclaim one πŸ”₯


⭐ RETURN ⭐

  • true β†’ a channel was evacuated πŸŽ‰ slay
  • false β†’ no channel was evacuated 😭 oh well

πŸ‘‘ SEE ALSO πŸ‘‘

this list is LONG, bestie. like, long long. but every single one is here, i promise β€” nothing skipped, nothing merged 🫢

and that's the whole page, bestie πŸ’œ

cute little sign-off: this lil gem lives in the source ./include/net (the file itself is ./include/net/mac80211.h), it's dated October 2026, and you can find it under the manual name ieee80211_nan_try_evacuate(9) in the Kernel API Manual. go forth and evacuate those NAN channels, you absolute icon πŸŽ€βœ¨πŸŒΈ

πŸ“¦ where this page comes from