|
1 | 1 | PKG_DRIVERS += \
|
2 | 2 | ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc \
|
3 | 3 | 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 |
5 | 5 |
|
6 | 6 | PKG_CONFIG_DEPENDS += \
|
7 | 7 | CONFIG_PACKAGE_ATH_DEBUG \
|
@@ -38,6 +38,7 @@ ifdef CONFIG_PACKAGE_MAC80211_TRACING
|
38 | 38 | WIL6210_TRACING
|
39 | 39 | endif
|
40 | 40 |
|
| 41 | +config-$(call config_package,qcom-qmi-helpers) += QCOM_QMI_HELPERS |
41 | 42 | config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
|
42 | 43 | config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG ATH11K_DEBUG ATH9K_STATION_STATISTICS
|
43 | 44 | config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
|
@@ -84,6 +85,14 @@ config-$(call config_package,ar5523) += AR5523
|
84 | 85 |
|
85 | 86 | config-$(call config_package,wil6210) += WIL6210
|
86 | 87 |
|
| 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 | + |
87 | 96 | define KernelPackage/ath/config
|
88 | 97 | if PACKAGE_kmod-ath
|
89 | 98 | config ATH_USER_REGD
|
@@ -333,9 +342,9 @@ define KernelPackage/ath11k
|
333 | 342 | TITLE:=Qualcomm 802.11ax wireless chipset support (common code)
|
334 | 343 | URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k
|
335 | 344 | 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 |
339 | 348 | MODPARAMS.ath11k:=frame_mode=2
|
340 | 349 | endef
|
341 | 350 |
|
|
0 commit comments