diff mbox

[RFC,04/15] cfg80211: add periodic scan start and stop ops

Message ID 1288612336-2830-5-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 84518cc..ac7b934 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1158,6 +1158,8 @@  struct cfg80211_pmksa {
  * @set_power_mgmt: Configure WLAN power management. A timeout value of -1
  *	allows the driver to adjust the dynamic ps timeout value.
  * @set_cqm_rssi_config: Configure connection quality monitor RSSI threshold.
+ * @periodic_start: Tell the driver to start a periodic scan.
+ * @periodic_stop: Tell the driver to stop an ongoing periodic scan.
  *
  * @mgmt_frame_register: Notify driver that a management frame type was
  *	registered. Note that this callback may not sleep, and cannot run
@@ -1316,6 +1318,12 @@  struct cfg80211_ops {
 	void	(*mgmt_frame_register)(struct wiphy *wiphy,
 				       struct net_device *dev,
 				       u16 frame_type, bool reg);
+	int	(*periodic_start)(struct wiphy *wiphy,
+				  struct net_device *dev,
+				  struct cfg80211_periodic_request *request);
+	int	(*periodic_stop)(struct wiphy *wiphy,
+				 struct net_device *dev,
+				 struct cfg80211_periodic_request *request);
 };
 
 /*