Page MenuHomeFreeBSD

net80211: add support for sequence number offloading
ClosedPublic

Authored by adrian on Jun 5 2025, 12:19 AM.
Referenced Files
F154932157: D50692.diff
Thu, Apr 30, 3:40 AM
Unknown Object (File)
Thu, Apr 30, 1:14 AM
Unknown Object (File)
Thu, Apr 30, 1:14 AM
Unknown Object (File)
Mon, Apr 27, 12:48 PM
Unknown Object (File)
Mon, Apr 20, 12:59 AM
Unknown Object (File)
Mon, Apr 13, 10:44 PM
Unknown Object (File)
Sat, Apr 11, 2:29 AM
Unknown Object (File)
Sat, Apr 11, 1:53 AM

Details

Summary

Add support for sequence number offloading -

  • Check IEEE80211_CONF_SEQNO_OFFLOAD() before doing TX lock manipulation;
  • Don't call ieee80211_output_seqno_assign() if IEEE80211_CONF_SEQNO_OFFLOAD() is true.

TODO:

  • this doesn't yet do beacon sequence number allocation offloading; I'll tackle that later.

Diff Detail

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

Event Timeline

Note: my hope is to eventually delete the TX lock entirely; this sets the ground work to first experiment and test various drivers in this stack.

bz added a subscriber: bz.

Ignoring the open question on the TODO this seems fine.

sys/net80211/ieee80211_output.c
3863

When is this supposed to be done? Before or after this lands?

This revision is now accepted and ready to land.Aug 19 2025, 7:21 PM
sys/net80211/ieee80211_output.c
3863

after, because I am not yet sure if I have to split the two into different flags or not.
Doing this work doesn't hurt anything, the beacon numbers will keep incrementing.