Skip to content
Commit ad2b26ab authored by Johannes Berg's avatar Johannes Berg
Browse files

cfg80211: allow drivers to support random MAC addresses for scan



Add the necessary feature flags and a scan flag to support using
random MAC addresses for scan while unassociated.

The configuration for this supports an arbitrary MAC address
value and mask, so that any kind of configuration (e.g. fixed
OUI or full 46-bit random) can be requested. Full 46-bit random
is the default when no other configuration is passed.

Also add a small helper function to use the addr/mask correctly.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent ff5db439
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment