cfg80211_reg_can_beacon(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

โœจ cfg80211_reg_can_beacon(9) โœจ

ok so bestie, welcome to cfg80211_reg_can_beacon โ€” she's from the Kernel API Manual (section 9, iykyk) and she's literally here to answer one iconic question: can we beacon here or not? ๐ŸŽ€


๐ŸŒธ NAME ๐ŸŒธ

cfg80211_reg_can_beacon โ€” check if beaconing is allowed ๐Ÿ’…

๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

bool cfg80211_reg_can_beacon (struct wiphy *wiphy , struct
       cfg80211_chan_def *chandef , enum nl80211_iftype iftype );

like... she takes three things and gives you back a bool. simple queen behavior, no cap. ๐Ÿ‘‘

๐Ÿ’– ARGUMENTS ๐Ÿ’–

  • wiphy โ€” the wiphy ๐Ÿงš (yes that's the whole description, she's mysterious like that)
  • chandef โ€” the channel definition, aka the whole vibe of the channel you're asking about โœจ
  • iftype โ€” interface type, the enum nl80211_iftype situation ๐ŸŒˆ

โญ RETURN โญ

Returns true if there is no secondary channel โ€” or if the secondary channel(s) can actually be used for beaconing. ๐ŸŽ€ (read: it's not a radar channel etc. etc., so you're lowkey good to go ๐Ÿซถ)

fr fr, if you get true back it means no secondary channel exists at all, OR the secondary channel(s) passed the vibe check and aren't stuff like radar channels. that's the whole deal ๐Ÿ’€

ok that's part 1 bestie, stay tuned, there's more ๐Ÿ‘€๐Ÿ’œ

โœจ SEE ALSO โœจ

okay bestie, this is the whole extended friend group ๐Ÿ’– grab a lil snack, because every single cross-reference is about to walk in looking iconic. no skips, no cuts, we're naming everyone. periodt.


And that's a wrap, bestie ๐ŸŽ€โœจ This lil' beauty lives over in ./include/net and it's dated October 2026 โ€” so future vibes, current knowledge, no cap ๐Ÿ’…๐Ÿฆ‹ Go forth and beacon responsibly ๐Ÿซถ๐Ÿ’–

๐Ÿ“ฆ where this page comes from