mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
mac80211/ath10k: add sdio chip support
This commit is contained in:
parent
2c52782fd1
commit
524dfad990
@ -1,6 +1,7 @@
|
|||||||
PKG_DRIVERS += \
|
PKG_DRIVERS += \
|
||||||
ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k ath10k-smallbuffers \
|
ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc \
|
||||||
ath11k ath11k-ahb ath11k-pci carl9170 owl-loader ar5523 wil6210
|
ath10k ath10k-pci ath10k-sdio ath10k-smallbuffers ath11k ath11k-ahb \
|
||||||
|
ath11k-pci ar5523 carl9170 owl-loader wil6210
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS += \
|
PKG_CONFIG_DEPENDS += \
|
||||||
CONFIG_PACKAGE_ATH_DEBUG \
|
CONFIG_PACKAGE_ATH_DEBUG \
|
||||||
@ -60,8 +61,11 @@ config-$(CONFIG_ATH11K_MEM_PROFILE_512MB) += ATH11K_MEM_PROFILE_512MB
|
|||||||
config-$(CONFIG_ATH11K_MEM_PROFILE_1GB) += ATH11K_MEM_PROFILE_1GB
|
config-$(CONFIG_ATH11K_MEM_PROFILE_1GB) += ATH11K_MEM_PROFILE_1GB
|
||||||
|
|
||||||
config-$(call config_package,ath9k-htc) += ATH9K_HTC
|
config-$(call config_package,ath9k-htc) += ATH9K_HTC
|
||||||
config-$(call config_package,ath10k) += ATH10K ATH10K_PCI
|
config-$(call config_package,ath10k) += ATH10K
|
||||||
|
config-$(call config_package,ath10k-pci) += ATH10K_PCI
|
||||||
|
config-$(call config_package,ath10k-sdio) += ATH10K_SDIO
|
||||||
config-$(call config_package,ath10k-smallbuffers) += ATH10K ATH10K_PCI ATH10K_SMALLBUFFERS
|
config-$(call config_package,ath10k-smallbuffers) += ATH10K ATH10K_PCI ATH10K_SMALLBUFFERS
|
||||||
|
|
||||||
config-$(call config_package,ath11k) += ATH11K
|
config-$(call config_package,ath11k) += ATH11K
|
||||||
config-$(call config_package,ath11k-ahb) += ATH11K_AHB
|
config-$(call config_package,ath11k-ahb) += ATH11K_AHB
|
||||||
config-$(call config_package,ath11k-pci) += ATH11K_PCI
|
config-$(call config_package,ath11k-pci) += ATH11K_PCI
|
||||||
@ -264,20 +268,17 @@ define KernelPackage/ath10k
|
|||||||
$(call KernelPackage/mac80211/Default)
|
$(call KernelPackage/mac80211/Default)
|
||||||
TITLE:=Atheros 802.11ac wireless cards support
|
TITLE:=Atheros 802.11ac wireless cards support
|
||||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath10k
|
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath10k
|
||||||
DEPENDS+= @PCI_SUPPORT +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT \
|
DEPENDS+= +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT \
|
||||||
+ATH10K_THERMAL:kmod-hwmon-core +ATH10K_THERMAL:kmod-thermal
|
+ATH10K_THERMAL:kmod-hwmon-core +ATH10K_THERMAL:kmod-thermal
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_core.ko \
|
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_core.ko
|
||||||
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
|
AUTOLOAD:=$(call AutoProbe,ath10k_core)
|
||||||
AUTOLOAD:=$(call AutoProbe,ath10k_core ath10k_pci)
|
|
||||||
MODPARAMS.ath10k_core:=frame_mode=2
|
MODPARAMS.ath10k_core:=frame_mode=2
|
||||||
VARIANT:=regular
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ath10k/description
|
define KernelPackage/ath10k/description
|
||||||
This module adds support for wireless adapters based on
|
This module adds support for wireless adapters based on
|
||||||
Atheros IEEE 802.11ac family of chipsets. For now only
|
Atheros IEEE 802.11ac family of chipsets.
|
||||||
PCI is supported.
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ath10k/config
|
define KernelPackage/ath10k/config
|
||||||
@ -288,14 +289,43 @@ define KernelPackage/ath10k/config
|
|||||||
depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
|
depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
|
||||||
|
|
||||||
config ATH10K_THERMAL
|
config ATH10K_THERMAL
|
||||||
default y
|
|
||||||
bool "Enable thermal sensors and throttling support"
|
bool "Enable thermal sensors and throttling support"
|
||||||
|
default y
|
||||||
depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
|
depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/ath10k-pci
|
||||||
|
$(call KernelPackage/mac80211/Default)
|
||||||
|
TITLE:=Atheros 802.11ac PCIE wireless cards support
|
||||||
|
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath10k
|
||||||
|
DEPENDS+= @PCI_SUPPORT kmod-ath10k
|
||||||
|
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
|
||||||
|
AUTOLOAD:=$(call AutoProbe,ath10k_pci)
|
||||||
|
VARIANT:=regular
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/ath10k-pci/description
|
||||||
|
This module adds support for wireless adapters based on
|
||||||
|
Atheros IEEE 802.11ac family of chipsets with PCIE bus.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/ath10k-sdio
|
||||||
|
$(call KernelPackage/mac80211/Default)
|
||||||
|
TITLE:=Atheros 802.11ac SDIO wireless cards support
|
||||||
|
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath10k
|
||||||
|
DEPENDS+= kmod-ath10k +kmod-mmc
|
||||||
|
FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_sdio.ko
|
||||||
|
AUTOLOAD:=$(call AutoProbe,ath10k_sdio)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/ath10k-sdio/description
|
||||||
|
This module adds support for wireless adapters based on
|
||||||
|
Atheros IEEE 802.11ac family of chipsets with SDIO bus.
|
||||||
|
endef
|
||||||
|
|
||||||
define KernelPackage/ath10k-smallbuffers
|
define KernelPackage/ath10k-smallbuffers
|
||||||
$(call KernelPackage/ath10k)
|
$(call KernelPackage/ath10k-pci)
|
||||||
TITLE+= (small buffers for low-RAM devices)
|
TITLE+= (small buffers for low-RAM devices)
|
||||||
VARIANT:=smallbuffers
|
VARIANT:=smallbuffers
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user