From 9faf3ea90d64b89985eb6aefa5abbe9ba3986835 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Tue, 29 Jun 2021 16:19:40 +0800 Subject: [PATCH] mac80211: add ipq807x dep for ath11k nss --- package/kernel/mac80211/Makefile | 3 ++- package/kernel/mac80211/ath.mk | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index df53efa75..6f899777e 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -478,6 +478,7 @@ define Build/Prepare echo 'compat-wireless-$(PKG_VERSION)-$(PKG_RELEASE)-$(REVISION)' > $(PKG_BUILD_DIR)/compat_version mkdir -p $(STAGING_DIR)/usr/include/qca-nss-drv + echo 'compat-wireless-$(PKG_VERSION)-$(PKG_RELEASE)-$(REVISION)' > $(STAGING_DIR)/usr/include/qca-nss-drv/compat_version $(CP) $(STAGING_DIR)/usr/include/qca-nss-drv/* $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ endef @@ -566,4 +567,4 @@ endef $(eval $(foreach drv,$(PKG_DRIVERS),$(call KernelPackage,$(drv)))) $(eval $(call KernelPackage,cfg80211)) -$(eval $(call KernelPackage,mac80211)) +$(eval $(call KernelPackage,mac80211)) \ No newline at end of file diff --git a/package/kernel/mac80211/ath.mk b/package/kernel/mac80211/ath.mk index b0afa892b..8e9037f03 100644 --- a/package/kernel/mac80211/ath.mk +++ b/package/kernel/mac80211/ath.mk @@ -292,7 +292,7 @@ define KernelPackage/ath11k TITLE:=Qualcomm 802.11ax wireless chipset support (common code) URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k DEPENDS+= +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT \ - +kmod-crypto-michael-mic +kmod-qca-nss-drv +ATH11K_THERMAL:kmod-hwmon-core +ATH11K_THERMAL:kmod-thermal + +kmod-crypto-michael-mic +ATH11K_THERMAL:kmod-hwmon-core +ATH11K_THERMAL:kmod-thermal +@ipq807x:kmod-qca-nss-drv FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k.ko AUTOLOAD:=$(call AutoProbe,ath11k) endef