linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: reinette chatre <reinette.chatre@intel.com>
To: Kalle Valo <kalle.valo@iki.fi>
Cc: "linville@tuxdriver.com" <linville@tuxdriver.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"ipw3945-devel@lists.sourceforge.net"
	<ipw3945-devel@lists.sourceforge.net>,
	"Guy, Wey-Yi W" <wey-yi.w.guy@intel.com>
Subject: Re: [PATCH 16/16] iwlwifi: disable powersave mode
Date: Sat, 08 Aug 2009 12:36:08 -0700	[thread overview]
Message-ID: <1249760168.30019.5588.camel@rc-desk> (raw)
In-Reply-To: <878whun256.fsf@litku.valot.fi>

Hi Kalle,

Thank you for looking at our patches. You have great feedback.

On Sat, 2009-08-08 at 01:25 -0700, Kalle Valo wrote:
> Reinette Chatre <reinette.chatre@intel.com> writes:
> 
> > From: Wey-Yi Guy <wey-yi.w.guy@intel.com>
> >
> > The enabling of powersaving had a big impact on reliability and
> > performance. Throughput on n band suffered especially. With power save
> > support enabled we see significant ping response times, dropped frames, and
> > reduced throughput. These are captured in the following bug reports:
> >
> > http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2051
> > http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2053
> >
> > Disable power save by default, add "iwl_support_ps" module parameter
> > that can be used to enable it again.
> 
> You are again creating driver specific parameters. But we should be
> moving away from this and instead use just generic interfaces. Please,
> think three times (or even more) whenever creating new driver specific
> interfaces, be it module parameters, sysfs files etc.. It's a
> maintenance nightmare and also very confusing for the users. We need to
> focus on nl80211 and make it work properly with all drivers.

What we have done here is not intended to be maintained at all - this is
why the module parameter description reads "power save support
(deprecated) (default disabled)" - it is deprecated from the beginning.

> 
> For the problem at hand, I see two options:
> 
> 1. Users seeing the problem disable power save either via wext or with
>    CONFIG_CFG80211_DEFAULT_PS and everyone else still can use power
>    save. The issue will be investigated and fixed. If the AP is buggy,
>    there isn't much we can do.

Please take a look at those bug reports. What we are seeing is huge ping
delays ( > 1000ms rtt), dropped frames which is stalling connections,
and throughput dropping in half. This is too severe to have powersave
enabled at this time.

> 
> 2. If you think the problem is widespread, remove
>    IEEE80211_HW_SUPPORTS_PS from the driver, fix the issues and renable
>    power save support.

Yes - this is the goal of this patch. At the same time we would also
like to make it easier for the people who are testing this issue right
now and having the module parameter makes their life easier.


This module parameter is a temporary measure used to help us fix the
power save issues. When the issues have been resolved we will enable
power save support by default and remove the module parameter.


Reinette




  reply	other threads:[~2009-08-08 19:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-07 22:41 [PATCH 0/16] iwlwifi driver updates 07/08/2009 Reinette Chatre
2009-08-07 22:41 ` [PATCH 01/16] iwlwifi: re-introduce per device debugging Reinette Chatre
2009-08-07 22:41 ` [PATCH 02/16] iwlwifi: name changed from "fat" to "ht40" Reinette Chatre
2009-08-07 22:41 ` [PATCH 03/16] iwlwifi: new debugging feature for dumping data traffic Reinette Chatre
2009-08-07 22:41 ` [PATCH 04/16] iwlwifi: Traffic type and counter for debugFs Reinette Chatre
2009-08-07 22:41 ` [PATCH 05/16] iwlwifi: tx/rx queue pointer information Reinette Chatre
2009-08-07 22:41 ` [PATCH 06/16] iwlwifi: uCode statistics notification counter Reinette Chatre
2009-08-07 22:41 ` [PATCH 07/16] iwlwifi: Display sensitivity and chain noise information Reinette Chatre
2009-08-07 22:41 ` [PATCH 08/16] iwlwifi: revert uCode Alive notification with timeout Reinette Chatre
2009-08-07 22:41 ` [PATCH 09/16] iwlwifi: fix thermal throttling locking problem Reinette Chatre
2009-08-07 22:41 ` [PATCH 10/16] iwlwifi: fix legacy thermal throttling power index Reinette Chatre
2009-08-07 22:41 ` [PATCH 11/16] iwlwifi: handle the case when set power fail Reinette Chatre
2009-08-07 22:41 ` [PATCH 12/16] iwlwifi: refactor some thermal throttle code Reinette Chatre
2009-08-07 22:41 ` [PATCH 13/16] iwlwifi: fix missing EXPORT_SYMBOL Reinette Chatre
2009-08-07 22:41 ` [PATCH 14/16] iwlwifi: display correct critical temperature infomation Reinette Chatre
2009-08-07 22:41 ` [PATCH 15/16] iwlwifi: automatically adjust sleep level Reinette Chatre
2009-08-07 22:41 ` [PATCH 16/16] iwlwifi: disable powersave mode Reinette Chatre
2009-08-08  8:25   ` Kalle Valo
2009-08-08 19:36     ` reinette chatre [this message]
2009-08-12 18:54       ` Kalle Valo
2009-08-12 21:53         ` reinette chatre
2009-08-14 17:20           ` Kalle Valo

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=1249760168.30019.5588.camel@rc-desk \
    --to=reinette.chatre@intel.com \
    --cc=ipw3945-devel@lists.sourceforge.net \
    --cc=kalle.valo@iki.fi \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=wey-yi.w.guy@intel.com \
    /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).