diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-12-04 10:07:47 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-12-28 20:00:13 +0200 |
commit | 8c23f95cca0efd2b6e0a8fedd9c9285b352579c8 (patch) | |
tree | 5eab328d64d5f5b46c1f1a7e5546f1485ae16905 /drivers/net/wireless/iwlwifi/mvm/mvm.h | |
parent | b7aaeae478d352bca5e877f97898a9668c2c74fb (diff) | |
download | blackbird-op-linux-8c23f95cca0efd2b6e0a8fedd9c9285b352579c8.tar.gz blackbird-op-linux-8c23f95cca0efd2b6e0a8fedd9c9285b352579c8.zip |
iwlwifi: mvm: add debugfs to trigger fw debug logs collection
This allows to collect the logs even if the firmware hasn't
crashed. Of course, crashing the firmware is an option, but
this is easier and nicer.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mvm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h index f3cb08976e23..ff1a40970ac1 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mvm.h +++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h @@ -1371,4 +1371,7 @@ struct ieee80211_vif *iwl_mvm_get_bss_vif(struct iwl_mvm *mvm); void iwl_mvm_nic_restart(struct iwl_mvm *mvm, bool fw_error); void iwl_mvm_fw_error_dump(struct iwl_mvm *mvm); +int iwl_mvm_start_fw_dbg_conf(struct iwl_mvm *mvm, enum iwl_fw_dbg_conf id); +void iwl_mvm_fw_dbg_collect(struct iwl_mvm *mvm); + #endif /* __IWL_MVM_H__ */ |