Page MenuHomeFreeBSD

rtwn: expand the ridx numbers to include VHT; add accessor macros
ClosedPublic

Authored by adrian on Dec 4 2024, 5:00 AM.
Referenced Files
Unknown Object (File)
Sun, Oct 12, 7:36 AM
Unknown Object (File)
Mon, Sep 22, 4:45 AM
Unknown Object (File)
Sep 3 2025, 3:25 PM
Unknown Object (File)
Sep 2 2025, 8:39 PM
Unknown Object (File)
Aug 29 2025, 6:03 PM
Unknown Object (File)
Aug 22 2025, 7:31 AM
Unknown Object (File)
Aug 18 2025, 4:03 PM
Unknown Object (File)
Aug 15 2025, 12:34 AM
Subscribers

Details

Summary
  • expand the ridx field all the way through 4x4 11n (MCS0..MCS31)
  • and then expand it through VHT 4x4 (MCS0..9 for each stream)
  • add accessor macros to check if the rate is HT, VHT
  • use accessor macros to check if the rate is HT rather than comparing it against OFDM54 or RIDX_HT_MCS(0); the values aobve HT MCS will be VHT, and we don't want to trigger on those!
  • add a couple of appropriate TODO VHT bits in the TX path

Locally tested:

  • RTL8192CU, STA mode
  • RTL8188EU, STA mode
  • RTL8821AU, STA mode
  • RTL8192EU, STA mode

Diff Detail

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