mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-11 06:54:21 +00:00
mac80211: Add wil6210 driver
This patch adds wil6210 driver for Wilocity/QCA based 802.11ad PCI cards. Driver uses cfg80211 and nl80211 but not mac80211. Integration for UCI and LuCI will come in other patches. Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
246fd27e52
commit
6442b8cbc2
@ -1,6 +1,6 @@
|
|||||||
PKG_DRIVERS += \
|
PKG_DRIVERS += \
|
||||||
ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k \
|
ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k \
|
||||||
carl9170 owl-loader ar5523
|
carl9170 owl-loader ar5523 wil6210
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS += \
|
PKG_CONFIG_DEPENDS += \
|
||||||
CONFIG_PACKAGE_ATH_DEBUG \
|
CONFIG_PACKAGE_ATH_DEBUG \
|
||||||
@ -21,7 +21,8 @@ ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
|
|||||||
ATH10K_DEBUGFS \
|
ATH10K_DEBUGFS \
|
||||||
CARL9170_DEBUGFS \
|
CARL9170_DEBUGFS \
|
||||||
ATH5K_DEBUG \
|
ATH5K_DEBUG \
|
||||||
ATH6KL_DEBUG
|
ATH6KL_DEBUG \
|
||||||
|
WIL6210_DEBUGFS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_PACKAGE_MAC80211_TRACING
|
ifdef CONFIG_PACKAGE_MAC80211_TRACING
|
||||||
@ -29,7 +30,8 @@ ifdef CONFIG_PACKAGE_MAC80211_TRACING
|
|||||||
ATH10K_TRACING \
|
ATH10K_TRACING \
|
||||||
ATH6KL_TRACING \
|
ATH6KL_TRACING \
|
||||||
ATH_TRACEPOINTS \
|
ATH_TRACEPOINTS \
|
||||||
ATH5K_TRACER
|
ATH5K_TRACER \
|
||||||
|
WIL6210_TRACING
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config-$(call config_package,ath) += ATH_CARDS ATH_COMMON ATH_REG_DYNAMIC_USER_REG_HINTS
|
config-$(call config_package,ath) += ATH_CARDS ATH_COMMON ATH_REG_DYNAMIC_USER_REG_HINTS
|
||||||
@ -68,6 +70,8 @@ config-$(call config_package,ath6kl-usb) += ATH6KL_USB
|
|||||||
config-$(call config_package,carl9170) += CARL9170
|
config-$(call config_package,carl9170) += CARL9170
|
||||||
config-$(call config_package,ar5523) += AR5523
|
config-$(call config_package,ar5523) += AR5523
|
||||||
|
|
||||||
|
config-$(call config_package,wil6210) += WIL6210
|
||||||
|
|
||||||
define KernelPackage/ath/config
|
define KernelPackage/ath/config
|
||||||
if PACKAGE_kmod-ath
|
if PACKAGE_kmod-ath
|
||||||
config ATH_USER_REGD
|
config ATH_USER_REGD
|
||||||
@ -309,3 +313,11 @@ define KernelPackage/ar5523
|
|||||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ar5523/ar5523.ko
|
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ar5523/ar5523.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,ar5523)
|
AUTOLOAD:=$(call AutoProbe,ar5523)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/wil6210
|
||||||
|
$(call KernelPackage/mac80211/Default)
|
||||||
|
TITLE:=QCA/Wilocity 60g WiFi card wil6210 support
|
||||||
|
DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +wil6210-firmware
|
||||||
|
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/wil6210/wil6210.ko
|
||||||
|
AUTOLOAD:=$(call AutoProbe,wil6210)
|
||||||
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user