• Johannes Berg's avatar
    cfg80211: track hidden SSID networks properly · 776b3580
    Johannes Berg authored
    Currently, cfg80211 will copy beacon IEs from a previously
    received hidden SSID beacon to a probe response entry, if
    that entry is created after the beacon entry. However, if
    it is the other way around, or if the beacon is updated,
    such changes aren't propagated.
    
    Fix this by tracking the relation between the probe
    response and beacon BSS structs in this case.
    
    In case drivers have private data stored in a BSS struct
    and need access to such data from a beacon entry, cfg80211
    now provides the hidden_beacon_bss pointer from the probe
    response entry to the beacon entry.
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    776b3580
core.h 15.3 KB