All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luis R. Rodriguez <lrodriguez@atheros.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH 4/5] mac80211: add WoW support
Date: Wed, 15 Jul 2009 09:18:44 -0700	[thread overview]
Message-ID: <20090715161844.GG5682@mosca> (raw)
In-Reply-To: <1247673831.10754.12.camel@johannes.local>

On Wed, Jul 15, 2009 at 09:03:51AM -0700, Johannes Berg wrote:
> On Wed, 2009-07-15 at 08:22 -0700, Luis R. Rodriguez wrote:
> > On Wed, Jul 15, 2009 at 04:57:35AM -0700, Johannes Berg wrote:
> > > On Tue, 2009-07-14 at 20:21 -0400, Luis R. Rodriguez wrote:
> > > > If we're associated and have not already gone into PS mode
> > > > we ensure send a nullfunc frame before going to suspend. Upon
> > > > resume we ensure we restore PS mode if it was enabled and inform
> > > > the driver accordingly, also notify the AP we're awake.
> > > > 
> > > > WoW requires the radio to be left on during suspend, to do this
> > > > we inform drivers of the requested wow triggers on the mac80211
> > > > stop callback.
> > > 
> > > I don't think this patch would work if ath9k unprogrammed the hardware
> > > correctly in ->remove_interface(), since you don't seem to skip that
> > > call.
> > 
> > We just stop ANI in remove interface and reclaim beacon resources.
> > As per documentation it seems we are not correctly removing the MAC
> > address in ath9k for the removed interface to stop sending ACKs back.
> > I'd rather see that as a separate patch fix, but you do have a point.
> > As is right now though this doesn't affect WoW.
> 
> You haven't understood my point -- it makes your WoW patch invalid
> because drivers that implement remove_interface properly cannot possibly
> implement WoW this way.

Ah sure, will respin and add some stuff for this...

  Luis

WARNING: multiple messages have this Message-ID (diff)
From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Luis Rodriguez <Luis.Rodriguez@Atheros.com>,
	"linville@tuxdriver.com" <linville@tuxdriver.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"ath9k-devel@lists.ath9k.org" <ath9k-devel@lists.ath9k.org>
Subject: Re: [PATCH 4/5] mac80211: add WoW support
Date: Wed, 15 Jul 2009 09:18:44 -0700	[thread overview]
Message-ID: <20090715161844.GG5682@mosca> (raw)
In-Reply-To: <1247673831.10754.12.camel@johannes.local>

On Wed, Jul 15, 2009 at 09:03:51AM -0700, Johannes Berg wrote:
> On Wed, 2009-07-15 at 08:22 -0700, Luis R. Rodriguez wrote:
> > On Wed, Jul 15, 2009 at 04:57:35AM -0700, Johannes Berg wrote:
> > > On Tue, 2009-07-14 at 20:21 -0400, Luis R. Rodriguez wrote:
> > > > If we're associated and have not already gone into PS mode
> > > > we ensure send a nullfunc frame before going to suspend. Upon
> > > > resume we ensure we restore PS mode if it was enabled and inform
> > > > the driver accordingly, also notify the AP we're awake.
> > > > 
> > > > WoW requires the radio to be left on during suspend, to do this
> > > > we inform drivers of the requested wow triggers on the mac80211
> > > > stop callback.
> > > 
> > > I don't think this patch would work if ath9k unprogrammed the hardware
> > > correctly in ->remove_interface(), since you don't seem to skip that
> > > call.
> > 
> > We just stop ANI in remove interface and reclaim beacon resources.
> > As per documentation it seems we are not correctly removing the MAC
> > address in ath9k for the removed interface to stop sending ACKs back.
> > I'd rather see that as a separate patch fix, but you do have a point.
> > As is right now though this doesn't affect WoW.
> 
> You haven't understood my point -- it makes your WoW patch invalid
> because drivers that implement remove_interface properly cannot possibly
> implement WoW this way.

Ah sure, will respin and add some stuff for this...

  Luis

  reply	other threads:[~2009-07-15 16:18 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15  0:21 [ath9k-devel] [PATCH 0/5] wireless: add wow support Luis R. Rodriguez
2009-07-15  0:21 ` Luis R. Rodriguez
2009-07-15  0:21 ` [ath9k-devel] [PATCH 1/5] ath9k: do not stop the queues in driver stop Luis R. Rodriguez
2009-07-15  0:21   ` Luis R. Rodriguez
2009-07-15  0:21 ` [ath9k-devel] [PATCH 2/5] adm8211: remove uneeded code during suspend/resume Luis R. Rodriguez
2009-07-15  0:21   ` Luis R. Rodriguez
2009-07-15  0:21 ` [ath9k-devel] [PATCH 3/5] cfg80211: add WoW support Luis R. Rodriguez
2009-07-15  0:21   ` Luis R. Rodriguez
2009-07-15 11:45   ` [ath9k-devel] " Johannes Berg
2009-07-15 11:45     ` Johannes Berg
2009-07-15 15:14     ` [ath9k-devel] " Luis R. Rodriguez
2009-07-15 15:14       ` Luis R. Rodriguez
2009-07-15 16:05       ` [ath9k-devel] " Johannes Berg
2009-07-15 16:05         ` Johannes Berg
2009-07-15 16:16         ` [ath9k-devel] " Luis R. Rodriguez
2009-07-15 16:16           ` Luis R. Rodriguez
2009-07-15 16:20           ` [ath9k-devel] " Johannes Berg
2009-07-15 16:20             ` Johannes Berg
2009-07-15 16:33             ` [ath9k-devel] " Luis R. Rodriguez
2009-07-15 16:33               ` Luis R. Rodriguez
2009-07-15  0:21 ` [ath9k-devel] [PATCH 4/5] mac80211: " Luis R. Rodriguez
2009-07-15  0:21   ` Luis R. Rodriguez
2009-07-15 11:57   ` [ath9k-devel] " Johannes Berg
2009-07-15 11:57     ` Johannes Berg
2009-07-15 15:22     ` [ath9k-devel] " Luis R. Rodriguez
2009-07-15 15:22       ` Luis R. Rodriguez
2009-07-15 16:03       ` [ath9k-devel] " Johannes Berg
2009-07-15 16:03         ` Johannes Berg
2009-07-15 16:18         ` Luis R. Rodriguez [this message]
2009-07-15 16:18           ` Luis R. Rodriguez
2009-07-15  0:22 ` [ath9k-devel] [PATCH 5/5] ath9k: Add Wake-on-Wireless-LAN support Luis R. Rodriguez
2009-07-15  0:22   ` Luis R. Rodriguez
     [not found] <804B13F8F3D94A4AB18B9B01ACB68FA1037B5158@EXCHSRV.fokus.fraunhofer.de>
2010-07-27 17:20 ` [ath9k-devel] [PATCH 4/5] mac80211: add WoW support Luis R. Rodriguez
     [not found]   ` <804B13F8F3D94A4AB18B9B01ACB68FA1037B526B@EXCHSRV.fokus.fraunhofer.de>
2010-07-29 15:31     ` Luis R. Rodriguez
2010-07-29 20:56       ` Luis R. Rodriguez
2010-09-13 17:11   ` AW: " Simsek, Burak
2010-09-13 17:29     ` Luis R. Rodriguez
2010-09-14  9:53       ` AW: " Simsek, Burak
2010-09-14 14:33         ` Luis R. Rodriguez

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=20090715161844.GG5682@mosca \
    --to=lrodriguez@atheros.com \
    --cc=ath9k-devel@lists.ath9k.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.