aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authormohammad rasim <mohammad.rasim96@gmail.com>2020-08-11 22:13:25 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2020-08-24 18:53:59 +0200
commit785c7d9b166e2adbf8d17dc816a92b2373eb1a47 (patch)
treed9e0cdf4c08dcaeee44e2bd193b8a8b64853326c /package/kernel/mac80211
parent8735997686a360545f5f1c6cb54d48e85dda7707 (diff)
downloadupstream-785c7d9b166e2adbf8d17dc816a92b2373eb1a47.tar.gz
upstream-785c7d9b166e2adbf8d17dc816a92b2373eb1a47.tar.bz2
upstream-785c7d9b166e2adbf8d17dc816a92b2373eb1a47.zip
kernel: add ar5523 driver
The driver currently only support managed and monitor mode Changes since v1: - drop the @DRIVER_11N_SUPPORT dependency Signed-off-by: mohammad rasim <mohammad.rasim96@gmail.com>
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r--package/kernel/mac80211/ath.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/kernel/mac80211/ath.mk b/package/kernel/mac80211/ath.mk
index 352d192fa1..e52c18ec8c 100644
--- a/package/kernel/mac80211/ath.mk
+++ b/package/kernel/mac80211/ath.mk
@@ -1,6 +1,6 @@
PKG_DRIVERS += \
ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k \
- carl9170 owl-loader
+ carl9170 owl-loader ar5523
PKG_CONFIG_DEPENDS += \
CONFIG_PACKAGE_ATH_DEBUG \
@@ -67,6 +67,7 @@ config-$(call config_package,ath6kl-sdio) += ATH6KL_SDIO
config-$(call config_package,ath6kl-usb) += ATH6KL_USB
config-$(call config_package,carl9170) += CARL9170
+config-$(call config_package,ar5523) += AR5523
define KernelPackage/ath/config
if PACKAGE_kmod-ath
@@ -300,3 +301,11 @@ define KernelPackage/owl-loader/description
This is necessary for devices like the Cisco Meraki Z1.
endef
+
+define KernelPackage/ar5523
+ $(call KernelPackage/mac80211/Default)
+ TITLE:=Driver for Atheros AR5523 USB sticks
+ DEPENDS:=@USB_SUPPORT +kmod-mac80211 +kmod-ath +kmod-usb-core +kmod-input-core
+ FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ar5523/ar5523.ko
+ AUTOLOAD:=$(call AutoProbe,ar5523)
+endef