STRUCT IWL_TIME_MSMT_PTP_CTX(9)
π struct iwl_t...msmt_ptp_ctx(9) β Kernel API Manual, but make it make sense
okay bestie, so this is a page from the Kernel API Manual (yes, the actual kernel docs, we're fancy now π) and it's all about struct iwl_time_msmt_ptp_ctx. Say that five times fast. I dare you. π«Ά
β¨ NAME β¨
struct iwl_time_msmt_ptp_ctx β a vendor specific element that literally just exists to allow a space for flexibility for the userspace App π (that's the whole job, and honestly? iconic.)
πΈ SYNOPSIS πΈ
ok so here's the shape of it, and no I will not be paraphrasing code, that's illegal in my house:
struct iwl_time_msmt_ptp_ctx {
union {
struct {
u8 element_id;
u8 length;
__le16 reserved;
u8 data[PTP_CTX_MAX_DATA_SIZE];
} ftm;
struct {
u8 element_id;
u8 length;
u8 data[PTP_CTX_MAX_DATA_SIZE];
} tm;
};
};
like. look at it. two little structs vibing inside a union. main character energy fr fr π
π¦ Members π¦
okay this is the part where we meet the whole cast:
{unnamed_union}β anonymous. no name. mysterious. doesn't need one. lowkey slay πftmβ the FTM specific vendor element πftm.element_idβ element id of the vendor specific ieftm.lengthβ length of the vendor specific ieftm.reservedβ for alignment (the little guy holding the door open so everything lines up π )ftm.dataβ vendor specific data blob
tmβ the TM specific vendor element βtm.element_idβ element id of the vendor specific ietm.lengthβ length of the vendor specific ietm.dataβ vendor specific data blob
no cap:ftmandtmare the two options inside that union, so it's one or the other, not both. the union said what it said. π
π SEE ALSO π
the friend group (a.k.a. everything in Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/datapath.h that you should also go read, because we support each other):
enum iwl_data_path_subcmd_ids(9)struct iwl_mu_group_mgmt_cmd(9)struct iwl_mu_group_mgmt_notif(9)struct iwl_time_sync_cfg_cmd(9)enum iwl_synced_time_operation(9)struct iwl_synced_time_cmd(9)struct iwl_synced_time_rsp(9)struct iwl_time_msmt_notify(9)struct iwl_time_msmt_cfm_notify(9)struct iwl_channel_estimation_cfg(9)enum iwl_thermal_dual_chain_req_events(9)struct iwl_thermal_dual_chain_request(9)struct iwl_rlc_properties(9)struct iwl_sad_properties(9)struct iwl_rlc_config_cmd(9)enum iwl_rx_baid_action(9)struct iwl_rx_baid_cfg_cmd_alloc(9)struct iwl_rx_baid_cfg_cmd_modify(9)struct iwl_rx_baid_cfg_cmd_remove_v1(9)struct iwl_rx_baid_cfg_cmd_remove(9)struct iwl_rx_baid_cfg_cmd(9)struct iwl_rx_baid_cfg_resp(9)enum iwl_scd_queue_cfg_operation(9)struct iwl_scd_queue_cfg_cmd(9)enum iwl_sec_key_flags(9)struct iwl_sec_key_cmd(9)
that's the whole page bestie, you ate that πβ¨
source: ./drivers/net/wireless/intel/i... Β· October 2026 Β· struct iwl_t...msmt_ptp_ctx(9) β mwah, go read the other ones too ππ§
π¦ 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