STRUCT IEEE80211_NAN_CHANNEL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ieee80211_nan_channel(9) β€” NAN channel information πŸ¦‹

okay bestie, this page is from the Kernel API Manual, and it's giving β€œtiny struct, big NAN energy.” If you're poking at Wi-Fi Aware stuff in mac80211, this is the lil' info bundle for a NAN channel. Let's get into it, no cap. ✨


🌸 NAME 🌸

struct ieee80211_nan_channel β€” NAN channel information. periodt.


✨ SYNOPSIS ✨

struct ieee80211_nan_channel {
    struct ieee80211_chan_req chanreq;
    u8 needed_rx_chains;
    struct ieee80211_chanctx_conf *chanctx_conf;
    u8 channel_entry[6];
 };

πŸ‘‘ Members πŸ‘‘

Here's the breakdown, bestie β€” every member, every detail, zero skips:

  • chanreq β€” channel request for this NAN channel. Even though this chanreq::ap is irrelevant for NAN, still store it for convenience β€” some functions require it as an argument. Highkey β€œjust in case” energy, but it's required. πŸ’…
  • needed_rx_chains β€” number of RX chains needed for this NAN channel. Slay.
  • chanctx_conf β€” chanctx_conf assigned to this NAN channel. If a local channel is being ULWed (because we needed this chanctx for something else), the local NAN channel that used this chanctx will have this pointer set to NULL. A peer NAN channel should never have this pointer set to NULL. Not me emphasizing that again: peer NAN channel = never NULL, fr fr. 😭
  • channel_entry β€” the Channel Entry blob as defined in Wi-Fi Aware (TM) 4.0 specification Table 100 (Channel Entry format for the NAN Availability attribute). Literally the blob. 🫢

🌈 SEE ALSO 🌈

okay, this SEE ALSO list is literally the whole mac80211 extended universe, and I am not skipping a single one. Every reference from the page is here, in the original order, because we don't gatekeep:

That's every single reference, bestie β€” no cap. πŸ’…


cute sign-off time: source vibes from ./include/net, date vibes from October 2026 β€” and that's the whole page, periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from