The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=6e2b55242d593fb1d7a298cb70b6fdeaa57a50b5
commit 6e2b55242d593fb1d7a298cb70b6fdeaa57a50b5 Author: Bjoern A. Zeeb <[email protected]> AuthorDate: 2025-12-28 17:06:23 +0000 Commit: Bjoern A. Zeeb <[email protected]> CommitDate: 2026-01-16 08:48:48 +0000 LinuxKPI: 802.11: assign sequence numbers to frames While all native drivers were converted to call ieee80211_output_seqno_assign() after changes to net80211 if needed, LinuxKPI 802.11 was not fixed. Add the missing call. Given we are currently only supporting STA mode, we can provide sequence numbers for all frames (mgmt/beacon would be a problem in AP mode). This greatly helps LinuxKPI based drivers other than iwlwifi(4). If drivers do their own sequence numbers, they will overwrite what we pre-set unless we would pass a txflag not to do so (beware the consequences). Sponsored by: The FreeBSD Foundation Fixes: eabcd1773fa3, 785edcc2af5a (cherry picked from commit 9cf85457b13bc7aa125388d63c82acf2b21e9e9e) --- sys/compat/linuxkpi/common/src/linux_80211.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c index 28c9c62309fe..45c46a4d34f7 100644 --- a/sys/compat/linuxkpi/common/src/linux_80211.c +++ b/sys/compat/linuxkpi/common/src/linux_80211.c @@ -5573,6 +5573,8 @@ lkpi_80211_txq_tx_one(struct lkpi_sta *lsta, struct mbuf *m) #endif ni = lsta->ni; + ieee80211_output_seqno_assign(ni, -1, m); + k = NULL; keyix = IEEE80211_KEYIX_NONE; wh = mtod(m, struct ieee80211_frame *);
