From d9836fb4b9380e2ed1c38455fb31a3832b452671 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Thu, 24 Feb 2022 21:34:13 +0000 Subject: iwlwifi: update from iwlwifi-next Import new code from iwlwifi-next at cb0a1fb7fd86b0062692b5056ca8552906509512 (matching tag: iwlwifi-next-for-kalle-2022-02-18). Also add files not previously imported because we are not yet compiling them to ease updating and having them when needed. This adds MEI (Management Engine) support upstream which we cannot import (currently GPL-only) so we have stub functions for the missing bits. This also reduces the diff to upstream. Changes submitted to avoid problems with const and with void * arithmetics were merged. In the module build Makefile disable CONFIG_IWLWIFI_OPMODE_MODULAR as we are building iwlwifi as a single module. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/modules/iwlwifi/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/modules/iwlwifi') diff --git a/sys/modules/iwlwifi/Makefile b/sys/modules/iwlwifi/Makefile index cbf03bf2ee48..ae4b3a6bc698 100644 --- a/sys/modules/iwlwifi/Makefile +++ b/sys/modules/iwlwifi/Makefile @@ -46,8 +46,9 @@ CFLAGS+= -DCONFIG_IWLMVM=1 #CFLAGS+= -DCONFIG_IPV6=1 #CFLAGS+= -DCONFIG_IWLWIFI_BCAST_FILTERING=1 CFLAGS+= -DCONFIG_IWLWIFI_DEBUG=1 +#CFLAGS+= -DCONFIG_IWLWIFI_DEBUGFS=1 #CFLAGS+= -DCONFIG_IWLWIFI_LEDS=1 -CFLAGS+= -DCONFIG_IWLWIFI_OPMODE_MODULAR=1 +#CFLAGS+= -DCONFIG_IWLWIFI_OPMODE_MODULAR=1 CFLAGS+= -DCONFIG_IWLWIFI_DEVICE_TRACING=1 #CFLAGS+= -DCONFIG_LOCKDEP=1 #CFLAGS+= -DCONFIG_MAC80211_DEBUGFS=1 -- cgit v1.2.3