STRUCT IWL_TIME_EVENT_CMD(9)
π struct iwl_time_event_cmd(9) β like, the whole kernel API manual moment β¨
okay so bestie, welcome to the struct iwl_time_event_cmd page from the Kernel API Manual, section 9. this is the whole vibe: configuring Time Events with struct MAC_TIME_EVENT_DATA_API_S_VER_2 (see also with version 1, determined by IWL_UCODE_TLV_FLAGS) β and yes, it's the TIME_EVENT_CMD = 0x29 one. no cap. π
β¨ NAME β¨
struct iwl_time_event_cmd β configuring Time Events with struct MAC_TIME_EVENT_DATA_API_S_VER_2 (see also with version 1, determined by IWL_UCODE_TLV_FLAGS) ( TIME_EVENT_CMD = 0x29 ) π
πΈ SYNOPSIS πΈ
this is the whole struct, and yeah, every field is doing its thing:
struct iwl_time_event_cmd {
__le32 id_and_color;
__le32 action;
__le32 id;
__le32 apply_time;
__le32 max_delay;
__le32 depends_on;
__le32 interval;
__le32 duration;
u8 repeat;
u8 max_frags;
__le16 policy;
};
π¦ Members π¦
like, the main characters of this struct, one by one π
id_and_colorβ the ID and color of the relevant MAC, of typeenum iwl_ctxt_id_and_color. it's giving "which MAC am i even talking about" energy.actionβ the action to perform, one ofenum iwl_ctxt_action. so, like, what are we even doing here πidβ okay bestie, this field has two meanings depending on the action: if the action isADD, then it means the type of event to add. for all other actions it is the unique event ID assigned when the event was added by the FW. literally a dual-threat icon.apply_timeβ when to start the Time Event (in GP2). the "start the timer for me" moment β°max_delayβ maximum delay to event's start (apply time), in TU. so it can be a lil late, but not too late, yk?depends_onβ the unique ID of the event we depend on (if any). it's giving codependent but make it firmware π«Άintervalβ interval between repetitions, in TU.durationβ duration of event in TU. how long the whole thing lasts, periodt.repeatβ how many repetitions to do, can beTE_REPEAT_ENDLESS. yes, endless. go off π₯max_fragsβ maximal number of fragments the Time Event can be divided to. chop it up, iconically.policyβ defines whether uCode shall notify the host or other uCode modules on event and/or fragment start and/or end, using one ofTE_INDEPENDENT,TE_DEP_OTHER,TE_DEP_TSF,TE_EVENT_SOCIOPATHIC, usingTE_ABSENCE, and usingTE_NOTIF_*, of typeenum iwl_time_event_policy. ngl "sociopathic event" is such a specific vibe and i respect it π
okay quick vibe check: all the TE_* names and the enum types above are exact, so don't go renaming them in ur head β the FW will Not be amused π
π SEE ALSO π
go read these next, they're the friend group:
- Kernel file
./drivers/net/wireless/intel/iwlwifi/fw/api/time-event.h enum iwl_time_event_policy(9)struct iwl_time_event_resp(9)struct iwl_time_event_notif(9)enum iwl_session_prot_conf_id(9)struct iwl_session_prot_cmd(9)struct iwl_session_prot_notif(9)
and that's the page, bestie π this lil number came from ./drivers/net/wireless/intel/i... and it's dated October 2026, all about struct iwl_time_event_cmd(9). mwah, go configure some time events π§β¨π
π¦ 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