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)
commit2626c269702e04bdcaaeac62ac8089281520b5ce
tree1b1c1dd01713bba89f5beeadb9bb176993205d9f
parentb09199248905568ef8a263bcee3306c2b95ea36b
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