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, Feb 8, 1:14 PM
Unknown Object (File)
Sat, Feb 7, 8:29 PM
Unknown Object (File)
Fri, Feb 6, 6:57 PM
Unknown Object (File)
Sat, Jan 31, 12:43 PM
Unknown Object (File)
Jan 17 2026, 12:27 AM
Unknown Object (File)
Dec 16 2025, 9:48 AM
Unknown Object (File)
Dec 16 2025, 9:48 AM
Unknown Object (File)
Dec 4 2025, 1:49 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