]> git.baikalelectronics.ru Git - 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)
commit021f69abb6fbfeb646a4620387fb5fe4ef4e034f
treebaca3abd4a3c0b369ea10f03925b1b682d728bde
parent1240eee525123caf88fbb095e22503c98f6f86a1
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