git: 0cac46229c1b - stable/15 - iwlwifi: mld: add LINUXKPI_PARAM_PREFIX

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 09 Mar 2026 11:03:54 UTC
The branch stable/15 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=0cac46229c1b0480b72ecbb52e3b533891d22939

commit 0cac46229c1b0480b72ecbb52e3b533891d22939
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-03-05 19:42:02 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-03-09 11:03:12 +0000

    iwlwifi: mld: add LINUXKPI_PARAM_PREFIX
    
    Add a LINUXKPI_PARAM_PREFIX to mld to properly export the
    power_scheme module_param (sysctl).  This is especially needed given
    mvm has the same parameter and we need to avoid a clash.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 7db8503bda2724ae145475c3260d581bb98613ad)
---
 sys/contrib/dev/iwlwifi/mld/mld.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/contrib/dev/iwlwifi/mld/mld.c b/sys/contrib/dev/iwlwifi/mld/mld.c
index 3df9cabd34de..c2cabe855c01 100644
--- a/sys/contrib/dev/iwlwifi/mld/mld.c
+++ b/sys/contrib/dev/iwlwifi/mld/mld.c
@@ -2,6 +2,10 @@
 /*
  * Copyright (C) 2024-2025 Intel Corporation
  */
+#if defined(__FreeBSD__)
+#define	LINUXKPI_PARAM_PREFIX	iwlwifi_mld_
+#endif
+
 #include <linux/rtnetlink.h>
 #include <net/mac80211.h>