diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2026-07-03 23:06:22 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2026-07-03 23:06:22 +0000 |
| commit | 830f690eb676ab1223bfc887a8d70691a355a656 (patch) | |
| tree | 97b4b5bf9ca0b2df2caf68a99ca2258d08de35a4 | |
| parent | 0dbd497fff17416728c9c98f27a0612c89c7143c (diff) | |
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
| -rw-r--r-- | sys/dev/iwn/if_iwn.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |
