aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex/ioctl.h
diff options
context:
space:
mode:
authorchunfan chen <jeffc@marvell.com>2016-01-13 01:26:55 -0800
committerKalle Valo <kvalo@codeaurora.org>2016-01-29 11:20:40 +0200
commit8de00f1b1c7f37e523430efba8e4257b2761df7c (patch)
treeecdb19c03efe125788a2627eeee01df86f8cdd24 /drivers/net/wireless/marvell/mwifiex/ioctl.h
parentmwifiex: add wowlan net-detect support (diff)
downloadlinux-dev-8de00f1b1c7f37e523430efba8e4257b2761df7c.tar.xz
linux-dev-8de00f1b1c7f37e523430efba8e4257b2761df7c.zip
mwifiex: report wakeup reason to cfg80211
This patch adds code to report wakeup reason to cfg80211 when system is resumed. Signed-off-by: chunfan chen <jeffc@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/ioctl.h')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/ioctl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/ioctl.h b/drivers/net/wireless/marvell/mwifiex/ioctl.h
index 6333b163acef..14cfa37deb00 100644
--- a/drivers/net/wireless/marvell/mwifiex/ioctl.h
+++ b/drivers/net/wireless/marvell/mwifiex/ioctl.h
@@ -271,6 +271,10 @@ struct mwifiex_ds_hs_cfg {
u32 gap;
};
+struct mwifiex_ds_wakeup_reason {
+ u16 hs_wakeup_reason;
+};
+
#define DEEP_SLEEP_ON 1
#define DEEP_SLEEP_OFF 0
#define DEEP_SLEEP_IDLE_TIME 100