Page MenuHomeFreeBSD

net80211: add ieee80211_node_get_txrate() to populate the "new" transmit struct
ClosedPublic

Authored by adrian on Jan 23 2025, 2:36 AM.
Referenced Files
Unknown Object (File)
Fri, Mar 7, 7:54 AM
Unknown Object (File)
Wed, Mar 5, 8:08 AM
Unknown Object (File)
Tue, Mar 4, 8:26 PM
Unknown Object (File)
Mon, Mar 3, 12:18 PM
Unknown Object (File)
Sat, Mar 1, 6:48 PM
Unknown Object (File)
Sat, Mar 1, 1:44 PM
Unknown Object (File)
Wed, Feb 26, 9:27 PM
Unknown Object (File)
Thu, Feb 13, 5:51 PM

Details

Summary

ieee80211_node_get_txrate() populates the passed-in ieee80211_node_txrate with
the current rate configuration.

This is a no-op - nothing is yet setting VHT rates.

Diff Detail

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

Event Timeline

bz added inline comments.
sys/net80211/ieee80211_node.c
3188

I love KASSERTs or MPASS to check passed in pointers to not be NULL. Just happens once too often net80211 still and ni is prone to it ...

Also no new line needed if there is no declaration.

sys/net80211/ieee80211_node.h
523

This indent looks wrong at least in Phabricator.

sys/net80211/ieee80211_node.h
523

yup, I didn't do two tabs, I'll fix it in a sec.

sys/net80211/ieee80211_node.h
523

Have you?

bz added inline comments.
sys/net80211/ieee80211_node.h
523

Apparently yes, looks good now.

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