Add support for WOW in ath9k
v4 cover Add support for WOW in ath9k
From: Mohammed Shafi Shajakhan <[email protected]>
Add support for hardware WoW in ath9k. Magic-packet, beacon loss triggers, deauth/disassoc patterns (a special case of user pattern) are tested. 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, Sujith for their review & Russell for his all help. Thanks to Aeolous, Senthil and 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 | 13 + drivers/net/wireless/ath/ath9k/hw.c | 8 + drivers/net/wireless/ath/ath9k/hw.h | 82 ++++ drivers/net/wireless/ath/ath9k/init.c | 18 + drivers/net/wireless/ath/ath9k/main.c | 373 +++++++++++++++ drivers/net/wireless/ath/ath9k/pci.c | 3 + drivers/net/wireless/ath/ath9k/reg.h | 145 ++++++- drivers/net/wireless/ath/ath9k/wow.c | 532 ++++++++++++++++++++++ 12 files changed, 1195 insertions(+), 1 deletions(-) create mode 100644 drivers/net/wireless/ath/ath9k/wow.c