• J
    cfg80211: allow drivers to support random MAC addresses for scan · ad2b26ab
    Johannes Berg 提交于
    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: NJohannes Berg <johannes.berg@intel.com>
    ad2b26ab
cfg80211.h 178.2 KB