STRUCT IWL_SESSION_PROT_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct iwl_session_prot_cmd(9) πŸ’–

okay bestie, so this is a page straight out of the Kernel API Manual β€” we're looking at struct iwl_session_prot_cmd, which is literally the struct you use to configure a session protection. no cap, that's the whole name up there.


✨ SYNOPSIS ✨

here's the whole squad, exactly as it ships β€” do not touch, do not rename, just vibe:

struct iwl_session_prot_cmd {
    __le32 id_and_color;
    __le32 action;
    __le32 conf_id;
    __le32 duration_tu;
    __le32 repetition_count;
    __le32 interval;
 };

πŸŽ€ Members πŸŽ€

  • id_and_color β€” the id and color of the link (or mac, for command version 1) for which this session protection is sent. it's giving "who is this protection for" energy πŸ’…
  • action β€” can be either FW_CTXT_ACTION_ADD or FW_CTXT_ACTION_REMOVE, see enum iwl_ctxt_action. so like, are we adding or removing, pick one πŸ¦‹
  • conf_id β€” see enum iwl_session_prot_conf_id
  • duration_tu β€” the duration of the whole protection in TUs. the whole thing, okurrr ⏱️
  • repetition_count β€” not used. literally just sitting there, decorative, iconic for no reason πŸ™ˆ
  • interval β€” not used either. bestie is unemployed but present 🫢

🌸 Note 🌸

the session protection will always be scheduled to start as early as possible, but the maximum delay is configuration dependent β€” so don't come for it about timing, it's doing its best πŸ’€

The firmware supports only one concurrent session protection per vif. One. Singular. So if you add a new session protection, it will remove any currently running session β€” yes, fr fr, it just replaces it, no warning, no goodbye text πŸ”₯


⭐ SEE ALSO ⭐

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/time-event.h
  • enum iwl_time_event_policy(9)
  • struct iwl_time_event_cmd(9)
  • struct iwl_time_event_resp(9)
  • struct iwl_time_event_notif(9)
  • enum iwl_session_prot_conf_id(9)
  • struct iwl_session_prot_notif(9)

okay that's the whole page, you ate that πŸ“ and for the cute sign-off: this beauty lives in ./drivers/net/wireless/intel/i... and it's dated October 2026 β€” future girlboss manpage energy, we love to see it πŸ‘‘βœ¨πŸ’œ

πŸ“¦ where this page comes from