git: b592f997f4ca - stable/15 - LinuxKPI: 802.11: set undefined link in TX control info

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 29 Jun 2026 06:34:19 UTC
The branch stable/15 has been updated by bz:

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

commit b592f997f4ca8522330937af8940976c942edf4b
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-06-10 11:55:21 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-06-29 03:52:23 +0000

    LinuxKPI: 802.11: set undefined link in TX control info
    
    We are not doing MLO yet so set the undefined link bit in the
    TX info control message in case a driver checks if the TX would be
    link specific.
    
    Sposnored by:   The FreeBSD Foundation
    
    (cherry picked from commit f54e9d1b299d73081b33ad3f60471dbb1b243cb3)
---
 sys/compat/linuxkpi/common/src/linux_80211.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c
index 9dda56c77238..1882c2a12c09 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -5844,6 +5844,10 @@ lkpi_80211_txq_tx_one(struct lkpi_sta *lsta, struct mbuf *m)
 	}
 	info->control.vif = vif;
 
+	/* IMPROVE("MLO"); */
+	info->control.flags |=
+	    u32_encode_bits(IEEE80211_LINK_UNSPECIFIED, IEEE80211_TX_CTRL_MLO_LINK);
+
 	if (tid != IEEE80211_NONQOS_TID) {
 		struct ieee80211_tx_ampdu *tap;