Skip to content

Add support for WOW in ath9k

Mohammed Shafi Shajakhan ath9k-devel linux-wireless 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 0 repliesNew
  2. v3 posting 2/20 of 10 patches 0 repliesSuperseded
  3. v3 posting 1/210 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v2 posting 2/20 of 10 patches0 repliesSuperseded
v2 posting 1/210 patches0 repliesSuperseded
v110 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ath9k_hw: Add register definitions for WoW supportdrivers/net/wireless/ath/ath9k/reg.h+144 -10 replies
2/10ath9k: Add definitions and structures to support WoWdrivers/net/wireless/ath/ath9k/ath9k.h drivers/net/wireless/ath/ath9k/hw.h+46 -00 replies
3/10ath9k_hw: Add WoW hardware capability flagsdrivers/net/wireless/ath/ath9k/hw.h+14 -00 replies
4/10ath9k_hw: advertise WoW support for capable chipsetsdrivers/net/wireless/ath/ath9k/hw.c+8 -00 replies
5/10ath9k: advertise supported WoW flags to upper layerdrivers/net/wireless/ath/ath9k/init.c+18 -00 replies
6/10ath9k_hw: INI changes for WoW for AR9002 chipsetsdrivers/net/wireless/ath/ath9k/ar9002_hw.c drivers/net/wireless/ath/ath9k/ar9002_initvals.h drivers/net/wireless/ath/ath9k/hw.h+22 -00 replies
7/10ath9k_hw: Add hardware code for WoWdrivers/net/wireless/ath/ath9k/Makefile drivers/net/wireless/ath/ath9k/hw.h drivers/net/wireless/ath/ath9k/wow.c+564 -00 replies
8/10ath: Add Wake-on-Wireless debug maskdrivers/net/wireless/ath/ath.h+2 -00 replies
9/10ath9k: Add WoW related mac80211 callbacksdrivers/net/wireless/ath/ath9k/ath9k.h drivers/net/wireless/ath/ath9k/main.c+374 -00 replies
10/10ath9k: do not disable hardware while wow is enableddrivers/net/wireless/ath/ath9k/pci.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [ath9k-devel] [PATCH v4 00/10] 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