]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ath10k: move spectral scan support under a separate config symbol
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 27 Nov 2017 17:56:23 +0000 (18:56 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 7 Dec 2017 14:32:03 +0000 (16:32 +0200)
commit42e01cb9cb109fb0bb4743f6c54d6aa67ac39b61
treebaca3abd4a3c0b369ea10f03925b1b682d728bde
parent9df7ddc3ed25b7d3473f117a0680b9418adb5753
ath10k: move spectral scan support under a separate config symbol

At the moment, spectral scan support, and with it RELAY, is always enabled
with ATH10K_DEBUGFS. Spectral scan support is currently the only user of
RELAY in ath10k, and it unconditionally reserves a relay channel.

Having debugfs support in ath10k is often useful even on very small
embedded routers, where we'd rather like to avoid the code size and RAM
usage of the relay support. While ath10k-based devices usually have more
resources than ath9k-based ones, it makes sense to keep the configuration
symmetric to ath9k, so the same base kernel without RELAY can be used for
both ath9k and ath10k hardware.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/Kconfig
drivers/net/wireless/ath/ath10k/Makefile
drivers/net/wireless/ath/ath10k/spectral.h