Skip to content

Commit

Permalink
mac80211: realtek: add rtl8821au/rtl8812au
Browse files Browse the repository at this point in the history
Signed-off-by: Marty Jones <[email protected]>
  • Loading branch information
mj22226 committed Nov 20, 2024
1 parent 8563587 commit b088fc7
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions package/kernel/mac80211/realtek.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ PKG_DRIVERS += \
rtl8723bs rtl8821ae rtl8xxxu rtw88 rtw88-pci rtw88-usb rtw88-sdio rtw88-8821c \
rtw88-8822b rtw88-8822c rtw88-8723x rtw88-8723d rtw88-8821ce rtw88-8821cu \
rtw88-8822be rtw88-8822bu rtw88-8822ce rtw88-8822cu rtw88-8723de rtw88-8723ds \
rtw88-88xxa rtw88-8821a rtw88-8812a rtw88-8821au rtw88-8812au \
rtw88-8723du rtw89 rtw89-pci rtw89-8851be rtw89-8852ae rtw89-8852b-common \
rtw89-8852be rtw89-8852ce rtw89-8922ae

Expand Down Expand Up @@ -48,6 +49,11 @@ config-$(call config_package,rtw88-8723d) += RTW88_8723D
config-$(call config_package,rtw88-8723de) += RTW88_8723DE
config-$(call config_package,rtw88-8723ds) += RTW88_8723DS
config-$(call config_package,rtw88-8723du) += RTW88_8723DU
config-$(call config_package,rtw88-88xxa) += RTW88_88XXA
config-$(call config_package,rtw88-8821a) += RTW88_8821A
config-$(call config_package,rtw88-8812a) += RTW88_8812A
config-$(call config_package,rtw88-8821au) += RTW88_8821AU
config-$(call config_package,rtw88-8812au) += RTW88_8812AU
config-$(CONFIG_PACKAGE_RTW88_DEBUG) += RTW88_DEBUG
config-$(CONFIG_PACKAGE_RTW88_DEBUGFS) += RTW88_DEBUGFS

Expand Down Expand Up @@ -255,6 +261,33 @@ define KernelPackage/rtw88-usb
HIDDEN:=1
endef

define KernelPackage/rtw88-88xxa
$(call KernelPackage/mac80211/Default)
TITLE:=Realtek RTL8821A family support
DEPENDS+= +@DRIVER_11AC_SUPPORT +kmod-rtw88-usb
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtw88/rtw88_88xxa.ko
AUTOLOAD:=$(call AutoProbe,rtw88_88xxa)
HIDDEN:=1
endef

define KernelPackage/rtw88-8821a
$(call KernelPackage/mac80211/Default)
TITLE:=Realtek RTL8821A family support
DEPENDS+= +kmod-rtw88-88xxa
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtw88/rtw88_8821a.ko
AUTOLOAD:=$(call AutoProbe,rtw88_8821a)
HIDDEN:=1
endef

define KernelPackage/rtw88-8812a
$(call KernelPackage/mac80211/Default)
TITLE:=Realtek RTL8812A family support
DEPENDS+= +kmod-rtw88-88xxa
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtw88/rtw88_8812a.ko
AUTOLOAD:=$(call AutoProbe,rtw88_8812a)
HIDDEN:=1
endef

define KernelPackage/rtw88-8821c
$(call KernelPackage/mac80211/Default)
TITLE:=Realtek RTL8821C family support
Expand Down Expand Up @@ -300,6 +333,22 @@ define KernelPackage/rtw88-8723d
HIDDEN:=1
endef

define KernelPackage/rtw88-8821au
$(call KernelPackage/mac80211/Default)
TITLE:=Realtek RTL8821AU support
DEPENDS+= +kmod-rtw88-8821a +rtl8821a-firmware
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtw88/rtw88_8821au.ko
AUTOLOAD:=$(call AutoProbe,rtw88_8821au)
endef

define KernelPackage/rtw88-8812au
$(call KernelPackage/mac80211/Default)
TITLE:=Realtek RTL8812AU support
DEPENDS+= +kmod-rtw88-8812a +rtl8812a-firmware
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtw88/rtw88_8812au.ko
AUTOLOAD:=$(call AutoProbe,rtw88_8812au)
endef

define KernelPackage/rtw88-8821ce
$(call KernelPackage/mac80211/Default)
TITLE:=Realtek RTL8821CE support
Expand Down

0 comments on commit b088fc7

Please sign in to comment.