From patchwork Mon Nov 1 11:52:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luciano Coelho X-Patchwork-Id: 294302 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oA1CQ8Za000479 for ; Mon, 1 Nov 2010 12:26:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757461Ab0KAM0F (ORCPT ); Mon, 1 Nov 2010 08:26:05 -0400 Received: from mgw-da01.nokia.com ([147.243.128.24]:26084 "EHLO mgw-da01.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755815Ab0KAMZ7 (ORCPT ); Mon, 1 Nov 2010 08:25:59 -0400 Received: from localhost.localdomain (chilepepper.research.nokia.com [172.21.50.167]) by mgw-da01.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id oA1BqGcG020116 for ; Mon, 1 Nov 2010 13:52:20 +0200 From: Luciano Coelho To: linux-wireless@vger.kernel.org Subject: [RFC 04/15] cfg80211: add periodic scan start and stop ops Date: Mon, 1 Nov 2010 13:52:05 +0200 Message-Id: <1288612336-2830-5-git-send-email-luciano.coelho@nokia.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1288612336-2830-1-git-send-email-luciano.coelho@nokia.com> References: <1288612336-2830-1-git-send-email-luciano.coelho@nokia.com> X-Nokia-AV: Clean Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 01 Nov 2010 12:26:08 +0000 (UTC) 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); }; /*