* [PATCH 0/3] iwlwifi update for 2.6.36
@ 2010-07-17 14:55 Wey-Yi Guy
2010-07-17 14:55 ` [PATCH 1/3] iwlwifi: additional statistic debug counter Wey-Yi Guy
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Wey-Yi Guy @ 2010-07-17 14:55 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, ipw3945-devel, Wey-Yi Guy
We add stuck tx queue recovery function for 4965 device
We also include more statistics counters in debugfs to help debugging
Wey-Yi Guy (3):
iwlwifi: additional statistic debug counter
iwlwifi: more statistics counter for agn in debugfs
iwlwifi: "recover_from_tx_stall" function for 4965
these patches are also available from wireless-next-2.6 branch on
git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-2.6.git
drivers/net/wireless/iwlwifi/iwl-4965.c | 1 +
drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c | 7 +++++++
drivers/net/wireless/iwlwifi/iwl-commands.h | 3 ++-
3 files changed, 10 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/3] iwlwifi: additional statistic debug counter
2010-07-17 14:55 [PATCH 0/3] iwlwifi update for 2.6.36 Wey-Yi Guy
@ 2010-07-17 14:55 ` Wey-Yi Guy
2010-07-17 14:55 ` [PATCH 2/3] iwlwifi: more statistics counter for agn in debugfs Wey-Yi Guy
2010-07-17 14:55 ` [PATCH 3/3] iwlwifi: "recover_from_tx_stall" function for 4965 Wey-Yi Guy
2 siblings, 0 replies; 4+ messages in thread
From: Wey-Yi Guy @ 2010-07-17 14:55 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, ipw3945-devel, Wey-Yi Guy
From: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Add wait_for_silence_timeout_cnt to statistics_dbg structure
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
---
drivers/net/wireless/iwlwifi/iwl-commands.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
index 74ad10f..83247f7 100644
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
@@ -3035,7 +3035,8 @@ struct iwl39_statistics_tx {
struct statistics_dbg {
__le32 burst_check;
__le32 burst_count;
- __le32 reserved[4];
+ __le32 wait_for_silence_timeout_cnt;
+ __le32 reserved[3];
} __attribute__ ((packed));
struct iwl39_statistics_div {
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/3] iwlwifi: more statistics counter for agn in debugfs
2010-07-17 14:55 [PATCH 0/3] iwlwifi update for 2.6.36 Wey-Yi Guy
2010-07-17 14:55 ` [PATCH 1/3] iwlwifi: additional statistic debug counter Wey-Yi Guy
@ 2010-07-17 14:55 ` Wey-Yi Guy
2010-07-17 14:55 ` [PATCH 3/3] iwlwifi: "recover_from_tx_stall" function for 4965 Wey-Yi Guy
2 siblings, 0 replies; 4+ messages in thread
From: Wey-Yi Guy @ 2010-07-17 14:55 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, ipw3945-devel, Wey-Yi Guy
From: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Display "wait_for_silence_timeout_cnt" for _agn devices
in debugfs as part of uCode statistics
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
---
drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c
index 75d6bfc..5e5c512 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c
@@ -813,6 +813,13 @@ ssize_t iwl_ucode_general_stats_read(struct file *file, char __user *user_buf,
delta_dbg->burst_count, max_dbg->burst_count);
pos += scnprintf(buf + pos, bufsz - pos,
" %-30s %10u %10u %10u %10u\n",
+ "wait_for_silence_timeout_count:",
+ le32_to_cpu(dbg->wait_for_silence_timeout_cnt),
+ accum_dbg->wait_for_silence_timeout_cnt,
+ delta_dbg->wait_for_silence_timeout_cnt,
+ max_dbg->wait_for_silence_timeout_cnt);
+ pos += scnprintf(buf + pos, bufsz - pos,
+ " %-30s %10u %10u %10u %10u\n",
"sleep_time:",
le32_to_cpu(general->sleep_time),
accum_general->sleep_time,
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 3/3] iwlwifi: "recover_from_tx_stall" function for 4965
2010-07-17 14:55 [PATCH 0/3] iwlwifi update for 2.6.36 Wey-Yi Guy
2010-07-17 14:55 ` [PATCH 1/3] iwlwifi: additional statistic debug counter Wey-Yi Guy
2010-07-17 14:55 ` [PATCH 2/3] iwlwifi: more statistics counter for agn in debugfs Wey-Yi Guy
@ 2010-07-17 14:55 ` Wey-Yi Guy
2 siblings, 0 replies; 4+ messages in thread
From: Wey-Yi Guy @ 2010-07-17 14:55 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, ipw3945-devel, Wey-Yi Guy
From: Wey-Yi Guy <wey-yi.w.guy@intel.com>
"Recover from tx stall" function is available for all devices except
4965, here add the functionality to 4965.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
---
drivers/net/wireless/iwlwifi/iwl-4965.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index 1dd3bc4..3a0d0ad 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -2286,6 +2286,7 @@ static struct iwl_lib_ops iwl4965_lib = {
.tx_stats_read = iwl_ucode_tx_stats_read,
.general_stats_read = iwl_ucode_general_stats_read,
},
+ .recover_from_tx_stall = iwl_bg_monitor_recover,
.check_plcp_health = iwl_good_plcp_health,
};
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-07-17 14:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-17 14:55 [PATCH 0/3] iwlwifi update for 2.6.36 Wey-Yi Guy
2010-07-17 14:55 ` [PATCH 1/3] iwlwifi: additional statistic debug counter Wey-Yi Guy
2010-07-17 14:55 ` [PATCH 2/3] iwlwifi: more statistics counter for agn in debugfs Wey-Yi Guy
2010-07-17 14:55 ` [PATCH 3/3] iwlwifi: "recover_from_tx_stall" function for 4965 Wey-Yi Guy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).