STRUCT IWL_DHC_TWT_OPERATION(9)
π 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β seeenum 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 andinterval_expare 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β isndo_paging_indicatorset.responder_pm_modeβ isresponder_pm_modeset.negotiation_typeβ if the responder wants to doze outside the TWT SP.twt_requestβ1for TWT request,0otherwise. 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.henumiwl_dhc_table_id(9), enumiwl_dhc_umac_tools_table(9), enumiwl_dhc_umac_integration_table(9), structiwl_dhc_cmd(9), structiwl_dhc_payload_hdr(9), structiwl_dhc_tas_status_per_radio(9), structiwl_dhc_tas_status_resp(9), structiwl_dhc_cmd_resp_v1(9), structiwl_dhc_cmd_resp(9), enumiwl_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 thatflow_idrange of 0 to 7, and keepreservedreserved. 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
- 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