Page MenuHomeFreeBSD

rtwn: move to using ieee80211_node_get_txrate()
AcceptedPublic

Authored by adrian on Jan 23 2025, 2:37 AM.
Referenced Files
F110968256: D48606.id151041.diff
Tue, Feb 25, 2:09 PM
Unknown Object (File)
Wed, Feb 12, 6:37 PM
Unknown Object (File)
Wed, Feb 12, 6:04 PM
Unknown Object (File)
Tue, Feb 11, 2:59 PM
Unknown Object (File)
Mon, Feb 10, 2:46 AM
Unknown Object (File)
Sun, Feb 9, 12:59 AM
Unknown Object (File)
Sun, Feb 9, 12:34 AM
Unknown Object (File)
Sun, Feb 9, 12:27 AM
Subscribers

Details

Reviewers
bz
Group Reviewers
wireless
Summary

Migrate the transmit path to use ieee80211_node_get_txrate(), and handle
VHT rates.

Nothing is currently setting VHT rates, but the driver should now
be ready.

Diff Detail

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

Event Timeline

thj added inline comments.
sys/dev/rtwn/if_rtwn_tx.c
172–173

We should remove the (void) cast while we are here

bz added inline comments.
sys/dev/rtwn/if_rtwn_tx.c
171

I think you want to leave the 0 out here or you'll only initialize the first element of the struct if I am not mistaken.

adrian added inline comments.
sys/dev/rtwn/if_rtwn_tx.c
171

according to brooks/jhb, { 0 } will zero-init all of the fields (but not the padding, which is fine here); {} is C++ / C23-ism and we're only recently at C17.

This revision is now accepted and ready to land.Sat, Feb 15, 12:34 PM