Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jul 2026 23:12:24 +0000
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 830f690eb676 - main - iwn: assign sequence number to raw transmit frames
Message-ID:  <6a4841d8.1d16b.629d1d22@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by adrian:

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

commit 830f690eb676ab1223bfc887a8d70691a355a656
Author:     Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2026-07-03 23:06:22 +0000
Commit:     Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2026-07-03 23:06:22 +0000

    iwn: assign sequence number to raw transmit frames
    
    This fixes associating to various APs.
    
    It worked fine to a FreeBSD AP (which is a wholly separate problem
    I'm going to need to dive into) but not to my tplink AX1800 Wifi-6
    router.
    
    PR: kern/296503
    
    Locally tested:
    
    * STA: Intel Centrino Advanced-N 6205 (iwn), Lenovo T420
    * AP: TP-Link AX1800 wifi-6 router
---
 sys/dev/iwn/if_iwn.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c
index a949103f20d4..7fc013704253 100644
--- a/sys/dev/iwn/if_iwn.c
+++ b/sys/dev/iwn/if_iwn.c
@@ -4771,6 +4771,10 @@ iwn_tx_data_raw(struct iwn_softc *sc, struct mbuf *m,
 
 	ac = params->ibp_pri & 3;
 
+	/* Assign sequence number. */
+	if ((m->m_flags & M_AMPDU_MPDU) == 0)
+		ieee80211_output_seqno_assign(ni, -1, m);
+
 	/* Choose a TX rate. */
 	rate = params->ibp_rate0;
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a4841d8.1d16b.629d1d22>