From: Johannes Berg <johannes@sipsolutions.net>
To: Luca Coelho <luca@coelho.fi>
Cc: linux-wireless@vger.kernel.org,
Avraham Stern <avraham.stern@intel.com>,
Luca Coelho <luciano.coelho@intel.com>
Subject: Re: [PATCH v2 1/2] cfg80211: Add multiple scan plans for scheduled scan
Date: Tue, 13 Oct 2015 10:43:21 +0200 [thread overview]
Message-ID: <1444725801.1961.5.camel@sipsolutions.net> (raw)
In-Reply-To: <1444632695-10505-1-git-send-email-luca@coelho.fi>
On Mon, 2015-10-12 at 09:51 +0300, Luca Coelho wrote:
> From: Avraham Stern <avraham.stern@intel.com>
>
> Add the option to configure multiple 'scan plans' for scheduled scan.
> Each 'scan plan' defines the number of scan cycles and the interval
> between scans. The scan plans are executed in the order they were
> configured. The last scan plan will always run infinitely and thus
> defines only the interval between scans.
> The maximum number of scan plans supported by the device and the
> maximum number of iterations in a single scan plan are advertised
> to userspace so it can configure the scan plans appropriately.
>
> When scheduled scan results are received there is no way to know
> which
> scan plan is being currently executed, so there is no way to know
> when
> the next scan iteration will start. This is not a problem, however.
> The scan start timestamp is only used for flushing old scan results,
> and there is no difference between flushing all results received
> until
> the end of the previous iteration or the start of the current one,
> since no results will be received in between.
>
> Signed-off-by: Avraham Stern <avraham.stern@intel.com>
> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
> ---
>
> In v2:
> * take care of all drivers that use the
> cfg80211_sched_scan_request struct;
>
Both applied.
johannes
prev parent reply other threads:[~2015-10-13 8:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 6:51 [PATCH v2 1/2] cfg80211: Add multiple scan plans for scheduled scan Luca Coelho
2015-10-12 6:51 ` [PATCH v2 2/2] mac80211: Do not restart scheduled scan if multiple scan plans are set Luca Coelho
2015-10-13 8:43 ` Johannes Berg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1444725801.1961.5.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=avraham.stern@intel.com \
--cc=linux-wireless@vger.kernel.org \
--cc=luca@coelho.fi \
--cc=luciano.coelho@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).