From: Luciano Coelho <luciano.coelho@nokia.com>
To: ext Johannes Berg <johannes@sipsolutions.net>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [RFC 06/15] mac80211: add support for HW periodic scan
Date: Fri, 05 Nov 2010 21:59:37 +0200 [thread overview]
Message-ID: <1288987177.25600.15.camel@powerslave> (raw)
In-Reply-To: <1288885537.3659.4.camel@jlt3.sipsolutions.net>
On Thu, 2010-11-04 at 16:45 +0100, ext Johannes Berg wrote:
> On Mon, 2010-11-01 at 13:52 +0200, Luciano Coelho wrote:
>
> > + .periodic_start= ieee80211_periodic_start,
> > + .periodic_stop= ieee80211_periodic_stop,
>
> whitespace ... also, _scan really ...
Yeah, you're totally right. I was thinking more about this and Oz said
he discussed this with you a bit.
I think the idea of using background is good. Something like bg_scan or
something. The original idea was to call it background scan, but since
wl1271 doesn't support this while connected, I thought calling it
periodic scan would be slightly clearer about that. Background scan
sounds like you do it while connected (to me at least).
We should be able to do real background scans, connected or not. If
wl1271 doesn't support it while connected, too bad, it should return
-EBUSY. We shouldn't restrict other drivers from doing it while
connected just because wl1271 doesn't support it.
Actually I should try (again) to have TI change the firmware so that it
is possible while connected too.
> > + trace_drv_periodic_stop(local, sdata);
> > + ret = local->ops->periodic_stop(&local->hw, &sdata->vif);
> > + trace_drv_return_int(local, ret);
> > + return ret;
>
> why does this have a return value?
Good point. No need for it.
> > @@ -812,6 +812,7 @@ struct ieee80211_local {
> > struct cfg80211_ssid scan_ssid;
> > struct cfg80211_scan_request *int_scan_req;
> > struct cfg80211_scan_request *scan_req, *hw_scan_req;
> > + struct cfg80211_periodic_request *periodic_req;
>
> what do you need to store this for?
Ahmmm... Nothing? :) This seems unnecessary indeed and I'll recheck
this.
--
Cheers,
Luca.
next prev parent reply other threads:[~2010-11-05 19:46 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-01 11:52 [RFC 00/15] Implementation of periodic scan Luciano Coelho
2010-11-01 11:52 ` [RFC 01/15] nl80211: add periodic scan commands Luciano Coelho
2010-11-04 15:42 ` Johannes Berg
2010-11-05 14:14 ` Luciano Coelho
2010-11-01 11:52 ` [RFC 02/15] cfg80211: add periodic scan request structure Luciano Coelho
2010-11-01 11:52 ` [RFC 03/15] nl80211: alloc and free the periodic_req data Luciano Coelho
2010-11-04 15:43 ` Johannes Berg
2010-11-05 14:14 ` Luciano Coelho
2010-11-01 11:52 ` [RFC 04/15] cfg80211: add periodic scan start and stop ops Luciano Coelho
2010-11-01 11:52 ` [RFC 05/15] nl80211: call periodic_start and periodic_stop Luciano Coelho
2010-11-04 15:44 ` Johannes Berg
2010-11-05 19:44 ` Luciano Coelho
2010-11-05 19:50 ` Johannes Berg
2010-11-01 11:52 ` [RFC 06/15] mac80211: add support for HW periodic scan Luciano Coelho
2010-11-04 15:45 ` Johannes Berg
2010-11-05 19:59 ` Luciano Coelho [this message]
2010-11-05 19:55 ` Johannes Berg
2010-11-11 15:33 ` Gery Kahn
2010-11-11 15:59 ` Luciano Coelho
2010-11-11 17:50 ` Johannes Berg
2010-11-01 11:52 ` [RFC 07/15] cfg80211: add periodic scan results handler Luciano Coelho
2010-11-04 15:47 ` Johannes Berg
2010-11-05 20:00 ` Luciano Coelho
2010-11-01 11:52 ` [RFC 08/15] nl80211: report periodic scan results Luciano Coelho
2010-11-01 11:52 ` [RFC 09/15] cfg80211: add channel support to periodic scan Luciano Coelho
2010-11-01 11:52 ` [RFC 10/15] nl80211: add channel support to the " Luciano Coelho
2010-11-01 11:52 ` [RFC 11/15] mac80211: pass cfg80211 periodic scan request structure down to the driver Luciano Coelho
2010-11-01 11:52 ` [RFC 12/15] cfg80211: add ssid support to periodic scan Luciano Coelho
2010-11-01 11:52 ` [RFC 13/15] nl80211: add ssid filtering support to the " Luciano Coelho
2010-11-01 11:52 ` [RFC 14/15] cfg80211: add ie support for periodic scans Luciano Coelho
2010-11-04 15:49 ` Johannes Berg
2010-11-05 20:01 ` Luciano Coelho
2010-11-01 11:52 ` [RFC 15/15] mac80211: create and pass the ies for each band in " Luciano Coelho
2010-11-04 15:51 ` [RFC 00/15] Implementation of periodic scan Johannes Berg
2010-11-04 21:46 ` Luciano Coelho
2010-11-11 15:31 ` Gery Kahn
2010-11-11 15:57 ` Luciano Coelho
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=1288987177.25600.15.camel@powerslave \
--to=luciano.coelho@nokia.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
/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).