From: "John W. Linville" <linville@tuxdriver.com>
To: "Luis R. Rodriguez" <lrodriguez@atheros.com>
Cc: linux-wireless@vger.kernel.org, amod.bodas@atheros.com
Subject: Re: [RFC 2/3] mac80211: allow drivers to specify sw scan wait constraints
Date: Mon, 30 Aug 2010 10:17:06 -0400 [thread overview]
Message-ID: <20100830141705.GC30864@tuxdriver.com> (raw)
In-Reply-To: <1282979590-31113-3-git-send-email-lrodriguez@atheros.com>
On Sat, Aug 28, 2010 at 03:13:09AM -0400, Luis R. Rodriguez wrote:
> diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h
> index 14123dc..5025950 100644
> --- a/net/mac80211/driver-ops.h
> +++ b/net/mac80211/driver-ops.h
> @@ -187,6 +187,22 @@ static inline void drv_sw_scan_start(struct ieee80211_local *local)
> trace_drv_return_void(local);
> }
>
> +static inline int drv_sw_scan_wait_constraints(struct ieee80211_local *local)
> +{
> + bool wait_constraints = false;
> +
> + might_sleep();
> +
> + trace_drv_sw_scan_wait_constraints(local);
> + if (local->ops->sw_scan_start)
Are we checking the right member here?
> + wait_constraints =
> + local->ops->sw_scan_wait_constraints(&local->hw);
> + trace_drv_return_int(local, wait_constraints);
> +
> + return wait_constraints;
> +}
> +
> +
> static inline void drv_sw_scan_complete(struct ieee80211_local *local)
> {
> might_sleep();
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
next prev parent reply other threads:[~2010-08-30 14:29 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-28 7:13 [RFC 0/3] mac80211: new API for handling broadcast / multicast on sw scan Luis R. Rodriguez
2010-08-28 7:13 ` [RFC 1/3] ath9k: fix regression which disabled ps on ath9k on all cards Luis R. Rodriguez
2010-08-28 7:13 ` [RFC 2/3] mac80211: allow drivers to specify sw scan wait constraints Luis R. Rodriguez
2010-08-29 19:55 ` Luis R. Rodriguez
2010-08-30 7:29 ` Luis R. Rodriguez
2010-08-30 14:17 ` John W. Linville [this message]
2010-08-30 15:16 ` Luis R. Rodriguez
2010-08-28 7:13 ` [RFC 3/3] ath9k: implement the " Luis R. Rodriguez
2010-08-30 14:19 ` [RFC 0/3] mac80211: new API for handling broadcast / multicast on sw scan Johannes Berg
2010-08-30 15:37 ` Luis R. Rodriguez
2010-08-30 15:47 ` Johannes Berg
2010-08-30 18:00 ` Luis R. Rodriguez
2010-08-30 18:10 ` Johannes Berg
2010-08-30 19:20 ` Luis R. Rodriguez
2010-08-31 14:36 ` Johannes Berg
2010-08-31 15:30 ` Luis R. Rodriguez
2010-08-31 15:54 ` Johannes Berg
2010-08-31 16:59 ` Luis R. Rodriguez
2010-08-31 18:12 ` Johannes Berg
2010-09-01 2:14 ` Luis R. Rodriguez
2010-09-01 10:41 ` Johannes Berg
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=20100830141705.GC30864@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=amod.bodas@atheros.com \
--cc=linux-wireless@vger.kernel.org \
--cc=lrodriguez@atheros.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.