Tihs patch adds the periodic scan request structure to cfg80211. Signed-off-by: Luciano Coelho <luciano.coelho@xxxxxxxxx> --- include/net/cfg80211.h | 12 ++++++++++++ net/wireless/core.h | 1 + 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 2a7936d..84518cc 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -719,6 +719,18 @@ struct cfg80211_scan_request { }; /** + * struct cfg80211_periodic_request - periodic scan request description + * + * @wiphy: the wiphy this was for + * @dev: the interface + */ +struct cfg80211_periodic_request { + /* internal */ + struct wiphy *wiphy; + struct net_device *dev; +}; + +/** * enum cfg80211_signal_type - signal type * * @CFG80211_SIGNAL_TYPE_NONE: no signal strength information available diff --git a/net/wireless/core.h b/net/wireless/core.h index 2d1d4c7..bf4e348 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -60,6 +60,7 @@ struct cfg80211_registered_device { struct rb_root bss_tree; u32 bss_generation; struct cfg80211_scan_request *scan_req; /* protected by RTNL */ + struct cfg80211_periodic_request *periodic_req; /* protected by RTNL */ unsigned long suspend_at; struct work_struct scan_done_wk; -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html