STRUCT IWL_NAN_SCHEDULE_CMD_V1(9)
π 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'su8 channel_entry[6], six bytes of pure descriptor energy.channels.link_idβ the FW link ID π or0xFFif it's unset. that0xFFis 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 readsstruct iwl_n...edule_cmd_v1(9)up top and the bottom line was./drivers/net/wireless/intel/i...dated October 2026, withstruct 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms