iwlwifi: mvm: pass the clock type to iwl_mvm_get_sync_time()
authorLuca Coelho <luciano.coelho@intel.com>
Sat, 12 Jun 2021 11:32:35 +0000 (14:32 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 22 Jun 2021 12:11:09 +0000 (15:11 +0300)
commitc4ae8b9d0f3217308766e1ed3eaad14054b02467
tree03b39340d9e3bcd7feccb3f55420f8f8f4adc722
parent7119f02b5d3449cea7736161590ae45289a57963
iwlwifi: mvm: pass the clock type to iwl_mvm_get_sync_time()

Allow the caller to pass the clock type to iwl_mvm_get_sync_time() so
callers with different needs can decide whether to use boottime or
realtime.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210612142637.093f6660e69b.Ifd2328ac2130269f729c9c1bceec44ba01d79e88@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c
drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/utils.c