aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2026-02-04 22:25:50 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2026-02-07 00:57:52 +0000
commitc529e1a8f8edb575de6b109981c4ca7ffdd3b81c (patch)
treeb520a5ab1079d9a4fa0432bebb6380d778fc1636
parent3afe9e12fb331dc698ac62f3b918d82d768a2792 (diff)
LinuxKPI: 802.11: set extra tx info flag for EAPOL for mt76
mt76 requires IEEE80211_TX_CTL_USE_MINRATE to be set for EAPOL, so add it. Sponsored by: The FreeBSD Foundation MFC after: 3 days
-rw-r--r--sys/compat/linuxkpi/common/src/linux_80211.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c
index 4ce0a2094adb..2a56d19adbea 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -5697,8 +5697,10 @@ lkpi_80211_txq_tx_one(struct lkpi_sta *lsta, struct mbuf *m)
c = ic->ic_curchan;
info->band = lkpi_net80211_chan_to_nl80211_band(c);
info->hw_queue = vif->hw_queue[ac];
- if (m->m_flags & M_EAPOL)
+ if ((m->m_flags & M_EAPOL) != 0) {
info->control.flags |= IEEE80211_TX_CTRL_PORT_CTRL_PROTO;
+ info->flags |= IEEE80211_TX_CTL_USE_MINRATE; /* mt76 */
+ }
info->control.vif = vif;
/* XXX-BZ info->control.rates */
#ifdef __notyet__