Page MenuHomeFreeBSD

net80211: add support for sequence number offloading
ClosedPublic

Authored by adrian on Jun 5 2025, 12:19 AM.
Referenced Files
Unknown Object (File)
Sun, Sep 6, 4:15 PM
Unknown Object (File)
Fri, Sep 4, 3:05 AM
Unknown Object (File)
Wed, Sep 2, 4:02 PM
Unknown Object (File)
Wed, Sep 2, 11:38 AM
Unknown Object (File)
Wed, Sep 2, 10:12 AM
Unknown Object (File)
Sun, Aug 23, 7:10 AM
Unknown Object (File)
Sat, Aug 15, 4:59 AM
Unknown Object (File)
Wed, Aug 12, 2:51 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.