STRUCT IWL_SAP_HDR(9)
β¨ NAME β¨
struct iwl_sap_hdr β the little header that prefixes any SAP message π
(yes bestie, any of them β it's giving main character energy, it literally goes first every time).
This is the Kernel API Manual page for it, fr fr. π
πΈ SYNOPSIS πΈ
struct iwl_sap_hdr {
__le16 type;
__le16 len;
__le32 seq_num;
};
That's the whole vibe. Three fields, zero drama. β¨
π¦ Members π¦
typeβ what kind of message this is. Peek atenum iwl_sap_msgfor the full lineup π«Άlenβ how long the message is. And no, the header does not count β it's header not included, so don't come for me with the off-by-one πseq_numβ for debug. That's it. That's the whole job.seq_numis just here for the diagnostics, lowkey iconic π
π SEE ALSO π
The kernel file lives right here, bestie:
./drivers/net/wireless/intel/iwlwifi/mei/sap.h
And the whole friend group, in order, no cap β every single one:
Introduction(9)Initial Handshake(9)Host and driver state messages(9)Ownership(9)Ownership transfer(9)Data messages(9)enum iwl_sap_me_msg_id(9)struct iwl_sap_me_msg_hdr(9)struct iwl_sap_me_msg_start(9)struct iwl_sap_me_msg_start_ok(9)enum iwl_sap_msg(9)struct iwl_sap_msg_dw(9)enum iwl_sap_nic_owner(9)enum iwl_sap_wifi_cipher_alg(9)struct iwl_sap_notif_connection_info(9)enum iwl_sap_scan_request(9)struct iwl_sap_notif_conn_status(9)enum iwl_sap_radio_state_bitmap(9)enum iwl_sap_notif_host_suspends_bitmap(9)struct iwl_sap_notif_country_code(9)struct iwl_sap_notif_host_link_up(9)enum iwl_sap_notif_link_down_type(9)struct iwl_sap_notif_host_link_down(9)struct iwl_sap_notif_host_nic_info(9)struct iwl_sap_notif_dw(9)struct iwl_sap_notif_sar_limits(9)enum iwl_sap_nvm_caps(9)struct iwl_sap_nvm(9)enum iwl_sap_eth_filter_flags(9)struct iwl_sap_eth_filter(9)enum iwl_sap_flex_filter_flags(9)struct iwl_sap_flex_filter(9)enum iwl_sap_ipv4_filter_flags(9)struct iwl_sap_ipv4_filter(9)enum iwl_sap_ipv6_filter_flags(9)struct iwl_sap_ipv6_filter(9)enum iwl_sap_icmpv6_filter_flags(9)enum iwl_sap_vlan_filter_flags(9)struct iwl_sap_oob_filters(9)struct iwl_sap_csme_filters(9)struct iwl_sap_cb_data(9)struct iwl_sap_pldr_data(9)enum iwl_sap_pldr_status(9)
Like, that's a lot of reading material. Go off, honestly πβ¨
ngl bestie, the fields are little-endian (__le16,__le16,__le32) β that's just how the page spells them, so type them exactly like that and don't freestyle π
okay that's the whole page, you ate that π π Sourced from ./drivers/net/wireless/intel/i... (yes, that's how the page cut it off, not me π), dated October 2026, and it's proudly titled struct iwl_sap_hdr(9) β periodt. π§ββοΈπ
π¦ 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