Page MenuHomeFreeBSD

net80211: change ieee80211_ratectl_rate() to not return a rix
Needs ReviewPublic

Authored by adrian on Thu, Jan 23, 2:35 AM.

Details

Reviewers
None
Group Reviewers
wireless
Summary

There are only a few places where the returned rix is used:

  • linuxkpi - logging
  • bwi/bwn - used for finding a fallback rate to choose, which honestly should be returned by the ratectl API
  • iwm - building the rateset to program into firmware

Everyone else uses the dot11rate value in ni->ni_txnode.

This is a precursor for VHT and later rate support; where currently
there aren't rate tables in ieee80211_phy.c for VHT and later
rates.

Although it's likely doable to add tables for VHT, 11ax and MU-OFDMA
(HE) rates are sufficiently larger/different to just not fit in the
current scheme without more refactoring.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61894
Build 58778: arc lint + arc unit