diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-01-15 16:43:39 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-19 16:25:12 -0500 |
commit | 1b3eb8236ad9369ae519216b61a3d22806370115 (patch) | |
tree | 910be6c299c9f9dbd57903d7003a6967d1e9fc38 /drivers/net/wireless/iwlwifi/iwl-core.h | |
parent | 2a11df6ee58d1b1fc7e5ecd7593a04d7555dc522 (diff) |
iwlwifi: display flowhandler register when sw error or on-demand
Flowhandler handle the communication between driver and uCode, when any
uCode error happen, we also like to know what is the status of the
flowhandler; it can help to debug flowhandler related problem.
Also adding debugfs file to dump current value of flowhandler registers.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h index 8deb83bfe182..666b0e0728b3 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.h +++ b/drivers/net/wireless/iwlwifi/iwl-core.h | |||
@@ -171,6 +171,7 @@ struct iwl_lib_ops { | |||
171 | bool full_log, char **buf, bool display); | 171 | bool full_log, char **buf, bool display); |
172 | void (*dump_nic_error_log)(struct iwl_priv *priv); | 172 | void (*dump_nic_error_log)(struct iwl_priv *priv); |
173 | void (*dump_csr)(struct iwl_priv *priv); | 173 | void (*dump_csr)(struct iwl_priv *priv); |
174 | int (*dump_fh)(struct iwl_priv *priv, char **buf, bool display); | ||
174 | int (*set_channel_switch)(struct iwl_priv *priv, u16 channel); | 175 | int (*set_channel_switch)(struct iwl_priv *priv, u16 channel); |
175 | /* power management */ | 176 | /* power management */ |
176 | struct iwl_apm_ops apm_ops; | 177 | struct iwl_apm_ops apm_ops; |
@@ -582,6 +583,7 @@ void iwl_dump_nic_error_log(struct iwl_priv *priv); | |||
582 | int iwl_dump_nic_event_log(struct iwl_priv *priv, | 583 | int iwl_dump_nic_event_log(struct iwl_priv *priv, |
583 | bool full_log, char **buf, bool display); | 584 | bool full_log, char **buf, bool display); |
584 | void iwl_dump_csr(struct iwl_priv *priv); | 585 | void iwl_dump_csr(struct iwl_priv *priv); |
586 | int iwl_dump_fh(struct iwl_priv *priv, char **buf, bool display); | ||
585 | #ifdef CONFIG_IWLWIFI_DEBUG | 587 | #ifdef CONFIG_IWLWIFI_DEBUG |
586 | void iwl_print_rx_config_cmd(struct iwl_priv *priv); | 588 | void iwl_print_rx_config_cmd(struct iwl_priv *priv); |
587 | #else | 589 | #else |