STRUCT IWL_MAC_NAN_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct iwl_mac_nan_data(9) β€” the Kernel API Manual, bestie edition πŸ¦‹

okay so picture this: it's a kernel API manual page, it's from the 9 section, and it's literally just here to introduce you to struct iwl_mac_nan_data β€” the "NAN specific MAC data" glow-up. NAN stands for Neighbor Awareness Networking, and this struct is the little carry-on bag where the MAC keeps its NAN stuff. It's small, it's cute, it's iconic. Let's get into it ✨


🌸 NAME 🌸

struct iwl_mac_nan_data β€” NAN specific MAC data. that's the whole vibe, no notes πŸŽ€


✨ SYNOPSIS ✨

here's the shape of it, bestie β€” copy it exactly, don't be weird about it:

struct iwl_mac_nan_data {
    struct {
      u8 addr[ETH_ALEN];
      __le16 reserved;
    } ndi_addrs[2];
    __le32 ndi_addrs_count;
 };

so yeah. an array of 2 of these lil anonymous structs, each one holding a u8 addr[ETH_ALEN] and a __le16 reserved, plus a __le32 ndi_addrs_count hanging out at the bottom doing its thing πŸ’œ


🫢 Members 🫢

  • ndi_addrs β€” the extra NDI addresses being used, slay. this is the array right here, and it's giving "I brought two just in case" energy πŸ’…
  • ndi_addrs_count β€” number of extra NDI addresses. it's the headcount. it tells you how many of the above are actually real and not just vibes 🌈

πŸ”₯ SEE ALSO πŸ”₯

okay this is the part where the manpage gets main character energy and name-drops, like, everyone. prepared to be obsessed:

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h
  • enum iwl_mac_conf_subcmd_ids(9)
  • struct iwl_p2p_noa_attr(9)
  • struct iwl_probe_resp_data_notif(9)
  • struct iwl_missed_vap_notif(9)
  • struct iwl_channel_switch_start_notif_v1(9)
  • struct iwl_channel_switch_start_notif(9)
  • struct iwl_channel_switch_error_notif_v1(9)
  • struct iwl_channel_switch_error_notif(9)
  • struct iwl_cancel_channel_switch_cmd(9)
  • struct iwl_chan_switch_te_cmd(9)
  • struct iwl_mac_low_latency_cmd(9)
  • struct iwl_mac_client_data(9)
  • struct iwl_mac_p2p_dev_data(9)
  • enum iwl_mac_config_filter_flags(9)
  • struct iwl_mac_wifi_gen_support_v2(9)
  • struct iwl_mac_wifi_gen_support(9)
  • struct iwl_mac_config_cmd_v3(9)
  • struct iwl_mac_config_cmd(9)
  • enum iwl_link_ctx_modify_flags(9)
  • enum iwl_link_ctx_protection_flags(9)
  • enum iwl_link_ctx_flags(9)
  • enum iwl_link_modify_bandwidth(9)
  • enum iwl_npca_flags(9)
  • struct iwl_npca_params(9)
  • struct iwl_link_config_cmd(9)
  • enum iwl_fw_sta_type(9)
  • struct iwl_sta_cfg_cmd_v1(9)
  • struct iwl_sta_cfg_cmd_v2(9)
  • struct iwl_sta_cfg_cmd(9)
  • struct iwl_aux_sta_cmd(9)
  • struct iwl_remove_sta_cmd(9)
  • struct iwl_mvm_sta_disable_tx_cmd(9)
  • enum iwl_mvm_fw_esr_recommendation(9)
  • struct iwl_esr_mode_notif_v1(9)
  • enum iwl_esr_leave_reason(9)
  • struct iwl_esr_mode_notif(9)
  • struct iwl_missed_beacons_notif(9)
  • struct iwl_esr_trans_fail_notif(9)
  • struct iwl_twt_operation_cmd(9)
  • struct iwl_nan_band_config(9)
  • enum iwl_nan_flags(9)
  • struct iwl_nan_config_cmd(9)
  • struct iwl_nan_schedule_cmd_v1(9)
  • struct iwl_nan_schedule_cmd(9)
  • struct iwl_nan_peer_cmd(9)
  • enum iwl_nan_cluster_notif_flags(9)
  • struct iwl_nan_cluster_notif(9)
  • struct iwl_nan_dw_end_notif(9)
  • struct iwl_nan_ulw_attr_notif(9)
  • enum iwl_nan_sched_update_status(9)
  • struct iwl_nan_sched_update_completed_notif(9)

like, that's the whole group chat right there. iykyk 🧚


ngl, this struct is tiny but it's lowkey doing important work, and the manpage is not gonna hold your hand beyond that. read the SEE ALSO list, it's fr fr your enrichment reading πŸ“š

okay that's the whole page, no cap πŸ’– it's sourced from ./drivers/net/wireless/intel/i..., dated October 2026, and this lil manual page footer is struct iwl_mac_nan_data(9) β€” go forth and configure your MACs, bestie, you're gonna ate πŸŽ€β­πŸ’…

πŸ“¦ where this page comes from