OSDN Git Service

ath11k: disable monitor mode on QCA6390
authorKalle Valo <kvalo@codeaurora.org>
Tue, 29 Sep 2020 17:15:33 +0000 (20:15 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 1 Oct 2020 19:31:03 +0000 (22:31 +0300)
commit3f6e6c3291ed9ebf459b76666c7c6e379de3278e
treeaa5b8af4045b0747cffa56158d4b2e2e41bd8e64
parent18ac1665e78575a5148b2bd2c90749c2bcbf135a
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
drivers/net/wireless/ath/ath11k/core.c
drivers/net/wireless/ath/ath11k/hw.h
drivers/net/wireless/ath/ath11k/mac.c