summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath11k/hw.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@codeaurora.org>2020-09-29 20:15:33 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-10-01 22:31:03 +0300
commit3f6e6c3291ed9ebf459b76666c7c6e379de3278e (patch)
treeaa5b8af4045b0747cffa56158d4b2e2e41bd8e64 /drivers/net/wireless/ath/ath11k/hw.h
parent18ac1665e78575a5148b2bd2c90749c2bcbf135a (diff)
ath11k: disable monitor mode on QCA6390
QCA6390 does not support monitor mode at the moment so disable it altogether, using a hack as mac80211 does not support disabling it otherwise. Add a boolean to hw_params to know if hardware supports monitor mode. IPQ8074 continues to support monitor mode normally. Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1 Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/1601399736-3210-6-git-send-email-kvalo@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath11k/hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/hw.h b/drivers/net/wireless/ath/ath11k/hw.h
index 5bd3fe618dd8..a281ad3bdf04 100644
--- a/drivers/net/wireless/ath/ath11k/hw.h
+++ b/drivers/net/wireless/ath/ath11k/hw.h
@@ -158,6 +158,7 @@ struct ath11k_hw_params {
u8 spectral_fft_sz;
u16 interface_modes;
+ bool supports_monitor;
};
struct ath11k_hw_ops {