linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2/2] mac80211:  Don't go off-channel in work_work unless needed.
Date: Wed, 29 Sep 2010 11:11:33 -0700	[thread overview]
Message-ID: <4CA38155.90306@candelatech.com> (raw)
In-Reply-To: <1285783598.3756.31.camel@jlt3.sipsolutions.net>

On 09/29/2010 11:06 AM, Johannes Berg wrote:
> On Wed, 2010-09-29 at 11:03 -0700, greearb@candelatech.com wrote:
>> From: Ben Greear<greearb@candelatech.com>
>>
>> If the work to be done is on the current active channel, then
>> do not call the offchannel and return-to-channel logic.
>>
>> Signed-off-by: Ben Greear<greearb@candelatech.com>
>> ---
>> :100644 100644 ae344d1... 1f2673d... M	net/mac80211/work.c
>>   net/mac80211/work.c |   28 ++++++++++++++++++++--------
>>   1 files changed, 20 insertions(+), 8 deletions(-)
>>
>> diff --git a/net/mac80211/work.c b/net/mac80211/work.c
>> index ae344d1..1f2673d 100644
>> --- a/net/mac80211/work.c
>> +++ b/net/mac80211/work.c
>> @@ -873,6 +873,7 @@ static void ieee80211_work_work(struct work_struct *work)
>>   	LIST_HEAD(free_work);
>>   	enum work_action rma;
>>   	bool remain_off_channel = false;
>> +	bool went_off_channel = false;
>
> Heh, this is not going to work ... the return may be done in a separate
> invocation of the function. Would have been nice to test this ;-)

What is a good way to test this?  I brought up several STA interfaces
and an AP and ran traffic..but I guess I need to do something different?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


  reply	other threads:[~2010-09-29 18:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-29 18:03 [PATCH 1/2] mac80211: Make no-probe-response kernel messages more useful greearb
2010-09-29 18:03 ` [PATCH 2/2] mac80211: Don't go off-channel in work_work unless needed greearb
2010-09-29 18:06   ` Johannes Berg
2010-09-29 18:11     ` Ben Greear [this message]
2010-09-29 18:14       ` Johannes Berg
2010-09-29 23:03 ` [PATCH 1/2] mac80211: Make no-probe-response kernel messages more useful Julian Calaby
2010-09-29 23:19   ` Joe Perches
2010-09-30  7:49 ` 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=4CA38155.90306@candelatech.com \
    --to=greearb@candelatech.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).