aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2024-12-15 22:58:13 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2024-12-31 19:13:26 +0000
commit06b7335701fac54d752445e7d2b2c15c301f90dc (patch)
tree662af181b61cc9359d7d57657c2754d81100d231 /tests
parent307f9c351588fcfe5a170c61754a5b1394b7dc0a (diff)
rtwn: add rtwn_ctl_vhtrate(), some cleanups
* remove the hard-coded ridx values in rate2ridx(), use the RIDX defines for CCK/OFDM rates * Add a placeholder rtwn_ctl_vhtrate() which returns the dot11rate control rate to use for the given VHT rate index. Since net80211 currently doesn't have any VHT PHY tables, there's no mapping for us to leverage so just return OFDM 12M for now. * Use the new macro to convert rate index to MCS rate * Add a printf() in rate2ridx if it's passed a HT/VHT rate. Differential Revision: https://reviews.freebsd.org/D48098 Reviewed by: bz
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions