cfg80211_wd...nnel_allowed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ cfg80211_wd...nnel_allowed ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… this is literally the page for cfg80211_wd...nnel_allowed(9) β€” yes the title got cut off mid-word like a text that got sent too fast, but that's just how it's printed, don't come for me 🫢

And yeah, it's long-ish energy, so we're doing this in parts. This is part 1. Buckle up, stay hydrated πŸ“


🌸 NAME 🌸

cfg80211_wdev_channel_allowed β€” check if the wdev may use the channel ✨

Like, that's the whole job. It looks at a wireless device and a channel and is like "can you sit here? yes or no." no cap πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

bool cfg80211_wdev_channel_allowed(struct wireless_dev *wdev,
                                   struct ieee80211_channel *chan);

so it returns a bool, takes a struct wireless_dev * and a struct ieee80211_channel *, and that's it. clean. minimal. iconic πŸŽ€


πŸ’– ARGUMENTS πŸ’–

  • wdev β€” the wireless device πŸ’œ like, the actual device we're asking about. main character energy, honestly.
  • chan β€” channel to check 🌈 the one we're like "can wdev hang out here or nah?" about.

two arguments. two. we love a low-effort signature that still gets the job done πŸ™ˆ


⭐ RETURN ⭐

whether or not the wdev may use the channel ✨

that's it. that's the return. a bool that says yes or no. no error codes, no weird sentinel values, no drama πŸ’€ just vibes and a truth value.


okay and that's genuinely the whole page for this bit 😭 it's a short one β€” but hang tight, there's more coming in part 2, don't go anywhere 🧚

✨ SEE ALSO ✨

okay bestie, this is the SEE ALSO section and it is a lot β€” like, β€œsomeone dumped the entire cfg80211 friend group into the group chat” a lot. Every single reference is here, in the original order, no cap. Nothing skipped, nothing merged, nobody left on read. πŸ’–

and yes, that is every single one β€” not a single reference left on read. πŸ’…

Okay so like β€” the reference corner πŸ’… the "go read these next" wall of fame. Every single one of these has its own manpage, so if something here caught your eye, that's your next rabbit hole fr fr:


And that's the whole page, bestie β€” we did it 🫢 This lil doc lives over in ./include/net, it's dated October 2026, and its version tag is literally cfg80211_wd...nnel_allowed(9) (yes the truncation is part of the vibe, don't come for her πŸ’€). Go read the actual kernel docs, stay hydrated, and ily β€” bye πŸ’–βœ¨

πŸ“¦ where this page comes from