HomeFreeBSD

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

Description

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

  • 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

Differential Revision: https://reviews.freebsd.org/D47896

Details

Provenance
adrianAuthored on Dec 4 2024, 4:45 AM
Differential Revision
D47896: rtwn: expand the ridx numbers to include VHT; add accessor macros
Parents
rG53adc0b898a4: amdiommu: correctly initialize iommu.unit
Branches
Unknown
Tags
Unknown