STRUCT IWL_NAN_SCHEDULE_CMD_V1(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct iwl_nan_schedule_cmd_v1 β€” NAN schedule command ✨

okay so this is a page straight out of the Kernel API Manual (yes, that's the manual name, we're being fancy today πŸŽ€) and it's all about one little struct, bestie. sit down, get comfy, let's get into it πŸ’–


🌸 NAME 🌸

struct iwl_nan_schedule_cmd_v1 β€” the NAN schedule command. that's it, that's the whole vibe. iconic, brief, no notes πŸ‘‘


✨ SYNOPSIS ✨

here's the shape of it, literally copy-paste this into ur brain:

struct iwl_nan_schedule_cmd_v1 {
    struct {
      __le32 availability_map;
      u8 channel_entry[6];
      u8 link_id;
      u8 reserved;
    } channels[NUM_PHY_CTX];
 };

so yeah β€” it's one array called channels, sized NUM_PHY_CTX, and each element is a lil anonymous struct holding a __le32, a six-byte u8 array, and two single u8s. nested structs in an array, it's giving russian nesting dolls πŸͺ†


πŸ¦‹ Members πŸ¦‹

  • channels β€” the per channel information πŸ’« like, one entry per channel, that's the whole point.

then we go inside channels and it gets real specific:

  • channels.availability_map β€” a bitmap of the slots this channel is advertising availability on. ⚠️ heads up bestie: this gets ULW'ed out if no link / an inactive link is referenced by the link ID below. so if the link ID is pointing at nothing (or at something that's not awake), this field gets yeeted. no cap.
  • channels.channel_entry β€” the NAN channel entry descriptor 🌈 it's u8 channel_entry[6], six bytes of pure descriptor energy.
  • channels.link_id β€” the FW link ID πŸ”— or 0xFF if it's unset. that 0xFF is the "nobody's home" value, iykyk.
  • channels.reserved β€” (reserved) πŸ™ˆ literally just reserved. don't touch. it's not for u. it's saving its seat.

πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the part where the page goes full main-character and name-drops the ENTIRE friend group 😭 every single one of these, no skipping:

  • 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_nan_data(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(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 a whole group chat right there 🫢 say hi to all of them.


πŸ’€ one tiny heads-up before u go: the original header and footer of this page were a little truncated on the edges (manpage formatting things, we don't make the rules), so the title reads struct iwl_n...edule_cmd_v1(9) up top and the bottom line was ./drivers/net/wireless/intel/i... dated October 2026, with struct iwl_n...edule_cmd_v1(9) again on the right. that's the source/version/date situation, and we are respecting it, periodt.

and that's the page!! u ate that, bestie πŸ“βœ¨ mwah πŸ’œ

πŸ“¦ where this page comes from