Page MenuHomeFreeBSD

net80211: add one-vap version of ieee80211_iterate_nodes()
ClosedPublic

Authored by avos on Sep 21 2016, 10:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 24 2024, 11:25 PM
Unknown Object (File)
Oct 3 2024, 10:37 AM
Unknown Object (File)
Oct 2 2024, 10:03 PM
Unknown Object (File)
Sep 30 2024, 2:35 PM
Unknown Object (File)
Sep 19 2024, 6:06 AM
Unknown Object (File)
Sep 18 2024, 6:43 AM
Unknown Object (File)
Sep 18 2024, 1:56 AM
Unknown Object (File)
Sep 8 2024, 9:00 PM
Subscribers

Details

Summary
  • Add a counter into 'struct ieee80211_node_table' to save current number of allocated nodes.
    • This change allows to remove possible memory overheads / array overflow failures in ieee80211_iterate_nodes().
  • Add ieee80211_iterate_nodes_vap() function; unlike non-vap version, it iterates on nodes for specified vap only.

Also:

  • Remove ieee80211_iterate_nt(); it is not used by drivers / net80211 outside ieee80211_iterate_nodes() function + cannot be separated due to structural changes in code.
  • Since this change increases size of ieee80211_node_table structure, this change will break KBI.
Test Plan

Tested with wpi(4) in STA mode.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avos retitled this revision from to net80211: add one-vap version of ieee80211_iterate_nodes().
avos updated this object.
avos edited the test plan for this revision. (Show Details)
avos added a reviewer: adrian.
avos set the repository for this revision to rS FreeBSD src repository - subversion.
adrian edited edge metadata.
This revision is now accepted and ready to land.Sep 23 2016, 5:15 AM
This revision was automatically updated to reflect the committed changes.