mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
kernel/ath10k: provide a virtual kmod
Switch ath10k and related kmods to use the new virtual kmod provides
semantic and mark ath10k as the default variant.
Signed-off-by: George Sapkin <george@sapk.in>
Link: https://github.com/openwrt/openwrt/pull/21288
(cherry picked from commit 8f4c64b930)
Link: https://github.com/openwrt/openwrt/pull/21355
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
90dfdc78fe
commit
f1520c2871
2 changed files with 9 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ define KernelPackage/ath10k-ct
|
|||
$(PKG_BUILD_DIR)/ath10k$(CT_KVER)/ath10k_pci.ko \
|
||||
$(PKG_BUILD_DIR)/ath10k$(CT_KVER)/ath10k_core.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath10k_pci)
|
||||
PROVIDES:=kmod-ath10k
|
||||
PROVIDES:=@kmod-ath10k-any
|
||||
VARIANT:=regular
|
||||
endef
|
||||
|
||||
|
|
|
|||
|
|
@ -265,7 +265,7 @@ This module adds support for wireless adapters based on
|
|||
Atheros USB AR9271 and AR7010 family of chipsets.
|
||||
endef
|
||||
|
||||
define KernelPackage/ath10k
|
||||
define KernelPackage/ath10k/Default
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Atheros 802.11ac wireless cards support
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath10k
|
||||
|
|
@ -276,7 +276,12 @@ define KernelPackage/ath10k
|
|||
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath10k_core ath10k_pci)
|
||||
MODPARAMS.ath10k_core:=frame_mode=2
|
||||
endef
|
||||
|
||||
define KernelPackage/ath10k
|
||||
$(call KernelPackage/ath10k/Default)
|
||||
VARIANT:=regular
|
||||
DEFAULT_VARIANT:=1
|
||||
endef
|
||||
|
||||
define KernelPackage/ath10k/description
|
||||
|
|
@ -299,9 +304,10 @@ define KernelPackage/ath10k/config
|
|||
endef
|
||||
|
||||
define KernelPackage/ath10k-smallbuffers
|
||||
$(call KernelPackage/ath10k)
|
||||
$(call KernelPackage/ath10k/Default)
|
||||
TITLE+= (small buffers for low-RAM devices)
|
||||
VARIANT:=smallbuffers
|
||||
PROVIDES:=@kmod-ath10k-any
|
||||
endef
|
||||
|
||||
define KernelPackage/ath11k
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue