STRUCT IWL_DHC_TWT_OPERATION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct iwl_dhc_twt_operation(9) πŸŽ€

okay bestie, this is a page from the Kernel API Manual, and it's all about struct iwl_dhc_twt_operation β€” literally the struct that triggers a TWT operation. no cap. let's get into it πŸ’…


✨ NAME ✨

struct iwl_dhc_twt_operation β€” trigger a TWT operation. that's it, that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

here's the whole struct, copied exactly, do not touch:

struct iwl_dhc_twt_operation {
    __le32 mac_id;
    __le32 twt_operation;
    __le64 target_wake_time;
    __le32 interval_exp;
    __le32 interval_mantissa;
    __le32 min_wake_duration;
    u8 trigger;
    u8 flow_type;
    u8 flow_id;
    u8 protection;
    u8 ndo_paging_indicator;
    u8 responder_pm_mode;
    u8 negotiation_type;
    u8 twt_request;
    u8 implicit;
    u8 twt_group_assignment;
    u8 twt_channel;
    u8 reserved;
 };

look at all those fields, she's serving structure πŸ”₯


πŸ’– Members πŸ’–

okay so every single member, one by one, no skipping (i would never):

  • mac_id β€” the mac Id on which to trigger TWT operation. like, which mac are we even doing this on, yk?
  • twt_operation β€” see enum iwl_dhc_twt_operation_type. go look at the enum, bestie πŸ‘€
  • target_wake_time β€” when should we be on channel. that's the whole question, whennnn ⏰
  • interval_exp β€” the exponent for the interval.
  • interval_mantissa β€” the mantissa for the interval. her and interval_exp are literally a matched set 🫢
  • min_wake_duration β€” the minimum duration for the wake period.
  • trigger β€” is the TWT triggered or not. yes or no bestie, pick one πŸŽ€
  • flow_type β€” is the TWT announced or not.
  • flow_id β€” the TWT flow identifier from 0 to 7. so valid range is 0 to 7, remember that 😌
  • protection β€” is the TWT protected.
  • ndo_paging_indicator β€” is ndo_paging_indicator set.
  • responder_pm_mode β€” is responder_pm_mode set.
  • negotiation_type β€” if the responder wants to doze outside the TWT SP.
  • twt_request β€” 1 for TWT request, 0 otherwise. 1 or 0, iconic binary behaviour ✨
  • implicit β€” is TWT implicit.
  • twt_group_assignment β€” the TWT group assignment.
  • twt_channel β€” the TWT channel.
  • reserved β€” reserved. she's reserved. we don't ask πŸ’€

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/dhc.h enum iwl_dhc_table_id(9), enum iwl_dhc_umac_tools_table(9), enum iwl_dhc_umac_integration_table(9), struct iwl_dhc_cmd(9), struct iwl_dhc_payload_hdr(9), struct iwl_dhc_tas_status_per_radio(9), struct iwl_dhc_tas_status_resp(9), struct iwl_dhc_cmd_resp_v1(9), struct iwl_dhc_cmd_resp(9), enum iwl_dhc_twt_operation_type(9)

go read the whole friend group, they're all linked πŸ’œ


ngl this is lowkey just a struct, so there's no sneaky undefined behaviour here β€” but do respect that flow_id range of 0 to 7, and keep reserved reserved. respect her boundaries πŸ™ˆ

okay that's the page!! final sign-off bestie: this one comes from ./drivers/net/wireless/intel/i... and it's dated October 2026, filed under struct iwl_d...wt_operation(9). mwah, go trigger some TWT operations πŸ’‹πŸŒΈβœ¨

πŸ“¦ where this page comes from