mac80211: fix ath11k kernel 5.15 support

This commit is contained in:
lean 2022-04-03 01:03:27 +08:00
parent 3530c1b73f
commit 8ee8d8cf46

View File

@ -287,6 +287,7 @@ 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"
depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
@ -356,7 +357,7 @@ define KernelPackage/ath11k-pci
$(call KernelPackage/mac80211/Default) $(call KernelPackage/mac80211/Default)
TITLE:=Qualcomm 802.11ax PCI wireless chipset support TITLE:=Qualcomm 802.11ax PCI wireless chipset support
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k
DEPENDS+= @PCI_SUPPORT +kmod-qrtr-mhi +kmod-ath11k DEPENDS+= @PCI_SUPPORT +LINUX_5_15:kmod-qrtr-mhi +kmod-ath11k
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k_pci.ko FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k_pci.ko
AUTOLOAD:=$(call AutoProbe,ath11k_pci) AUTOLOAD:=$(call AutoProbe,ath11k_pci)
endef endef