aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath11k/core.h
diff options
context:
space:
mode:
authorCarl Huang <quic_cjhuang@quicinc.com>2022-03-14 07:18:16 +0200
committerKalle Valo <quic_kvalo@quicinc.com>2022-03-18 17:34:59 +0200
commitfec4b898f369a9b9d516f7bfc459eb4a8c5ceb2c (patch)
tree989ee872dbfc2da5a5a16bff090ca5b0c4c2b5aa /drivers/net/wireless/ath/ath11k/core.h
parentath11k: Add basic WoW functionalities (diff)
downloadlinux-fec4b898f369a9b9d516f7bfc459eb4a8c5ceb2c.tar.xz
linux-fec4b898f369a9b9d516f7bfc459eb4a8c5ceb2c.zip
ath11k: Add WoW net-detect functionality
Implement net-detect feature by setting flag WIPHY_WOWLAN_NET_DETECT if firmware supports this feature. Driver sets the related PNO configuration to firmware before entering WoW and firmware then scans periodically and wakes up host if a specific SSID is found. Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1 Signed-off-by: Carl Huang <quic_cjhuang@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/1644308006-22784-3-git-send-email-quic_cjhuang@quicinc.com
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/core.h')
-rw-r--r--drivers/net/wireless/ath/ath11k/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/core.h b/drivers/net/wireless/ath/ath11k/core.h
index 7b658d4c7d19..1f5e977aa976 100644
--- a/drivers/net/wireless/ath/ath11k/core.h
+++ b/drivers/net/wireless/ath/ath11k/core.h
@@ -617,6 +617,7 @@ struct ath11k {
bool regdom_set_by_user;
int hw_rate_code;
u8 twt_enabled;
+ bool nlo_enabled;
};
struct ath11k_band_cap {