summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGovind Singh <govinds@codeaurora.org>2016-11-21 16:42:23 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-31 22:27:10 -0800
commitd92069cb39a8e91c65a9ee586ee35cb4dbed8ab3 (patch)
tree32f2e5dbcc3efddf4cdb0a783e3c74fbd54c782f
parenta874c1606fa22a4add4242cc8c5dfca500410f5d (diff)
ath10k: add WCN3990 SNOC layer compilation support
Add kernel configuration flag to enable/disable the SNOC bus interface for SNOC WLAN module. Update the ath10k Makefile to add rules to compile the WCN3990 SNOC WLAN module driver. CRs-Fixed: 2000391 Change-Id: I28e6fcd8a0a8b15c8bca0afab33b051748f82d52 Signed-off-by: Govind Singh <govinds@codeaurora.org> Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
-rw-r--r--drivers/net/wireless/ath/ath10k/Kconfig20
-rw-r--r--drivers/net/wireless/ath/ath10k/Makefile3
2 files changed, 23 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/Kconfig b/drivers/net/wireless/ath/ath10k/Kconfig
index db1ca629cbd6..f0c831b4b3d9 100644
--- a/drivers/net/wireless/ath/ath10k/Kconfig
+++ b/drivers/net/wireless/ath/ath10k/Kconfig
@@ -21,6 +21,26 @@ config ATH10K_AHB
---help---
This module adds support for AHB bus
+config ATH10K_TARGET_SNOC
+ tristate "Atheros ath10k SNOC support"
+ depends on ATH10K
+ ---help---
+ This module adds support for the Integrated WCN3990 WLAN module,
+ WCN3990 has integrated 802.11ac chipset with SNOC bus interface.
+ This module also adds support to register the WCN3990 wlan module
+ with MAC80211 network subsystem.
+
+config ATH10K_SNOC
+ bool "Enable/disable Atheros ath10k SNOC bus interface support"
+ depends on ATH10K
+ depends on ATH10K_TARGET_SNOC
+ ---help---
+ This module add support for WLAN SNOC bus registration, WLAN
+ copy engine configuration for the WCN3990 chipset, WLAN hardware
+ shadow register configuration, create host to target communication
+ interface to interact with WLAN firmware, WLAN module interface
+ control and data receive(RX)/transmit(TX) control.
+
config ATH10K_DEBUG
bool "Atheros ath10k debugging"
depends on ATH10K
diff --git a/drivers/net/wireless/ath/ath10k/Makefile b/drivers/net/wireless/ath/ath10k/Makefile
index 930fadd940d8..25b23bf2c8e6 100644
--- a/drivers/net/wireless/ath/ath10k/Makefile
+++ b/drivers/net/wireless/ath/ath10k/Makefile
@@ -24,6 +24,9 @@ ath10k_core-$(CONFIG_PM) += wow.o
obj-$(CONFIG_ATH10K_PCI) += ath10k_pci.o
ath10k_pci-y += pci.o \
ce.o
+obj-$(CONFIG_ATH10K_TARGET_SNOC) += ath10k_snoc.o
+ath10k_snoc-y += snoc.o \
+ ce.o
ath10k_pci-$(CONFIG_ATH10K_AHB) += ahb.o