iwl_mvm_protect_session(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– iwl_mvm_protect_session β€” a kernel API manual moment πŸ’–

okay so bestie, welcome to the iwl_mvm_protect_session(9) page from the Kernel API Manual ✨ this is the whole vibe, let's get into it 🫢


🌸 NAME 🌸

iwl_mvm_protect_session β€” start / extend the session protection πŸ’…


⭐ SYNOPSIS ⭐

void iwl_mvm_protect_session (struct iwl_mvm *mvm , struct ieee80211_vif
*vif , u32 duration , u32 min_duration , u32 max_delay , bool
wait_for_notif );

literally the whole signature, no cap 🧚


πŸŽ€ ARGUMENTS πŸŽ€

  • mvm β€” the mvm component, the main character of this whole situation πŸ‘‘
  • vif β€” the virtual interface for which the session is issued πŸ¦‹
  • duration β€” the duration of the session in TU ⏳
  • min_duration β€” will start a new session if the current session will end in less than min_duration πŸ“ (so like… if it's about to dip out, it just starts fresh, iconic)
  • max_delay β€” maximum delay before starting the time event (in TU) πŸ™ˆ
  • wait_for_notif β€” true if it is required that a time event notification be waited for (that the time event has been scheduled before returning) πŸ”₯ like, it won't come back to you until it's actually been scheduled, fr fr

πŸ’œ DESCRIPTION πŸ’œ

This function can be used to start a session protection, which means the fw will stay on the channel for duration_ms milliseconds ✨ (yes, the original says duration_ms right there in the description while the argument is called duration, that's just how it is bestie, we don't question the lore πŸ’€).

This function can block (sleep) until the session starts 😴 lowkey a whole nap moment.

This function can also be used to extend a currently running session πŸ’… the way that it just picks up the existing one and keeps it going.

This function is meant to be used for BSS association for example, where we want to make sure that the fw stays on the channel during the association 🌈 that's the entire point β€” no wandering off mid-association, periodt.


🌟 SEE ALSO 🌟


okay that's the whole page bestie, go be obsessed with time events πŸ’– and a cute little sign-off for the credits: this one comes from ./drivers/net/wireless/intel/i... dated October 2026 πŸŽ€ mwah, slay, see u in the next manpage βœ¨πŸ¦‹

πŸ“¦ where this page comes from