Skip to contentSkip to conversation

ath9k_hw: Add WoW hardware capability flags

PATCH New Mohammed Shafi Shajakhan 1 participant 1 message Jul 10, 2012 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH v4 3/10 ath9k_hw: Add WoW hardware capability flags

From: Mohammed Shafi Shajakhan <[email protected]>

have seperate wow capability flags for
*basic wow support
*device capable of matching exact user defined pattern or de-authentication/disassoc pattern
*device such AR9280 requires first four bytes for all sort of patterns

Cc Senthil Balasubramanian <[email protected]>
Cc Rajkumar Manoharan <[email protected]>
Cc vadivel at qca.qualcomm.com
---
 drivers/net/wireless/ath/ath9k/hw.h |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
drivers/net/wireless/ath/ath9k/hw.h +14 -0
index 912f340..09f6c07 100644
@@ -243,8 +243,22 @@ enum ath9k_hw_caps {
 	ATH9K_HW_CAP_RTT			= BIT(14),
 	ATH9K_HW_CAP_MCI			= BIT(15),
 	ATH9K_HW_CAP_DFS			= BIT(16),
+	ATH9K_HW_WOW_DEVICE_CAPABLE		= BIT(17),
+	ATH9K_HW_WOW_PATTERN_MATCH_EXACT	= BIT(18),
+	ATH9K_HW_WOW_PATTERN_MATCH_DWORD	= BIT(19),
 };
 
+/*
+ * WoW device capabilities
+ * @ATH9K_HW_WOW_DEVICE_CAPABLE: device revision is capable of WoW.
+ * @ATH9K_HW_WOW_PATTERN_MATCH_EXACT: device is capable of matching
+ * an exact user defined pattern or de-authentication/disassoc pattern.
+ * @ATH9K_HW_WOW_PATTERN_MATCH_DWORD: device requires the first four
+ * bytes of the pattern for user defined pattern, de-authentication and
+ * disassociation patterns for all types of possible frames recieved
+ * of those types.
+ */
+
 struct ath9k_hw_capabilities {
 	u32 hw_caps; /* ATH9K_HW_CAP_* from ath9k_hw_caps */
 	u16 rts_aggr_limit;
Signature · 1 line
1.7.0.4