linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] Allow the user to define suspend mode
@ 2012-01-09  8:36 rmani
  2012-01-09  8:36 ` [PATCH 1/8] ath6kl: Rename modparam variable suspend_cutpower to suspend_mode rmani
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: rmani @ 2012-01-09  8:36 UTC (permalink / raw)
  To: kvalo; +Cc: linux-wireless, ath6kl-devel, Raja Mani

From: Raja Mani <rmani@qca.qualcomm.com>

This series of patch enables the user to specify the suspend mode 
via module parameter (suspend_mode) while doing insmod of the driver.

   To select Cut Power mode:
      insmod ath6kl_sdio.ko suspend_mode = 1

   To select Deep Sleep mode:
      insmod ath6kl_sdio.ko suspend_mode = 2

   To select WOW suspend mode:
      insmod ath6kl_sdio.ko suspend_mode = 3

Existing module param 'suspend_cutpower' variable is renamed to 
'suspend_mode' for this purspose.

Dynamic suspend mode selection logic based on the host SDIO 
host controller is removed in ath6kl_sdio_suspend(). 
Now, ath6kl_sdio_suspend() will react based on the module 
parameter 'suspend_mode'.

Additionally, If the user doesn't provide any WOW patterns, 
the default WOW patterns will be configured while going to 
WOW suspend mode.

Please provide your comments on this patch series.

Raja Mani (8):
  ath6kl: Rename modparam variable suspend_cutpower to suspend_mode
  ath6kl: Re-architect suspend mode handling in ath6kl_sdio_suspend()
  ath6kl: Add a new func to configure default WOW patterns for AP mode
  ath6kl: Add a new func to config default WOW patterns for non AP mode
  ath6kl: Move WOW patterns config code to a separate function.
  ath6kl: Configure WOW patterns while going to wow_suspend
  ath6kl: Removed unused ATH6KL_CONF_SUSPEND_CUTPOWER macro
  ath6kl: Return a proper error code when not in connected state

 drivers/net/wireless/ath/ath6kl/cfg80211.c |  222 +++++++++++++++++++++++-----
 drivers/net/wireless/ath/ath6kl/core.h     |    2 +-
 drivers/net/wireless/ath/ath6kl/init.c     |   11 +-
 drivers/net/wireless/ath/ath6kl/sdio.c     |  105 ++++++++-----
 4 files changed, 258 insertions(+), 82 deletions(-)


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-01-09 19:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-09  8:36 [PATCH 0/8] Allow the user to define suspend mode rmani
2012-01-09  8:36 ` [PATCH 1/8] ath6kl: Rename modparam variable suspend_cutpower to suspend_mode rmani
2012-01-09 19:20   ` Kalle Valo
2012-01-09  8:36 ` [PATCH 2/8] ath6kl: Re-architect suspend mode handling in ath6kl_sdio_suspend() rmani
2012-01-09 19:30   ` Kalle Valo
2012-01-09  8:36 ` [PATCH 3/8] ath6kl: Add a new func to configure default WOW patterns for AP mode rmani
2012-01-09  8:36 ` [PATCH 4/8] ath6kl: Add a new func to config default WOW patterns for non " rmani
2012-01-09  8:36 ` [PATCH 5/8] ath6kl: Move WOW patterns config code to a separate function rmani
2012-01-09  8:36 ` [PATCH 6/8] ath6kl: Configure WOW patterns while going to wow_suspend rmani
2012-01-09  8:36 ` [PATCH 7/8] ath6kl: Removed unused ATH6KL_CONF_SUSPEND_CUTPOWER macro rmani
2012-01-09 19:45   ` Kalle Valo
2012-01-09  8:36 ` [PATCH 8/8] ath6kl: Return a proper error code when not in connected state rmani
2012-01-09 17:52 ` [PATCH 0/8] Allow the user to define suspend mode Kalle Valo

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).