]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: add interface_modes to hw_params
authorKalle Valo <kvalo@codeaurora.org>
Tue, 29 Sep 2020 17:15:31 +0000 (20:15 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 1 Oct 2020 19:30:58 +0000 (22:30 +0300)
commitb4e8e712f4d33f6cfe6d3a8263dd4d21732ae09c
tree1b1c1dd01713bba89f5beeadb9bb176993205d9f
parent72c715bbfb418e61d07ac38ae5faa392e44995e6
ath11k: add interface_modes to hw_params

As QCA6390 does not support mesh interfaces, move the interface_modes to
hw_params. Also create interface combinations dynamically so that it's easy to
change the values.

Now QCA6390 does not claim to support mesh interfaces to user space, but
IPQ8074 continues to do that.

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-4-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