Skip to content

Commit

Permalink
ath10k-ct: Add 5.10 kernel driver.
Browse files Browse the repository at this point in the history
5.10 is not yet tested beyound compiling....

Signed-off-by: Ben Greear <greearb@candelatech.com>
  • Loading branch information
greearb committed Dec 7, 2020
1 parent 1d28d17 commit 3e7dd73
Show file tree
Hide file tree
Showing 69 changed files with 91,328 additions and 43 deletions.
89 changes: 89 additions & 0 deletions ath10k-5.10/Kconfig
@@ -0,0 +1,89 @@
# SPDX-License-Identifier: ISC
config ATH10K
tristate "Atheros 802.11ac wireless cards support"
depends on MAC80211 && HAS_DMA
select ATH_COMMON
select CRC32
select WANT_DEV_COREDUMP
select ATH10K_CE
help
This module adds support for wireless adapters based on
Atheros IEEE 802.11ac family of chipsets.

If you choose to build a module, it'll be called ath10k.

config ATH10K_CE
bool

config ATH10K_PCI
tristate "Atheros ath10k PCI support"
depends on ATH10K && PCI
help
This module adds support for PCIE bus

config ATH10K_AHB
bool "Atheros ath10k AHB support"
depends on ATH10K_PCI && OF && RESET_CONTROLLER
help
This module adds support for AHB bus

config ATH10K_SDIO
tristate "Atheros ath10k SDIO support"
depends on ATH10K && MMC
help
This module adds support for SDIO/MMC bus.

config ATH10K_USB
tristate "Atheros ath10k USB support (EXPERIMENTAL)"
depends on ATH10K && USB
help
This module adds experimental support for USB bus. Currently
work in progress and will not fully work.

config ATH10K_SNOC
tristate "Qualcomm ath10k SNOC support"
depends on ATH10K
depends on ARCH_QCOM || COMPILE_TEST
select QCOM_QMI_HELPERS
help
This module adds support for integrated WCN3990 chip connected
to system NOC(SNOC).

config ATH10K_DEBUG
bool "Atheros ath10k debugging"
depends on ATH10K
help
Enables debug support

If unsure, say Y to make it easier to debug problems.

config ATH10K_DEBUGFS
bool "Atheros ath10k debugfs support"
depends on ATH10K && DEBUG_FS
help
Enabled debugfs support

If unsure, say Y to make it easier to debug problems.

config ATH10K_SPECTRAL
bool "Atheros ath10k spectral scan support"
depends on ATH10K_DEBUGFS
select RELAY
default n
help
Say Y to enable access to the FFT/spectral data via debugfs.

config ATH10K_TRACING
bool "Atheros ath10k tracing support"
depends on ATH10K
depends on EVENT_TRACING
help
Select this to ath10k use tracing infrastructure.

config ATH10K_DFS_CERTIFIED
bool "Atheros DFS support for certified platforms"
depends on ATH10K && CFG80211_CERTIFICATION_ONUS
default n
help
This option enables DFS support for initiating radiation on
ath10k.
44 changes: 44 additions & 0 deletions ath10k-5.10/Makefile
@@ -0,0 +1,44 @@
# SPDX-License-Identifier: ISC
obj-$(CONFIG_ATH10K) += ath10k_core.o
ath10k_core-y += mac.o \
debug.o \
core.o \
coredump.o \
htc.o \
htt.o \
htt_rx.o \
htt_tx.o \
txrx.o \
wmi.o \
wmi-tlv.o \
bmi.o \
hw.o \
p2p.o \
swap.o

ath10k_core-$(CONFIG_ATH10K_SPECTRAL) += spectral.o
ath10k_core-$(CONFIG_NL80211_TESTMODE) += testmode.o
ath10k_core-$(CONFIG_ATH10K_TRACING) += trace.o
ath10k_core-$(CONFIG_THERMAL) += thermal.o
ath10k_core-$(CONFIG_MAC80211_DEBUGFS) += debugfs_sta.o
ath10k_core-$(CONFIG_PM) += wow.o
ath10k_core-$(CONFIG_ATH10K_CE) += ce.o

obj-$(CONFIG_ATH10K_PCI) += ath10k_pci.o
ath10k_pci-y += pci.o

ath10k_pci-$(CONFIG_ATH10K_AHB) += ahb.o

obj-$(CONFIG_ATH10K_SDIO) += ath10k_sdio.o
ath10k_sdio-y += sdio.o

obj-$(CONFIG_ATH10K_USB) += ath10k_usb.o
ath10k_usb-y += usb.o

obj-$(CONFIG_ATH10K_SNOC) += ath10k_snoc.o
ath10k_snoc-y += qmi.o \
qmi_wlfw_v01.o \
snoc.o

# for tracing framework to find trace.h
CFLAGS_trace.o := -I$(src)

0 comments on commit 3e7dd73

Please sign in to comment.