Version 2 patch set is tested on Qualcomm MSM board and takes care most of the review comments given by Kalle. V2 changes: * WOW mode selection logic is moved to HIF layer, earlier it was implemented in CFG i/f layer. * Individual parameters are used in the functions instead of struct as a parameter. * Unused one extra byte is removed in struct wmi_add_wow_pattern_cmd. * Used ar->state for WOW state handling and separate WOW state handling is removed. * host sdio irq wake up capability is checked before entering into WOW suspend mode. * Empty commit logs are avoided. :-) * No error is reported from Sparse. * Rebased to multi vif implementation. and other minor corrections. Using these patch set, WOW patterns can be controlled and configured via iw command. Please refer iw help menu for more details. Limitations: * Optional bytes can't be specified while configuring WOW patterns from iw command. This is due to the limitation in the firmware. * Pattern byte matching will always happen from the first byte of received packet. This is the limitation in the recent "iw" command (It doesn't take the pattern offset where to start pattern matching in the received packets as of now). Raja Mani (11): ath6kl: Add wmi functions to add/delete WOW patterns ath6kl: Add wmi functions to configure WOW mode and host sleep mode ath6kl: Add WOW suspend/resume implementation ath6kl: Include new parameter in suspend path for wowlan ath6kl: Add new state for WOW mode ath6kl: Move ath6kl_cfg80211_stop() call specific to deep sleep and cut pwr ath6kl: Invoke WOW suspend/resume calls during PM operation ath6kl: Perform WOW resume in RX path in case of SDIO IRQ wake up ath6kl: Expose ath6kl's WOW capabilities to CFG layer ath6kl: Remove WARN_ON msg in Suspend path ath6kl: Remove few unused WMI stuff drivers/net/wireless/ath/ath6kl/cfg80211.c | 188 +++++++++++++++++++++++++++- drivers/net/wireless/ath/ath6kl/cfg80211.h | 5 +- drivers/net/wireless/ath/ath6kl/core.h | 5 + drivers/net/wireless/ath/ath6kl/hif-ops.h | 5 +- drivers/net/wireless/ath/ath6kl/hif.h | 2 +- drivers/net/wireless/ath/ath6kl/sdio.c | 29 ++++- drivers/net/wireless/ath/ath6kl/txrx.c | 2 + drivers/net/wireless/ath/ath6kl/wmi.c | 164 +++++++++++++++++++++++- drivers/net/wireless/ath/ath6kl/wmi.h | 64 ++++++++-- 9 files changed, 436 insertions(+), 28 deletions(-) -- 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