Page MenuHomeFreeBSD

net80211: update drivers to allocate sequence numbers in the raw path
ClosedPublic

Authored by adrian on Jul 8 2026, 5:54 AM.
Referenced Files
Unknown Object (File)
Tue, Aug 18, 9:21 PM
Unknown Object (File)
Sat, Aug 15, 12:20 PM
Unknown Object (File)
Sat, Aug 15, 4:53 AM
Unknown Object (File)
Sat, Aug 8, 12:57 PM
Unknown Object (File)
Sat, Aug 8, 11:45 AM
Unknown Object (File)
Mon, Aug 3, 3:16 AM
Unknown Object (File)
Sun, Aug 2, 5:30 AM
Unknown Object (File)
Sun, Aug 2, 4:56 AM
Subscribers

Details

Summary

A bunch of drivers weren't properly converted. I mistakenly
put a call to ieee80211_output_seqno_assign() wherever the
crypto header was added, which isn't exactly correct.
There are plenty of drivers which don't share enough of their
raw and normal transmit path code for that to hold true.

So after some manual review, it looks like I've captured the
places (outside of iwn(4) which I committed earlier) where
I missed ieee80211_output_seqno_assign() calls.

  • For bwi(4) and bwn(4) I refactored it out into a place that is common enough and happens in the same lock hold window, so it's serialised.
  • For the rest, it's just plain missing from the raw path.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable