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
F109273336: D48605.id149897.diff
Sun, Feb 2, 9:42 PM
F109272797: D48605.id150001.diff
Sun, Feb 2, 9:30 PM
F109272582: D48605.diff
Sun, Feb 2, 9:27 PM
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

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 62127
Build 59011: 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.