iwlwifi: fw api: document WoWLAN patterns command
authorJohannes Berg <johannes.berg@intel.com>
Wed, 24 Oct 2018 07:50:08 +0000 (09:50 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 25 Jan 2019 18:57:22 +0000 (20:57 +0200)
Document the WoWLAN patterns command structure.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/d3.h

index 6fae02fa4cadc907cda522faf1e54b55ef354c12..86ea0784e1a37fee6c7e6612a6a63ec07e95abdb 100644 (file)
@@ -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 */