[PATCH] kernel: add ar5523 driver
Mohammad Rasim
mohammad.rasim96 at gmail.com
Tue Aug 11 15:09:33 EDT 2020
On 8/11/20 5:15 PM, Daniel Golle wrote:
> Hi Mohammad,
>
> On Tue, Aug 11, 2020 at 03:41:29PM +0300, mohammad rasim wrote:
>> The driver currently only support managed and monitor mode
>>
>> Signed-off-by: mohammad rasim <mohammad.rasim96 at gmail.com>
>> ---
>> package/kernel/mac80211/ath.mk | 11 ++++++++++-
>> 1 file changed, 10 insertions(+), 1 deletion(-)
>>
>> diff --git a/package/kernel/mac80211/ath.mk b/package/kernel/mac80211/ath.mk
>> index 352d192fa1..d63813d677 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 + at DRIVER_11N_SUPPORT
> ^^^^^^^^^^^^^^^^^^^^^^
> From what I understood ar5523 are 802.11a/b/g and hence do NOT support
> 11N. Correct me if I'm wrong...
>
You are right, that dependency was mistakenly left from where i copied
the code (carl9170 driver) will remove it in v2.
Regards
More information about the openwrt-devel
mailing list