aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex/fw.h
diff options
context:
space:
mode:
authorGanapathi Bhat <gbhat@marvell.com>2016-01-13 01:26:56 -0800
committerKalle Valo <kvalo@codeaurora.org>2016-01-29 11:20:41 +0200
commitfdcab083055d759325c8e0f8999d9e192417fc20 (patch)
treecad71778a2958acbdef65b3e7fc05c591726e657 /drivers/net/wireless/marvell/mwifiex/fw.h
parentmwifiex: report wakeup reason to cfg80211 (diff)
downloadlinux-dev-fdcab083055d759325c8e0f8999d9e192417fc20.tar.xz
linux-dev-fdcab083055d759325c8e0f8999d9e192417fc20.zip
mwifiex: add RSSI support for net-detect
This patch adds support for waking up the device on finding better RSSI. Threshold RSSI value will be configured by application. Signed-off-by: Ganapathi Bhat <gbhat@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/fw.h')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/fw.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/fw.h b/drivers/net/wireless/marvell/mwifiex/fw.h
index d293e485189b..4af916817bcd 100644
--- a/drivers/net/wireless/marvell/mwifiex/fw.h
+++ b/drivers/net/wireless/marvell/mwifiex/fw.h
@@ -759,6 +759,11 @@ struct mwifiex_ie_types_repeat_count {
__le16 repeat_count;
} __packed;
+struct mwifiex_ie_types_min_rssi_threshold {
+ struct mwifiex_ie_types_header header;
+ __le16 rssi_threshold;
+} __packed;
+
struct mwifiex_ie_types_bgscan_start_later {
struct mwifiex_ie_types_header header;
__le16 start_later;