]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: iwlwifi: Adopt PTP cross timestamps to core changes
authorThomas Gleixner <tglx@kernel.org>
Fri, 29 May 2026 20:00:36 +0000 (22:00 +0200)
committerThomas Gleixner <tglx@kernel.org>
Thu, 4 Jun 2026 09:04:16 +0000 (11:04 +0200)
commit570cf418bfc9d7d0ab662794dd2e2f4eeb79dfe5
tree26f28c884b1c6ed3577da8e8fcb01685c59c1587
parente3b8d03faa4d266d19ff7a7534e7bf810ff681cf
wifi: iwlwifi: Adopt PTP cross timestamps to core changes

iwlwifi only supports CLOCK_REALTIME timestamps and provides an incomplete
result without system counter values etc.

It also zeros struct system_device_crosststamp, which is already zeroed in
the core and initialized with the clock ID.

Remove the zeroing and reject any request for a clock ID other than REALTIME.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Arthur Kiyanovski <akiyano@amazon.com>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20260529195557.535447186@kernel.org
drivers/net/wireless/intel/iwlwifi/mld/ptp.c
drivers/net/wireless/intel/iwlwifi/mvm/ptp.c