All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eliad Peller <eliad@wizery.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: <linux-wireless@vger.kernel.org>
Subject: [RFC 0/9] add WoW support
Date: Tue,  1 Mar 2011 22:36:35 +0200	[thread overview]
Message-ID: <1299011804-13899-1-git-send-email-eliad@wizery.com> (raw)

This patchset adds Wake-On-Wireless support for cfg80211/mac80211,
and some basic usage of it by wl12xx (i'll later split it to 2 patchsets).

It is mostly based on a previous patchset by 
Luis R. Rodriguez <lrodriguez@atheros.com> which can be found here:
http://marc.info/?l=linux-wireless&m=124761732817865

The usual way to trigger a wakeup, is by some kind of magic packet.
However, since the development was done with wl12xx, which doesn't
support a real WoW trigger, we use a psuedo-trigger - 
NL80211_WOW_TRIGGER_ANYTHING, which basically means that we will
wake up on ANY irq the fw issues.
This way, there is no need for any special WoW support from the
device, rather than staying up while the system is being suspended.

This is still a work in progress, so i'd be happy for your comments.

Eliad Peller (8):
  mac80211: add WoW param to suspend/resume functions
  mac80211: add WoW param to .start/.stop callbacks
  mac80211: don't remove/add interfaces when WoW is enabled
  wl12xx_sdio: set interrupt as wake_up interrupt
  wl12xx_sdio: set MMC_PM_KEEP_POWER flag on suspend
  wl12xx: save wl->wow_enabled on suspend
  wl12xx: prevent scheduling while suspending (WoW enabled)
  wl12xx_sdio: declare support for NL80211_WOW_TRIGGER_ANYTHING trigger

Luis R. Rodriguez (1):
  cfg80211: add WoW support

 drivers/net/wireless/wl12xx/main.c   |   45 ++++++++++++++++++--
 drivers/net/wireless/wl12xx/sdio.c   |   72 ++++++++++++++++++++++++++++++-
 drivers/net/wireless/wl12xx/wl12xx.h |    7 +++-
 include/linux/nl80211.h              |   42 ++++++++++++++++++
 include/net/cfg80211.h               |   31 ++++++++++++-
 include/net/mac80211.h               |   19 ++++++---
 net/mac80211/cfg.c                   |    8 ++--
 net/mac80211/debugfs.c               |    4 +-
 net/mac80211/driver-ops.h            |   14 ++++---
 net/mac80211/driver-trace.h          |   47 ++++++++++++++++++---
 net/mac80211/ieee80211_i.h           |   20 ++++++---
 net/mac80211/iface.c                 |    8 ++--
 net/mac80211/main.c                  |    2 +-
 net/mac80211/pm.c                    |   64 ++++++++++++++++------------
 net/mac80211/util.c                  |   70 +++++++++++++++++++------------
 net/wireless/core.h                  |    3 +
 net/wireless/nl80211.c               |   78 ++++++++++++++++++++++++++++++++++
 net/wireless/sysfs.c                 |    4 +-
 18 files changed, 435 insertions(+), 103 deletions(-)


             reply	other threads:[~2011-03-01 20:36 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 20:36 Eliad Peller [this message]
2011-03-01 20:36 ` [RFC 1/9] cfg80211: add WoW support Eliad Peller
2011-03-08 14:09   ` Johannes Berg
2011-03-01 20:36 ` [RFC 2/9] mac80211: add WoW param to suspend/resume functions Eliad Peller
2011-03-08 14:10   ` Johannes Berg
2011-03-01 20:36 ` [RFC 3/9] mac80211: add WoW param to .start/.stop callbacks Eliad Peller
2011-03-08 14:12   ` Johannes Berg
2011-03-01 20:36 ` [RFC 4/9] mac80211: don't remove/add interfaces when WoW is enabled Eliad Peller
2011-03-08 14:14   ` Johannes Berg
2011-03-01 20:36 ` [RFC 5/9] wl12xx_sdio: set interrupt as wake_up interrupt Eliad Peller
2011-03-01 20:36 ` [RFC 6/9] wl12xx_sdio: set MMC_PM_KEEP_POWER flag on suspend Eliad Peller
2011-03-01 20:36 ` [RFC 7/9] wl12xx: save wl->wow_enabled " Eliad Peller
2011-03-01 20:36 ` [RFC 8/9] wl12xx: prevent scheduling while suspending (WoW enabled) Eliad Peller
2011-03-01 20:36 ` [RFC 9/9] wl12xx_sdio: declare support for NL80211_WOW_TRIGGER_ANYTHING trigger Eliad Peller
2011-03-22 14:46 ` [RFC 0/9] add WoW support Johannes Berg
2011-03-22 15:13 ` Johannes Berg
2011-03-22 15:40   ` Ohad Ben-Cohen
2011-03-23  9:40   ` Eliad Peller
2011-03-23  9:51     ` Johannes Berg
2011-03-22 15:20 ` Johannes Berg
2011-03-23  9:46   ` Eliad Peller

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=1299011804-13899-1-git-send-email-eliad@wizery.com \
    --to=eliad@wizery.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.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 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.