iwl_mvm_schedule_csa_period(9)
π iwl_mvm_schedule_csa_period(9) β like, the kernel API manual, bestie β¨
Okay so before we even get into it β this whole thing lives in the Kernel API Manual, and the function we're obsessing over today is iwl_mvm_schedule_csa_period(9). Yes, that's the whole name. It's giving main character energy already π
πΈ NAME πΈ
iwl_mvm_schedule_csa_period β literally just requesting a channel switch absence period, no cap π«
β¨ SYNOPSIS β¨
int iwl_mvm_schedule_csa_period (struct iwl_mvm *mvm , struct
ieee80211_vif *vif , u32 duration , u32 apply_time );
That's the whole signature, bestie β four args, one int coming back at you. Slay π«Ά
π¦ ARGUMENTS π¦
So here's the rundown of everyone invited to this function's party:
mvmβ the mvm component. She's the whole vibe, the context of it all πvifβ the virtual interface for which the channel switch is issued. Like, which interface is doing the switching? This one πdurationβ the duration of the NoA in TU. That's the length of the absence period, okay? πapply_timeβ NoA start time in GP2. When it kicks in, basically β°
π§ DESCRIPTION π§
So what's she actually for? This function is used to schedule the NoA time event, and it's used to perform the channel switch flow. That's the tea β
Like β schedule the NoA time event, do the channel switch flow. That's it, that's the whole plot. Not complicated, just iconic π
β RETURN β
She returns a negative error code, or 0 on success. So like, if you get 0 you're thriving π if you get negative, something went off and you have my condolences π
π SEE ALSO π
The whole friend group, fr fr β plus the kernel file where this all lives:
Kernel file ./drivers/net/wireless/intel/iwlwifi/mvm/time-event.h
Time Events - what is it?(9)Abstraction to the driver(9)iwl_mvm_protect_session(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_te_scheduled(9)iwl_mvm_schedule_session_protection(9)iwl_mvm_rx_session_protect_notif(9)
Go read them, iykyk πβ¨
Full disclaimer bestie: this page is sourced from ./drivers/net/wireless/intel/i... and it's dated October 2026 β so yeah, mark your calendars ποΈπ
And that's the page! iwl_mvm_schedule_csa_period(9) β request channel switch absence period, scheduled, slayed, 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