Skip to content

Commit b00deea

Browse files
committed
mac80211: ath: add qcom-qmi-helpers as package
1 parent 8141952 commit b00deea

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

package/kernel/mac80211/ath.mk

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PKG_DRIVERS += \
22
ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc \
33
ath10k ath10k-pci ath10k-sdio ath10k-smallbuffers ath11k ath11k-ahb \
4-
ath11k-pci ar5523 carl9170 owl-loader wil6210
4+
ath11k-pci ar5523 carl9170 owl-loader wil6210 qcom-qmi-helpers
55

66
PKG_CONFIG_DEPENDS += \
77
CONFIG_PACKAGE_ATH_DEBUG \
@@ -38,6 +38,7 @@ ifdef CONFIG_PACKAGE_MAC80211_TRACING
3838
WIL6210_TRACING
3939
endif
4040

41+
config-$(call config_package,qcom-qmi-helpers) += QCOM_QMI_HELPERS
4142
config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
4243
config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG ATH11K_DEBUG ATH9K_STATION_STATISTICS
4344
config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
@@ -84,6 +85,14 @@ config-$(call config_package,ar5523) += AR5523
8485

8586
config-$(call config_package,wil6210) += WIL6210
8687

88+
define KernelPackage/qcom-qmi-helpers
89+
$(call KernelPackage/mac80211/Default)
90+
TITLE:=Qualcomm QMI backports helpers
91+
HIDDEN:=1
92+
FILES:=$(PKG_BUILD_DIR)/drivers/soc/qcom/qmi_helpers.ko
93+
AUTOLOAD:=$(call AutoProbe,qmi_helpers)
94+
endef
95+
8796
define KernelPackage/ath/config
8897
if PACKAGE_kmod-ath
8998
config ATH_USER_REGD
@@ -333,9 +342,9 @@ define KernelPackage/ath11k
333342
TITLE:=Qualcomm 802.11ax wireless chipset support (common code)
334343
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k
335344
DEPENDS+= +kmod-ath +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT \
336-
+kmod-crypto-michael-mic +ATH11K_THERMAL:kmod-hwmon-core +ATH11K_THERMAL:kmod-thermal
337-
FILES:=$(PKG_BUILD_DIR)/drivers/soc/qcom/qmi_helpers.ko \
338-
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k.ko
345+
+kmod-crypto-michael-mic +ATH11K_THERMAL:kmod-hwmon-core \
346+
+ATH11K_THERMAL:kmod-thermal +kmod-qcom-qmi-helpers
347+
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k.ko
339348
MODPARAMS.ath11k:=frame_mode=2
340349
endef
341350

0 commit comments

Comments
 (0)