]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/wireless/core.h
cfg80211: age scan results on resume
[net-next-2.6.git] / net / wireless / core.h
index e29ad4cd464f3587fca6f06ff6892f1a6a04fc6f..5d0c682d737a499f6fff260667feba127259a07b 100644 (file)
@@ -49,6 +49,7 @@ struct cfg80211_registered_device {
        struct rb_root bss_tree;
        u32 bss_generation;
        struct cfg80211_scan_request *scan_req; /* protected by RTNL */
+       unsigned long suspend_at;
 
        /* must be last because of the way we do wiphy_priv(),
         * and it should at least be aligned to NETDEV_ALIGN */
@@ -113,5 +114,7 @@ void ieee80211_set_bitrate_flags(struct wiphy *wiphy);
 void wiphy_update_regulatory(struct wiphy *wiphy, enum reg_set_by setby);
 
 void cfg80211_bss_expire(struct cfg80211_registered_device *dev);
+void cfg80211_bss_age(struct cfg80211_registered_device *dev,
+                      unsigned long age_secs);
 
 #endif /* __NET_WIRELESS_CORE_H */