Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 1/2] iwl3945: prevent too frequent firmware resets
@ 2010-12-03 14:41 Stanislaw Gruszka
  2010-12-03 14:41 ` [PATCH 2/2] iwlwifi: jiffies based tx queues watchdog Stanislaw Gruszka
  2010-12-03 16:16 ` [PATCH 1/2] iwl3945: prevent too frequent firmware resets Guy, Wey-Yi
  0 siblings, 2 replies; 4+ messages in thread
From: Stanislaw Gruszka @ 2010-12-03 14:41 UTC (permalink / raw)
  To: Wey-Yi Guy, Intel Linux Wireless; +Cc: linux-wireless, Stanislaw Gruszka

Similarly like on iwlagn, initialize reset duration on iwl3945 to prevent
too frequent firmware resets.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
---
 drivers/net/wireless/iwlwifi/iwl3945-base.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 8eb1393..cc282aa 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -3861,6 +3861,13 @@ static int iwl3945_init_drv(struct iwl_priv *priv)
 	priv->iw_mode = NL80211_IFTYPE_STATION;
 	priv->missed_beacon_threshold = IWL_MISSED_BEACON_THRESHOLD_DEF;
 
+	/* initialize force reset */
+	priv->force_reset[IWL_RF_RESET].reset_duration =
+		IWL_DELAY_NEXT_FORCE_RF_RESET;
+	priv->force_reset[IWL_FW_RESET].reset_duration =
+		IWL_DELAY_NEXT_FORCE_FW_RELOAD;
+
+
 	priv->tx_power_user_lmt = IWL_DEFAULT_TX_POWER;
 	priv->tx_power_next = IWL_DEFAULT_TX_POWER;
 
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-03 16:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-03 14:41 [PATCH 1/2] iwl3945: prevent too frequent firmware resets Stanislaw Gruszka
2010-12-03 14:41 ` [PATCH 2/2] iwlwifi: jiffies based tx queues watchdog Stanislaw Gruszka
2010-12-03 16:16   ` Guy, Wey-Yi
2010-12-03 16:16 ` [PATCH 1/2] iwl3945: prevent too frequent firmware resets Guy, Wey-Yi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox