Add periodic_start and periodic_stop operations to the wireless configuration API. Signed-off-by: Luciano Coelho <luciano.coelho@xxxxxxxxx> --- include/net/cfg80211.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) 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); }; /* -- 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