aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2015-01-30 19:05:33 +0530
committerKalle Valo <kvalo@codeaurora.org>2015-02-03 15:31:10 +0200
commit12a444224479597cf49d49aed109389f6da4f2d8 (patch)
tree1e3d0844438b1f1960ffa43e6b2fa0be0d43ccc1 /drivers/net/wireless/ath/ath9k/hw.h
parentath9k: Add a HW structure for WOW (diff)
downloadlinux-dev-12a444224479597cf49d49aed109389f6da4f2d8.tar.xz
linux-dev-12a444224479597cf49d49aed109389f6da4f2d8.zip
ath9k: Register max WOW patterns
Since the number of patterns that can be configured in the HW is higher for newer chips, store the chip-specific value in ath9k_hw_wow. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index d36210ae880e..e1801c91d538 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -204,7 +204,8 @@
#define MAX_PATTERN_SIZE 256
#define MAX_PATTERN_MASK_SIZE 32
-#define MAX_NUM_PATTERN 8
+#define MAX_NUM_PATTERN 16
+#define MAX_NUM_PATTERN_LEGACY 8
#define MAX_NUM_USER_PATTERN 6 /* deducting the disassociate and
deauthenticate packets */
@@ -272,6 +273,7 @@ enum ath9k_hw_caps {
struct ath9k_hw_wow {
u32 wow_event_mask;
+ u8 max_patterns;
};
struct ath9k_hw_capabilities {