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
F153737691: D47896.id147671.diff
Thu, Apr 23, 8:09 AM
Unknown Object (File)
Sun, Apr 19, 7:43 PM
Unknown Object (File)
Sun, Apr 19, 8:59 AM
Unknown Object (File)
Wed, Apr 15, 10:44 AM
Unknown Object (File)
Tue, Apr 14, 2:41 AM
Unknown Object (File)
Mon, Apr 13, 6:47 PM
Unknown Object (File)
Fri, Apr 10, 11:29 AM
Unknown Object (File)
Thu, Apr 2, 11:09 PM
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