]> 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)
commit1a1998b482be96b2ee3cd5001238613bf76d3c78
tree1b1c1dd01713bba89f5beeadb9bb176993205d9f
parente1f41f48a55c1ab1f989adcfb6df77f4e2c2f5cd
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