aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/iwlwifi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/iwlwifi/Makefile')
-rw-r--r--sys/modules/iwlwifi/Makefile68
1 files changed, 44 insertions, 24 deletions
diff --git a/sys/modules/iwlwifi/Makefile b/sys/modules/iwlwifi/Makefile
index 9774c3da61ee..5d4830537a0b 100644
--- a/sys/modules/iwlwifi/Makefile
+++ b/sys/modules/iwlwifi/Makefile
@@ -3,40 +3,58 @@ DEVIWLWIFIDIR= ${SRCTOP}/sys/contrib/dev/iwlwifi
.PATH: ${DEVIWLWIFIDIR}
WITH_CONFIG_PM= 0
-WITH_DEBUGFS= 1
+WITH_DEBUGFS= 0
WITH_CONFIG_ACPI= 1
KMOD= if_iwlwifi
-SRCS= iwl-drv.c
-SRCS+= iwl-dbg-tlv.c iwl-debug.c
-SRCS+= iwl-io.c iwl-nvm-parse.c iwl-nvm-utils.c iwl-phy-db.c iwl-trans.c
-SRCS+= cfg/7000.c cfg/8000.c cfg/9000.c cfg/22000.c
-SRCS+= cfg/ax210.c cfg/bz.c cfg/sc.c
-SRCS+= fw/dbg.c fw/dump.c fw/img.c fw/notif-wait.c
-SRCS+= fw/paging.c fw/pnvm.c fw/regulatory.c fw/rs.c fw/smem.c fw/init.c
+SRCS= iwl-dbg-tlv.c iwl-drv.c iwl-debug.c iwl-devtrace.c iwl-io.c
+SRCS+= iwl-nvm-parse.c iwl-nvm-utils.c iwl-trans.c iwl-phy-db.c
+SRCS+= iwl-utils.c
+
+SRCS+= cfg/22000.c cfg/7000.c cfg/8000.c cfg/9000.c cfg/ax210.c
+SRCS+= cfg/bz.c cfg/sc.c cfg/dr.c
+SRCS+= cfg/rf-fm.c cfg/rf-gf.c cfg/rf-hr.c cfg/rf-jf.c cfg/rf-pe.c
+SRCS+= cfg/rf-wh.c
+
+SRCS+= fw/dbg.c fw/dump.c fw/img.c fw/init.c
+SRCS+= fw/notif-wait.c fw/paging.c fw/pnvm.c fw/regulatory.c fw/rs.c
+SRCS+= fw/smem.c
#SRCS+= fw/uefi.c
-SRCS+= mvm/rs.c mvm/binding.c mvm/coex.c mvm/ftm-initiator.c
-SRCS+= mvm/ftm-responder.c mvm/fw.c mvm/mac-ctxt.c
-SRCS+= mvm/mac80211.c mvm/nvm.c mvm/offloading.c mvm/ops.c
-SRCS+= mvm/phy-ctxt.c mvm/power.c mvm/quota.c mvm/rs-fw.c mvm/rfi.c
-SRCS+= mvm/rx.c mvm/rxmq.c mvm/scan.c mvm/sf.c mvm/sta.c mvm/tdls.c
-SRCS+= mvm/time-event.c mvm/tt.c mvm/tx.c mvm/utils.c
-SRCS+= mvm/link.c
-SRCS+= mvm/mld-key.c mvm/mld-mac.c mvm/mld-mac80211.c mvm/mld-sta.c
-SRCS+= mvm/ptp.c mvm/time-sync.c
+
+SRCS+= pcie/ctxt-info-v2.c pcie/ctxt-info.c pcie/drv.c pcie/utils.c
+SRCS+= pcie/gen1_2/rx.c pcie/gen1_2/trans-gen2.c pcie/gen1_2/trans.c
+SRCS+= pcie/gen1_2/tx-gen2.c pcie/gen1_2/tx.c
+
+SRCS+= mvm/binding.c mvm/coex.c
+SRCS+= mvm/ftm-initiator.c mvm/ftm-responder.c mvm/fw.c
#SRCS+= mvm/led.c
-SRCS+= pcie/ctxt-info-gen3.c pcie/ctxt-info.c
-SRCS+= pcie/drv.c pcie/rx.c pcie/trans-gen2.c pcie/trans.c
-SRCS+= pcie/tx-gen2.c pcie/tx.c
+SRCS+= mvm/link.c mvm/mac-ctxt.c mvm/mac80211.c mvm/mld-key.c
+SRCS+= mvm/mld-mac.c mvm/mld-mac80211.c mvm/mld-sta.c mvm/nvm.c
+SRCS+= mvm/offloading.c mvm/ops.c mvm/phy-ctxt.c mvm/power.c mvm/ptp.c
+SRCS+= mvm/quota.c mvm/rfi.c mvm/rs-fw.c mvm/rs.c mvm/rx.c mvm/rxmq.c
+SRCS+= mvm/scan.c mvm/sf.c mvm/sta.c mvm/tdls.c mvm/time-event.c
+SRCS+= mvm/time-sync.c mvm/tt.c mvm/tx.c mvm/utils.c
+
+SRCS+= mld/agg.c mld/ap.c mld/coex.c
+SRCS+= mld/ftm-initiator.c mld/fw.c mld/iface.c mld/key.c
+#SRCS+= mld/led.c
+SRCS+= mld/link.c mld/low_latency.c mld/mac80211.c mld/mcc.c mld/mld.c
+SRCS+= mld/mlo.c mld/notif.c mld/phy.c mld/power.c mld/ptp.c
+SRCS+= mld/regulatory.c mld/roc.c mld/rx.c mld/scan.c
+SRCS+= mld/session-protect.c mld/sta.c mld/stats.c mld/thermal.c
+SRCS+= mld/time_sync.c mld/tlc.c mld/tx.c
.if defined(WITH_DEBUGFS) && ${WITH_DEBUGFS} > 0
-SRCS+= fw/debugfs.c mvm/debugfs.c mvm/debugfs-vif.c
+SRCS+= fw/debugfs.c
+SRCS+= mvm/debugfs.c mvm/debugfs-vif.c
+SRCS+= mld/debugfs.c
CFLAGS+= -DCONFIG_IWLWIFI_DEBUGFS
CFLAGS+= -DCONFIG_MAC80211_DEBUGFS
.endif
.if defined(WITH_CONFIG_PM) && ${WITH_CONFIG_PM} > 0
SRCS+= mvm/d3.c
+SRCS+= mld/d3.c
CFLAGS+= -DCONFIG_PM
CFLAGS+= -DCONFIG_PM_SLEEP
.endif
@@ -47,19 +65,18 @@ CFLAGS+= -DCONFIG_ACPI
CFLAGS+= -DLINUXKPI_WANT_LINUX_ACPI
.endif
-SRCS+= iwl-devtrace.c
-
# Other
SRCS+= ${LINUXKPI_GENSRCS}
SRCS+= opt_wlan.h opt_inet6.h opt_inet.h opt_acpi.h
CFLAGS+= -DKBUILD_MODNAME='"iwlwifi"'
-CFLAGS+= -DLINUXKPI_VERSION=61100
+CFLAGS+= -DLINUXKPI_VERSION=61700
CFLAGS+= -I${DEVIWLWIFIDIR}
CFLAGS+= ${LINUXKPI_INCLUDES}
CFLAGS+= -DCONFIG_IWLDVM=0
CFLAGS+= -DCONFIG_IWLMVM=1
+CFLAGS+= -DCONFIG_IWLMLD=1
# Helpful after fresh imports.
#CFLAGS+= -ferror-limit=0
@@ -74,4 +91,7 @@ CFLAGS+= -DCONFIG_IWLWIFI_DEVICE_TRACING=1
#CFLAGS+= -DCONFIG_THERMAL=1
#CFLAGS+= -DCONFIG_EFI=1
+# XXX-BZ how to do this just for pcie/drv.c (and gcc vs. clang)?
+CFLAGS += -Wno-override-init -Wno-initializer-overrides
+
.include <bsd.kmod.mk>