git: f54e9d1b299d - main - LinuxKPI: 802.11: set undefined link in TX control info

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sun, 14 Jun 2026 22:32:25 UTC
The branch main has been updated by bz:

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

commit f54e9d1b299d73081b33ad3f60471dbb1b243cb3
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-14 22:31:37 +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
    MFC after:      3 days
---
 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 280c8dbe176c..b9ac7056f868 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -5850,6 +5850,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;