mac80211: add ath11k nss dependence

This commit is contained in:
coolsnowwolf 2021-06-29 14:07:54 +08:00
parent 37efc3f069
commit 9be314ba8f
3 changed files with 7 additions and 4 deletions

View File

@ -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),)

View File

@ -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

View File

@ -2400,8 +2400,8 @@ Signed-off-by: Sriram R <srirrama@codeaurora.org>
+#ifndef ATH11K_NSS_H
+#define ATH11K_NSS_H
+
+#include <nss_api_if.h>
+#include <nss_cmn.h>
+#include "nss_api_if.h"
+#include "nss_cmn.h"
+
+struct ath11k;
+struct ath11k_base;