Page MenuHomeFreeBSD

net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c
ClosedPublic

Authored by adrian on Sun, May 18, 4:45 AM.
Referenced Files
F118084967: D50406.diff
Sun, May 25, 6:35 PM
Unknown Object (File)
Fri, May 23, 12:58 PM
Unknown Object (File)
Wed, May 21, 12:49 PM

Details

Summary
  • create ieee80211_vap_get_broadcast_address() to fetch the broadcast MAC address for the given VAP
  • refactor references to ifp->if_broadcastaddr -> ieee80211_vap_get_broadcast_address()

Diff Detail

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

Event Timeline

bz added a subscriber: bz.

Scrolling through apart from the local variable this looks good.

sys/net80211/ieee80211_freebsd.c
1328

Could pass vap->if_ifp here and save the local variable.

This revision is now accepted and ready to land.Sun, May 18, 8:16 PM
This revision now requires review to proceed.Mon, May 19, 4:11 AM
bz requested changes to this revision.Sat, May 24, 11:27 PM

Just style.

sys/net80211/ieee80211_freebsd.c
1326

return (...)

sys/net80211/ieee80211_hostap.c
563

Can't say in Phabricator if indentation is right..

sys/net80211/ieee80211_wds.c
491

again indent unclear in Phabricator

This revision now requires changes to proceed.Sat, May 24, 11:27 PM
This revision is now accepted and ready to land.Sun, May 25, 1:38 PM