diff mbox

[RFC,09/15] cfg80211: add channel support to periodic scan

Message ID 1288612336-2830-10-git-send-email-luciano.coelho@nokia.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Luciano Coelho Nov. 1, 2010, 11:52 a.m. UTC
None
diff mbox

Patch

diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 41e7dc4..218e59f 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -721,13 +721,20 @@  struct cfg80211_scan_request {
 /**
  * struct cfg80211_periodic_request - periodic scan request description
  *
+ * @n_channels: total number of channels to scan
  * @wiphy: the wiphy this was for
  * @dev: the interface
+ * @channels: channels to scan
  */
 struct cfg80211_periodic_request {
+	u32 n_channels;
+
 	/* internal */
 	struct wiphy *wiphy;
 	struct net_device *dev;
+
+	/* keep last */
+	struct ieee80211_channel *channels[0];
 };
 
 /**