On Tue, Feb 08, 2011 at 07:50:07AM -0800, wwguy wrote: > On Tue, 2011-02-08 at 05:36 -0800, Stanislaw Gruszka wrote: > > Looking for some more testing and opinions. > > > > Patch fixes: > > https://bugzilla.redhat.com/show_bug.cgi?id=671366 > > and probably some other "very poor performance" bugs reported > > elsewhere. > > > > Sometimes after hardware scanning device is unable to receive frames > > at higher rate, what cause that very slow speed is observed by the users. > > > > To workaround problem we can use software scanning. Patch remove > > "deprecated" warning and make sw scan be used by default on 3945. > > > > On older kernels, in particular 2.6.35, software scanning does not > > fix problem. On my setup, not affected by bug, I can see slow speed > > with software scans on 2.6.35 as well. I'm not quite sure why. Anyway > > on upstream patch works good for me and bug reporter. [snip] > > -MODULE_PARM_DESC(disable_hw_scan, > > - "disable hardware scanning (default 0) (deprecated)"); > > +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"); > > > > don't have much experience with 3945, but not sure setting sw scan by > default is the right choice? Definitely hw scan is bad choice for some users. I'll will provide patch for some more users to test, to see if it not causing regression. On my laptop with iwl3945 it works well with upstream kernel and bad with 2.6.35. I'm not quite sure, why sw scaning improved currently. I thought commit df13cce53a7b28a81460e6bfc4857e9df4956141 "mac80211: Improve software scan timing" fix things, but that commit is also on 2.6.35 . Stanislaw -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html