diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 044af9cd7..df53efa75 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=mac80211 PKG_VERSION:=5.10.42-1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=@KERNEL/linux/kernel/projects/backports/stable/v5.10.42/ PKG_HASH:=6876520105240844fdb32d1dcdf2bfdea291a37a96f16c892fda3776ba714fcb @@ -476,6 +476,9 @@ define Build/Prepare $(PKG_BUILD_DIR)/backport-include/linux/bcm47xx_nvram.h echo 'compat-wireless-$(PKG_VERSION)-$(PKG_RELEASE)-$(REVISION)' > $(PKG_BUILD_DIR)/compat_version + + mkdir -p $(STAGING_DIR)/usr/include/qca-nss-drv + $(CP) $(STAGING_DIR)/usr/include/qca-nss-drv/* $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ endef ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),) diff --git a/package/kernel/mac80211/ath.mk b/package/kernel/mac80211/ath.mk index 4b728c754..b0afa892b 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 +ATH11K_THERMAL:kmod-hwmon-core +ATH11K_THERMAL:kmod-thermal + +kmod-crypto-michael-mic +kmod-qca-nss-drv +ATH11K_THERMAL:kmod-hwmon-core +ATH11K_THERMAL:kmod-thermal FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k.ko AUTOLOAD:=$(call AutoProbe,ath11k) endef diff --git a/package/kernel/mac80211/patches/nss/199-002-ath11k_nss-add-nss-driver-interface.patch b/package/kernel/mac80211/patches/nss/199-002-ath11k_nss-add-nss-driver-interface.patch index 67df0248e..341296465 100644 --- a/package/kernel/mac80211/patches/nss/199-002-ath11k_nss-add-nss-driver-interface.patch +++ b/package/kernel/mac80211/patches/nss/199-002-ath11k_nss-add-nss-driver-interface.patch @@ -2400,8 +2400,8 @@ Signed-off-by: Sriram R +#ifndef ATH11K_NSS_H +#define ATH11K_NSS_H + -+#include -+#include ++#include "nss_api_if.h" ++#include "nss_cmn.h" + +struct ath11k; +struct ath11k_base;