]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb5c933a8b3e2ea9b2b994b5fb00ec062673a931
treeaa5b8af4045b0747cffa56158d4b2e2e41bd8e64
parentaae91cfabe467a6d556e3076902fc18cf5b90fc4
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