summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/fw/debugfs.h
diff options
context:
space:
mode:
authorMordechay Goodstein <mordechay.goodstein@intel.com>2017-12-19 13:24:44 +0300
committerLuca Coelho <luciano.coelho@intel.com>2018-03-28 12:16:04 +0300
commit759931c79fc3c8c4748269a5c2e7d48563baa6d5 (patch)
treed60d71e3d34e5614fca9f250dd4f00279a3fd840 /drivers/net/wireless/intel/iwlwifi/fw/debugfs.h
parentb0c9835c883c71013191e8ec1b8d006bb4c05697 (diff)
downloadlinux-759931c79fc3c8c4748269a5c2e7d48563baa6d5.tar.xz
iwlwifi: set default timstamp marker cmd
In case debug configuration is started with LDBG cmd also start timestamp marker for syncing logs witn the FW. Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/debugfs.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/fw/debugfs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/debugfs.h b/drivers/net/wireless/intel/iwlwifi/fw/debugfs.h
index 3da468d2cc92..d93f6a4bb22d 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/debugfs.h
+++ b/drivers/net/wireless/intel/iwlwifi/fw/debugfs.h
@@ -89,6 +89,8 @@ static inline void iwl_fw_resume_timestamp(struct iwl_fw_runtime *fwrt)
round_jiffies_relative(fwrt->timestamp.delay));
}
+void iwl_fw_trigger_timestamp(struct iwl_fw_runtime *fwrt, u32 delay);
+
#else
static inline int iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt,
struct dentry *dbgfs_dir)
@@ -102,4 +104,7 @@ static inline void iwl_fw_suspend_timestamp(struct iwl_fw_runtime *fwrt) {}
static inline void iwl_fw_resume_timestamp(struct iwl_fw_runtime *fwrt) {}
+static inline void iwl_fw_trigger_timestamp(struct iwl_fw_runtime *fwrt,
+ u32 delay) {}
+
#endif /* CONFIG_IWLWIFI_DEBUGFS */