STRUCT IWL_SAP_HDR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 at enum iwl_sap_msg for 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_num is 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