summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/core.h
diff options
context:
space:
mode:
authorWen Gong <wgong@codeaurora.org>2018-10-04 08:45:31 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-10-13 20:18:02 +0300
commitce834e280f2f8753ab0432fb5b1912547abc5330 (patch)
tree9d531f49563a6c04f651c1309330d94a34bf73f2 /drivers/net/wireless/ath/ath10k/core.h
parentf1157695c527d4ee949ac83f743f80107751a70c (diff)
downloadblackbird-op-linux-ce834e280f2f8753ab0432fb5b1912547abc5330.tar.gz
blackbird-op-linux-ce834e280f2f8753ab0432fb5b1912547abc5330.zip
ath10k: support NET_DETECT WoWLAN feature
For WoWLAN support it is expected to support wake up based on discovery of one or more known SSIDs. This is the WIPHY_WOWLAN_NET_DETECT feature, which shows up as an NL80211 feature flag. This shows up in 'iw phy' as: WoWLAN support: * wake up on network detection, up to 16 match sets And it can be enabled with command: iw phy0 wowlan enable net-detect interval 5000 delay 30 freqs 2412 matches ssid foo Firmware will do scan by the configured parameters after suspend and wakeup if it found matched SSIDs. Tested with QCA6174 hw3.0 with firmware WLAN.RM.4.4.1-00110-QCARMSWPZ-1. Signed-off-by: Wen Gong <wgong@codeaurora.org> [kvalo@codeaurora.org: fix lots of endian bugs, whitespace, commit log and style cleanup] Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/core.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h
index c76af343db3d..c0d205daa55f 100644
--- a/drivers/net/wireless/ath/ath10k/core.h
+++ b/drivers/net/wireless/ath/ath10k/core.h
@@ -951,6 +951,7 @@ struct ath10k {
/* protected by conf_mutex */
u8 ps_state_enable;
+ bool nlo_enabled;
bool p2p;
struct {
OpenPOWER on IntegriCloud