Page MenuHomeFreeBSD

net80211: add VHT MCS in AMRR rate control
Needs ReviewPublic

Authored by adrian on Jan 23 2025, 2:43 AM.
Referenced Files
Unknown Object (File)
Fri, Feb 14, 4:44 PM
Unknown Object (File)
Thu, Feb 13, 5:24 PM
Unknown Object (File)
Wed, Feb 12, 11:58 PM
Unknown Object (File)
Wed, Feb 12, 7:38 PM
Unknown Object (File)
Tue, Feb 11, 2:10 PM
Unknown Object (File)
Mon, Feb 10, 6:27 PM
Unknown Object (File)
Sun, Feb 9, 9:07 PM
Unknown Object (File)
Sat, Feb 8, 11:49 AM

Details

Reviewers
thj
bz
Group Reviewers
wireless
Summary

This is a simple implementation, similar to HT, to generate
VHT MCS rates for testing.

I've verified it seems to do the right thing through
MCS 0..9 and NSS 1..2. It's not very optimal - same issues as
with 11n - but it at least now fully tests the 11ac TX path in
rtwn and the tx rate refactoring.

Diff Detail

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

Event Timeline

thj requested changes to this revision.Tue, Jan 28, 9:48 AM
thj added a subscriber: thj.
thj added inline comments.
sys/net80211/ieee80211_amrr.c
257–258
258–261
535–536
This revision now requires changes to proceed.Tue, Jan 28, 9:48 AM
sys/net80211/ieee80211_amrr.c
258–261

OOOOOPPPPPSSSSSS

oops fix typo, thanks tom!

bz requested changes to this revision.Sat, Feb 22, 10:41 AM
bz added a subscriber: bz.
bz added inline comments.
sys/net80211/ieee80211_amrr.c
152

This is done in the caller already now?

280

Kind-of want to amend the comment with: (whether supported or not -- ieee80211_vht_node_check_tx_valid_mcs() will catch the unsupported cases)

357

Can you fold these into two lines not four?

398

Reset counters.

559

No { } needed.

564

What is "it"?

588–589

This line kind-of wants to move below the HT block as there's no need for it before the if (is_enough(..))

589

return ()

This revision now requires changes to proceed.Sat, Feb 22, 10:41 AM

updated, thanks!