Return-path: Received: from wolverine01.qualcomm.com ([199.106.114.254]:26028 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752457Ab2FSPrq (ORCPT ); Tue, 19 Jun 2012 11:47:46 -0400 From: Mohammed Shafi Shajakhan To: "John W. Linville" CC: , Rodriguez Luis , , Rajkumar Manoharan , Sujith Manoharan , , , , Mohammed Shafi Shajakhan Subject: [PATCH 00/10] Add support for WOW in ath9k Date: Tue, 19 Jun 2012 21:17:20 +0530 Message-ID: <1340120850-9155-1-git-send-email-mohammed@qca.qualcomm.com> (sfid-20120619_174749_983309_B1DDFA56) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Mohammed Shafi Shajakhan Add support for hardware WoW in ath9k. Magic-packet, beacon loss triggers, deauth/disassoc patterns (a special case of user pattern) are tested with AR9485, AR9280. User pattern needs a bit of investigation on parsing to appropriate 802.11 format. we will do more rigorous testing and address bugs. Thanks a lot to Vadivel for providing me the hardware and inputs to test. Thanks to Rajkumar, Russell, Russell for their invaluable help. Thanks to Aeolous, Senthil and Sujith, Raja. Thanks a lot to Luis for providing the complete frame work for WoW in his initial wow patches. Mohammed Shafi Shajakhan (10): ath9k_hw: Add register definitions for WoW support ath9k: Add definitions and structures to support WoW ath9k_hw: Add WoW hardware capability flags ath9k_hw: advertise WoW support for capable chipsets ath9k: advertise supported WoW flags to upper layer ath9k_hw: INI changes for WoW for AR9002 chipsets ath9k_hw: Add hardware code for WoW ath: Add Wake-on-Wireless debug mask ath9k: Add WoW related mac80211 callbacks ath9k: do not disable hardware while wow is enabled drivers/net/wireless/ath/ath.h | 2 + drivers/net/wireless/ath/ath9k/Makefile | 1 + drivers/net/wireless/ath/ath9k/ar9002_hw.c | 5 + drivers/net/wireless/ath/ath9k/ar9002_initvals.h | 14 + drivers/net/wireless/ath/ath9k/ath9k.h | 29 ++ drivers/net/wireless/ath/ath9k/hw.c | 8 + drivers/net/wireless/ath/ath9k/hw.h | 75 +++ drivers/net/wireless/ath/ath9k/init.c | 21 +- drivers/net/wireless/ath/ath9k/main.c | 376 ++++++++++++++- drivers/net/wireless/ath/ath9k/pci.c | 6 + drivers/net/wireless/ath/ath9k/reg.h | 145 ++++++- drivers/net/wireless/ath/ath9k/wow.c | 559 ++++++++++++++++++++++ 12 files changed, 1229 insertions(+), 12 deletions(-) create mode 100644 drivers/net/wireless/ath/ath9k/wow.c