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)
Nov 7 2024, 3:02 PM
Unknown Object (File)
Nov 5 2024, 5:23 AM
Unknown Object (File)
Nov 2 2024, 8:55 AM
Unknown Object (File)
Sep 23 2024, 6:26 AM
Unknown Object (File)
Sep 23 2024, 3:36 AM
Unknown Object (File)
Sep 22 2024, 7:05 PM
Unknown Object (File)
Sep 20 2024, 12:20 PM
Unknown Object (File)
Sep 12 2024, 2:14 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.