aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/wmi.h
diff options
context:
space:
mode:
authorRaja Mani <rmani@qca.qualcomm.com>2011-11-07 15:52:45 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 05:59:59 -0500
commit5c9b4fa19a488de48f1cc2268a7b7b247723568a (patch)
tree89b7eb7fbc6cc73e4ab71b567aebf3cd0675cbb4 /drivers/net/wireless/ath/ath6kl/wmi.h
parentf3e61eceb20a993ea2b375e82503ab8a1efa31d9 (diff)
ath6kl: Add wmi functions to add/delete WOW patterns
These commands will be used in WOW suspend/resume functions to configure WOW parameters like patterns to be matched and it's mask value, etc. Signed-off-by: Raja Mani <rmani@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/wmi.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/wmi.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.h b/drivers/net/wireless/ath/ath6kl/wmi.h
index 1d458f05ace0..df42e4be876a 100644
--- a/drivers/net/wireless/ath/ath6kl/wmi.h
+++ b/drivers/net/wireless/ath/ath6kl/wmi.h
@@ -1818,6 +1818,18 @@ struct wmi_set_ip_cmd {
1818 __le32 ips[MAX_IP_ADDRS]; 1818 __le32 ips[MAX_IP_ADDRS];
1819} __packed; 1819} __packed;
1820 1820
1821struct wmi_add_wow_pattern_cmd {
1822 u8 filter_list_id;
1823 u8 filter_size;
1824 u8 filter_offset;
1825 u8 filter[0];
1826} __packed;
1827
1828struct wmi_del_wow_pattern_cmd {
1829 __le16 filter_list_id;
1830 __le16 filter_id;
1831} __packed;
1832
1821/* WMI_GET_WOW_LIST_CMD reply */ 1833/* WMI_GET_WOW_LIST_CMD reply */
1822struct wmi_get_wow_list_reply { 1834struct wmi_get_wow_list_reply {
1823 /* number of patterns in reply */ 1835 /* number of patterns in reply */
@@ -2273,6 +2285,11 @@ int ath6kl_wmi_test_cmd(struct wmi *wmi, void *buf, size_t len);
2273s32 ath6kl_wmi_get_rate(s8 rate_index); 2285s32 ath6kl_wmi_get_rate(s8 rate_index);
2274 2286
2275int ath6kl_wmi_set_ip_cmd(struct wmi *wmi, struct wmi_set_ip_cmd *ip_cmd); 2287int ath6kl_wmi_set_ip_cmd(struct wmi *wmi, struct wmi_set_ip_cmd *ip_cmd);
2288int ath6kl_wmi_add_wow_pattern_cmd(struct wmi *wmi, u8 if_idx,
2289 u8 list_id, u8 filter_size,
2290 u8 filter_offset, u8 *filter, u8 *mask);
2291int ath6kl_wmi_del_wow_pattern_cmd(struct wmi *wmi, u8 if_idx,
2292 u16 list_id, u16 filter_id);
2276int ath6kl_wmi_set_roam_lrssi_cmd(struct wmi *wmi, u8 lrssi); 2293int ath6kl_wmi_set_roam_lrssi_cmd(struct wmi *wmi, u8 lrssi);
2277int ath6kl_wmi_force_roam_cmd(struct wmi *wmi, const u8 *bssid); 2294int ath6kl_wmi_force_roam_cmd(struct wmi *wmi, const u8 *bssid);
2278int ath6kl_wmi_set_roam_mode_cmd(struct wmi *wmi, enum wmi_roam_mode mode); 2295int ath6kl_wmi_set_roam_mode_cmd(struct wmi *wmi, enum wmi_roam_mode mode);