Page MenuHomeFreeBSD

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

Authored by adrian on Thu, Jan 23, 2:36 AM.
Referenced Files
F109269476: D48605.id149845.diff
Sun, Feb 2, 8:31 PM
F109266193: D48605.id149748.diff
Sun, Feb 2, 7:33 PM
F109265572: D48605.id150001.diff
Sun, Feb 2, 7:20 PM
F109237426: D48605.id149734.diff
Sun, Feb 2, 11:08 AM
F109235928: D48605.id150147.diff
Sun, Feb 2, 10:40 AM
F109226608: D48605.id150162.diff
Sun, Feb 2, 7:45 AM
F109220493: D48605.id.diff
Sun, Feb 2, 5:50 AM
Unknown Object (File)
Fri, Jan 31, 7:47 PM

Details

Reviewers
None
Group Reviewers
wireless
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 61896
Build 58780: arc lint + arc unit

Event Timeline

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

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
519

This indent looks wrong at least in Phabricator.