diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-09-05 19:49:45 +0200 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-09-17 22:18:17 +0200 |
commit | 95b49ed013c9a8856ce768d8d4a62acfc410f73d (patch) | |
tree | 996a44eb0c397e22405d2b0ff0c87f9e14285cb9 /drivers/net/wireless/iwlwifi/iwl-agn.h | |
parent | iwlagn: keep track of aggregated tx frames failure counter (diff) | |
download | linux-95b49ed013c9a8856ce768d8d4a62acfc410f73d.tar.xz linux-95b49ed013c9a8856ce768d8d4a62acfc410f73d.zip |
iwlagn: adding aggregated frame failure status to debugfs
Addition to standard tx frame failure report, adding aggregated
frame failure report to debugfs
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.h b/drivers/net/wireless/iwlwifi/iwl-agn.h index e1f85ae9da59..a372184ac210 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.h +++ b/drivers/net/wireless/iwlwifi/iwl-agn.h @@ -238,4 +238,9 @@ void iwlagn_bt_rx_handler_setup(struct iwl_priv *priv); void iwlagn_bt_setup_deferred_work(struct iwl_priv *priv); void iwlagn_bt_cancel_deferred_work(struct iwl_priv *priv); +#ifdef CONFIG_IWLWIFI_DEBUG +const char *iwl_get_agg_tx_fail_reason(u16 status); +#else +static inline const char *iwl_get_agg_tx_fail_reason(u16 status) { return ""; } +#endif #endif /* __iwl_agn_h__ */ |