mirror of
https://github.com/opnsense/src.git
synced 2026-04-10 11:58:54 -04:00
This is a set of updates of the rtw89 driver based on wireless-testing (wt-2023-05-11) 711dca0ca3d77414f8f346e564e9c8640147f40d (after v6.4-rc1). (wt-2023-06-09) 7bd20e011626ccc3ad53e57873452b1716fcfaaa (after v6.4-rc5). (wt-2023-07-24) 62e409149b62a285e89018e49b2e115757fb9022 (after v6.5-rc3). (wt-2023-08-06) 2a220a15be657a24868368892e3e2caba2115283 (after v6.5-rc4). (wt-2023-08-13) 81e147b1317ee7cde8b624ee8c0501b470d7e91c (after v6.5-rc5). MFC after: 20 days
44 lines
1 KiB
Makefile
44 lines
1 KiB
Makefile
|
|
DEVRTW89DIR= ${SRCTOP}/sys/contrib/dev/rtw89
|
|
|
|
.PATH: ${DEVRTW89DIR}
|
|
|
|
WITH_CONFIG_PM= 0
|
|
|
|
KMOD= if_rtw89
|
|
|
|
SRCS= core.c
|
|
SRCS+= pci.c
|
|
SRCS+= chan.c mac80211.c mac.c phy.c fw.c
|
|
SRCS+= rtw8852a.c rtw8852a_rfk.c rtw8852a_rfk_table.c rtw8852a_table.c
|
|
SRCS+= rtw8852ae.c
|
|
SRCS+= rtw8852c.c rtw8852c_rfk.c rtw8852c_rfk_table.c rtw8852c_table.c
|
|
SRCS+= rtw8852ce.c
|
|
SRCS+= rtw8851b.c rtw8851b_rfk.c rtw8851b_rfk_table.c rtw8851b_table.c
|
|
SRCS+= rtw8851be.c
|
|
SRCS+= rtw8852b.c rtw8852b_rfk.c rtw8852b_rfk_table.c rtw8852b_table.c
|
|
SRCS+= rtw8852be.c
|
|
SRCS+= acpi.c cam.c efuse.c regd.c sar.c coex.c ps.c ser.c
|
|
|
|
# CONFIG_RTW89_DEBUG (always on for now)
|
|
SRCS+= debug.c
|
|
|
|
.if defined(WITH_CONFIG_PM) && ${WITH_CONFIG_PM} > 0
|
|
CFLAGS+= -DCONFIG_PM=${WITH_CONFIG_PM}
|
|
SRCS+= wow.c
|
|
.endif
|
|
|
|
# Other
|
|
SRCS+= ${LINUXKPI_GENSRCS}
|
|
SRCS+= opt_wlan.h opt_inet6.h opt_inet.h opt_acpi.h
|
|
|
|
CFLAGS+= -DKBUILD_MODNAME='"rtw89"'
|
|
|
|
CFLAGS+= -I${DEVRTW89DIR}
|
|
CFLAGS+= ${LINUXKPI_INCLUDES}
|
|
CFLAGS+= -DCONFIG_RTW89_DEBUGMSG
|
|
#CFLAGS+= -DCONFIG_RTW89_DEBUGFS
|
|
|
|
#CFLAGS+= -ferror-limit=0
|
|
|
|
.include <bsd.kmod.mk>
|