Page MenuHomeFreeBSD

rtwn: update rtwn_get_rates() to separate out the CCK/OFDM and HT rates
ClosedPublic

Authored by adrian on Dec 8 2024, 8:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 26, 8:49 AM
Unknown Object (File)
Thu, Dec 26, 3:08 AM
Unknown Object (File)
Wed, Dec 25, 11:08 AM
Unknown Object (File)
Wed, Dec 25, 8:10 AM
Unknown Object (File)
Wed, Dec 25, 4:04 AM
Unknown Object (File)
Wed, Dec 25, 12:26 AM
Unknown Object (File)
Sun, Dec 15, 9:06 AM
Subscribers

Details

Summary

The 32 bit bitmap is enough for CCK/OFDM rates and MCS0..15, but
won't work for > MCS15, nor VHT rates.

So, break out the legacy rates and HT rates.

  • break the rates and htrates out
  • document which calls are looking up basic rates and which care about the rates themselves
  • ensure the rate bitmap passed into the rate control firmware call (which isn't enabled yet!) is capped at 28 bits so they don't set the mode field.

Diff Detail

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

Event Timeline

adrian requested review of this revision.Dec 8 2024, 8:25 PM
This revision is now accepted and ready to land.Thu, Dec 12, 6:12 PM