diff options
| author | George Sapkin | 2025-12-28 15:34:48 +0000 |
|---|---|---|
| committer | Robert Marko | 2026-01-02 17:11:03 +0000 |
| commit | f1520c287159cec5c94bd7b04ebcb81d7ab44259 (patch) | |
| tree | d7dc6d0a2776413e98a89cb0ef666456b0f3d437 | |
| parent | 90dfdc78fe73a90e91ebda320a3d63418641038d (diff) | |
| download | openwrt-f1520c287159cec5c94bd7b04ebcb81d7ab44259.tar.gz | |
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 8f4c64b9304a79ab6e004b945b00b25de4e5d5d7)
Link: https://github.com/openwrt/openwrt/pull/21355
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | package/kernel/ath10k-ct/Makefile | 2 | ||||
| -rw-r--r-- | package/kernel/mac80211/ath.mk | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/package/kernel/ath10k-ct/Makefile b/package/kernel/ath10k-ct/Makefile index 7b1543dff3..48514a6b40 100644 --- a/package/kernel/ath10k-ct/Makefile +++ b/package/kernel/ath10k-ct/Makefile @@ -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 diff --git a/package/kernel/mac80211/ath.mk b/package/kernel/mac80211/ath.mk index 5b13b6aac4..35c36954e5 100644 --- a/package/kernel/mac80211/ath.mk +++ b/package/kernel/mac80211/ath.mk @@ -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 |