iwl_mvm_protect_session(9)
π 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 thanmin_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βtrueif 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 π
- Kernel file
./drivers/net/wireless/intel/iwlwifi/mvm/time-event.hβ Time Events - what is it?(9) π§ - Abstraction to the driver(9)
iwl_mvm_stop_session_protection(9)iwl_mvm_rx_roc_notif(9)iwl_mvm_start_p2p_roc(9)iwl_mvm_stop_roc(9)iwl_mvm_remove_time_event(9)iwl_mvm_te_clear_data(9)iwl_mvm_schedule_csa_period(9)iwl_mvm_te_scheduled(9)iwl_mvm_schedule_session_protection(9)iwl_mvm_rx_session_protect_notif(9)
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
- 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