git: c529e1a8f8ed - main - LinuxKPI: 802.11: set extra tx info flag for EAPOL for mt76
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Feb 2026 00:58:27 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=c529e1a8f8edb575de6b109981c4ca7ffdd3b81c
commit c529e1a8f8edb575de6b109981c4ca7ffdd3b81c
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-02-04 22:25:50 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-02-07 00:57:52 +0000
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
---
sys/compat/linuxkpi/common/src/linux_80211.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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__