STRUCT CFG80211_NAN_CHANNEL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct cfg80211_nan_channel(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for struct cfg80211_nan_channel β€” yes it's a whole manpage title, and yes we're getting into it πŸŽ€


✨ NAME ✨

struct cfg80211_nan_channel β€” NAN channel configuration, aka the lil struct that holds everything about how a NAN channel is set up πŸ¦‹


🌸 SYNOPSIS 🌸

here's the whole shape of it, no cap, copy it exactly:

struct cfg80211_nan_channel {
    struct cfg80211_chan_def chandef;
    const u8 *channel_entry;
    u8 rx_nss;
 };

πŸ‘‘ Members πŸ‘‘

okay so these are the members, and every single one matters, so pay attention πŸ’…

  • chandef β€” the channel definition. literally what the channel is. that's it, that's the vibe 🌈
  • channel_entry β€” a pointer to the Channel Entry blob, exactly as defined in the Wi-Fi Aware (TM) 4.0 specification Table 100 (the Channel Entry format for the NAN Availability attribute). yep, that's the whole citation, she's specific 🧚
  • rx_nss β€” the number of spatial streams supported on this channel. streams, bestie, count them πŸ“Άβœ¨

🫢 Description 🫢

so like, this struct defines a NAN channel configuration. that's the whole thing β€” it's giving "short but iconic" πŸ‘‘


more parts coming, don't go anywhere πŸ’–

πŸŽ€ SEE ALSO πŸŽ€

okay bestie, this is the part where the manpage goes "and here's literally everyone else in the kernel you might wanna meet" πŸ’… and it is a lot. Do not panic. Every single one of these is a real reference, so I'm keeping them all. Buckle up, get a snack, we're going through the whole friend group 🫢

  • the source file itself: ./include/net/cfg80211.h
  • the orientation crew: Introduction(9), Device registration(9)

✨ channels, rates & bands ✨


πŸ¦‹ Actions and configuration πŸ¦‹


🌸 Scanning and BSS list handling 🌸

  • Scanning and BSS list handling(9), struct cfg80211_ssid(9), struct cfg80211_scan_info(9), struct cfg80211_scan_6ghz_params(9), struct cfg80211_scan_request(9), struct cfg80211_match_set(9), struct cfg80211_sched_scan_plan(9), struct cfg80211_bss_select_adjust(9), struct cfg80211_sched_scan_request(9)
  • enum cfg80211_signal_type(9), struct cfg80211_inform_bss(9), struct cfg80211_bss_ies(9), struct cfg80211_bss(9), ieee80211_bss_get_elem(9), ieee80211_bss_get_ie(9)
  • connection request vibes: struct cfg80211_auth_request(9), struct cfg80211_assoc_link(9), struct cfg80211_ml_reconf_req(9), enum cfg80211_assoc_req_flags(9), struct cfg80211_assoc_request(9), struct cfg80211_deauth_request(9), struct cfg80211_disassoc_request(9), struct cfg80211_ibss_params(9), struct cfg80211_bss_selection(9), struct cfg80211_connect_params(9), enum cfg80211_connect_params_changed(9)
  • enum wiphy_params_flags(9), struct cfg80211_pmksa(9), struct cfg80211_pkt_pattern(9), struct cfg80211_wowlan_tcp(9), struct cfg80211_wowlan(9), struct cfg80211_coalesce_rules(9), struct cfg80211_coalesce(9)
  • wowlan nd gang: struct cfg80211_wowlan_nd_match(9), struct cfg80211_wowlan_nd_info(9), struct cfg80211_wowlan_wakeup(9), struct cfg80211_gtk_rekey_data(9), struct cfg80211_update_ft_ies_params(9), struct cfg80211_mgmt_tx_params(9)
  • QoS friends: struct cfg80211_dscp_exception(9), struct cfg80211_dscp_range(9), struct cfg80211_qos_map(9)

πŸ’œ Neighbor Awareness Networking (NAN) πŸ’œ

bestie this is literally the section our page lives in, so show some respect 😭

  • Neighbor Awareness Networking (NAN)(9), struct cfg80211_nan_band_config(9), struct cfg80211_nan_conf(9), struct cfg80211_nan_local_sched(9), struct cfg80211_nan_peer_map(9), struct cfg80211_nan_peer_sched(9), enum cfg80211_nan_conf_changes(9), struct cfg80211_nan_func_filter(9), struct cfg80211_nan_func(9)

πŸ”₯ auth, PMK, PMSR & the ops table πŸ”₯

  • struct cfg80211_pmk_conf(9), struct cfg80211_external_auth_params(9), struct cfg80211_ftm_responder_stats(9)
  • PMSR crew: struct cfg80211_pmsr_ftm_result(9), struct cfg80211_pmsr_result(9), struct cfg80211_pmsr_ftm_request_peer(9), struct cfg80211_pmsr_request_peer(9), struct cfg80211_pmsr_request(9), struct cfg80211_update_owe_info(9), struct mgmt_frame_regs(9), struct cfg80211_ops(9)
  • enum wiphy_flags(9), struct ieee80211_iface_limit(9), struct ieee80211_iface_combination(9)
  • wowlan support: enum wiphy_wowlan_support_flags(9), struct wiphy_wowlan_support(9), struct wiphy_coalesce_support(9)
  • vendor & opmode: enum wiphy_vendor_command_flags(9), enum wiphy_opmode_flag(9), struct sta_opmode_info(9), struct wiphy_vendor_command(9), struct wiphy_iftype_ext_capab(9), cfg80211_get_iftype_ext_capa(9), struct cfg80211_pmsr_capabilities(9), struct wiphy_iftype_akm_suites(9)
  • radio config: struct wiphy_radio_cfg(9), struct wiphy_radio_freq_range(9), struct wiphy_radio(9), enum wiphy_nan_flags(9), struct wiphy_nan_capa(9), struct wiphy(9)

πŸ‘‘ wiphy lifecycle & locking πŸ‘‘


🧚 Utility functions 🧚


🌈 Data path helpers 🌈


⭐ Regulatory enforcement infrastructure ⭐


πŸ“ scan/BSS/connection notifications πŸ“


πŸŽ€ RFkill, vendor commands & test mode πŸŽ€


πŸ’– connect / roam / station / CQM πŸ’–


okay that's the whole SEE ALSO universe and you're officially that girl who actually reads the references πŸ’…βœ¨ go take a water break, you earned it 🫢


okay bestie that's the whole guest list ✨ every single one of them is linked from this page, so if you were looking for the NAN squad specifically, cfg80211_nan_match(9), cfg80211_nan_func_terminated(9), cfg80211_nan_sched_update_done(9), cfg80211_nan_cluster_joined(9), cfg80211_nan_ulw_update(9), cfg80211_nan_channel_evac(9), cfg80211_next_nan_dw_notif(9) and cfg80211_free_nan_func(9) are all right there β€” go say hi 🫢

and that's a wrap on this page, fr fr πŸ’… this lil masterpiece lives in ./include/net, stamped October 2026, and it's officially titled struct cfg80211_nan_channel(9) β€” go off, you icon πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from