linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: stable@kernel.org, kernel@lists.fedoraproject.org,
	Kyle McMartin <kmcmartin@redhat.com>,
	linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2.6.38 3/4] iwl3945: disable hw scan by default
Date: Fri, 29 Apr 2011 12:41:32 -0500	[thread overview]
Message-ID: <1304098893.1921.32.camel@dcbw.foobar.com> (raw)
In-Reply-To: <1303992495-7337-4-git-send-email-sgruszka@redhat.com>

On Thu, 2011-04-28 at 14:08 +0200, Stanislaw Gruszka wrote:
> commit 0263aa45293838b514b8af674a03faf040991a90 upstream.
> 
> After new NetworkManager 0.8.996 changes, hardware scanning is causing
> microcode errors as reported here:
> https://bugzilla.redhat.com/show_bug.cgi?id=683571
> and sometimes kernel crashes:
> https://bugzilla.redhat.com/show_bug.cgi?id=688252

Note that the only difference with NM 0.8.996 here is that
wpa_supplicant 0.7 + nl80211 is used rather than WEXT, so this issue is
likely related to the change from WEXT -> nl80211, if anything...

Dan

> Also with hw scan there are very bad performance on some systems
> as reported here:
> https://bugzilla.redhat.com/show_bug.cgi?id=671366
> 
> Since Intel no longer supports 3945, there is no chance to get proper
> firmware fixes, we need workaround problems by disable hardware scanning
> by default.
> 
> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
> ---
>  drivers/net/wireless/iwlwifi/iwl3945-base.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
> index cf0699a..a8340f7 100644
> --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
> +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
> @@ -94,6 +94,7 @@ MODULE_LICENSE("GPL");
>  struct iwl_mod_params iwl3945_mod_params = {
>  	.sw_crypto = 1,
>  	.restart_fw = 1,
> +	.disable_hw_scan = 1,
>  	/* the rest are 0 by default */
>  };
>  
> @@ -4317,7 +4318,7 @@ MODULE_PARM_DESC(debug, "debug output mask");
>  #endif
>  module_param_named(disable_hw_scan, iwl3945_mod_params.disable_hw_scan,
>  		   int, S_IRUGO);
> -MODULE_PARM_DESC(disable_hw_scan, "disable hardware scanning (default 0)");
> +MODULE_PARM_DESC(disable_hw_scan, "disable hardware scanning (default 1)");
>  module_param_named(fw_restart3945, iwl3945_mod_params.restart_fw, int, S_IRUGO);
>  MODULE_PARM_DESC(fw_restart3945, "restart firmware in case of error");
>  



  reply	other threads:[~2011-04-29 17:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-28 12:08 [PATCH 2.6.38 0/4] iwlwifi: fix hw scan related problems Stanislaw Gruszka
2011-04-28 12:08 ` [PATCH 2.6.38 1/4] iwlwifi: do not set tx power when channel is changing Stanislaw Gruszka
2011-04-28 14:42   ` Guy, Wey-Yi
2011-04-28 12:08 ` [PATCH 2.6.38 2/4] iwl3945: do not deprecate software scan Stanislaw Gruszka
2011-04-28 12:08 ` [PATCH 2.6.38 3/4] iwl3945: disable hw scan by default Stanislaw Gruszka
2011-04-29 17:41   ` Dan Williams [this message]
2011-04-28 12:08 ` [PATCH 2.6.38 4/4] iwlwifi: fix tx_power initialization Stanislaw Gruszka
2011-04-29 16:23 ` [stable] [PATCH 2.6.38 0/4] iwlwifi: fix hw scan related problems Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1304098893.1921.32.camel@dcbw.foobar.com \
    --to=dcbw@redhat.com \
    --cc=kernel@lists.fedoraproject.org \
    --cc=kmcmartin@redhat.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=sgruszka@redhat.com \
    --cc=stable@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).