Page MenuHomeFreeBSD

[net80211] check IBSS SSID before adding nodes discovered by beacons/probe requests.
ClosedPublic

Authored by adrian on Sep 20 2016, 1:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 22 2023, 9:55 AM
Unknown Object (File)
Sep 7 2023, 4:03 AM
Unknown Object (File)
Sep 7 2023, 4:02 AM
Unknown Object (File)
Sep 7 2023, 4:02 AM
Unknown Object (File)
Sep 1 2023, 7:36 PM
Unknown Object (File)
Jun 27 2023, 8:19 PM
Unknown Object (File)
Jun 27 2023, 8:18 PM
Unknown Object (File)
Jun 27 2023, 8:16 PM
Subscribers

Details

Summary

IBSS merging requires "all BSSID" beacons are received. However, this populates
a lot of nodes in the node table for peers that are not us.

This code adds a simple (!) SSID string check against the scan parameters SSID.
If it's found to match, the node is allowed.

This needs a /lot/ more testing before I'm comfortable landing it in -HEAD.

Test Plan
  • AR9380 in IBSS mode on a very busy office IBSS network. SSID mismatches don't populate neighbor entries; SSID matches do.

Diff Detail

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

Event Timeline

adrian retitled this revision from to [net80211] check IBSS SSID before adding nodes discovered by beacons/probe requests..
adrian updated this object.
adrian edited the test plan for this revision. (Show Details)

(The reason for the gotos is I'm going to add debugging there before they return.)

sys/net80211/ieee80211_node.c
607 ↗(On Diff #20512)

'!!' (or '== 0') is not necessary; one of them may be removed.

avos edited edge metadata.

Works fine when 'hidessid' is not set (however, 'hidessid' bug is not related to this change).

This revision is now accepted and ready to land.Sep 20 2016, 11:08 AM
This revision was automatically updated to reflect the committed changes.