The branch main has been updated by bz:

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

commit 9cf85457b13bc7aa125388d63c82acf2b21e9e9e
Author:     Bjoern A. Zeeb <[email protected]>
AuthorDate: 2025-12-28 17:06:23 +0000
Commit:     Bjoern A. Zeeb <[email protected]>
CommitDate: 2025-12-29 02:50:42 +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
    MFC after:      3 days
    Fixes:          eabcd1773fa3, 785edcc2af5a
---
 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 *);

Reply via email to