aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/fw/api/d3.h
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2018-10-24 07:50:08 +0000
committerLuca Coelho <[email protected]>2019-01-25 18:57:22 +0000
commitec95b2701d244501068690ad2c43d184413ffc85 (patch)
tree935a61341e62af31a97088b2d6e196daec33bebe /drivers/net/wireless/intel/iwlwifi/fw/api/d3.h
parentiwlwifi: fw api: remove unused/deprecated filter status (diff)
downloadkernel-ec95b2701d244501068690ad2c43d184413ffc85.tar.gz
kernel-ec95b2701d244501068690ad2c43d184413ffc85.zip
iwlwifi: fw api: document WoWLAN patterns command
Document the WoWLAN patterns command structure. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api/d3.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/fw/api/d3.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/d3.h b/drivers/net/wireless/intel/iwlwifi/fw/api/d3.h
index 6fae02fa4cad..86ea0784e1a3 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/api/d3.h
+++ b/drivers/net/wireless/intel/iwlwifi/fw/api/d3.h
@@ -224,8 +224,18 @@ struct iwl_wowlan_pattern {
#define IWL_WOWLAN_MAX_PATTERNS 20
+/**
+ * struct iwl_wowlan_patterns_cmd - WoWLAN wakeup patterns
+ */
struct iwl_wowlan_patterns_cmd {
+ /**
+ * @n_patterns: number of patterns
+ */
__le32 n_patterns;
+
+ /**
+ * @patterns: the patterns, array length in @n_patterns
+ */
struct iwl_wowlan_pattern patterns[];
} __packed; /* WOWLAN_PATTERN_ARRAY_API_S_VER_1 */